-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add expensive scenario for asset exchange #7952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
5ac5af0
Add expensive scenario for asset exchange
raymondkfcheung 5d2049d
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] c6ff6ec
Use MAX_ITEMS_IN_ASSETS
raymondkfcheung f53a889
Update comment
raymondkfcheung bb505c1
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 5dfe33a
Add TODO
raymondkfcheung 6df104a
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 6a8d95b
Create pool
raymondkfcheung 4b205ba
Update comment
raymondkfcheung b5c98a6
Update code style
raymondkfcheung 1904c4e
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
raymondkfcheung 2e6338b
Update lib.rs
raymondkfcheung 59cc394
Update lib.rs
raymondkfcheung 0e3c3ff
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
raymondkfcheung 6ff1374
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 827725c
Remove comments
raymondkfcheung b7c2992
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 1461d11
Add placeholder for weight
raymondkfcheung 6562e6b
Merge remote-tracking branch 'origin/ray-fix-worst-case' into ray-fix…
raymondkfcheung d35cc0a
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 9780a89
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
raymondkfcheung 5486afd
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
raymondkfcheung 1f0b7ad
Update 1:1
raymondkfcheung 39a1a76
Merge remote-tracking branch 'origin/ray-fix-worst-case' into ray-fix…
raymondkfcheung 3778d76
Update format
raymondkfcheung f0a235e
Remove clone
raymondkfcheung 7651c63
Revert change
raymondkfcheung 7603169
Update lib.rs
raymondkfcheung 0e8612f
Update lib.rs
raymondkfcheung 1a228a6
Add debug logs
raymondkfcheung d73c4d4
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 4cc5a61
Merge remote-tracking branch 'origin/ray-fix-worst-case' into ray-fix…
raymondkfcheung b9ed27f
Try to fix
raymondkfcheung b9d03b9
Try to fix #2
raymondkfcheung 7ccf2a7
Try to fix #3
raymondkfcheung 0918335
Try to fix #4
raymondkfcheung 816318f
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 9f014d5
Nits
bkontur 259eb64
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 3ab0af6
Use assert
raymondkfcheung 7d8b94c
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung ed6e2b9
Fix fmt
raymondkfcheung 0973019
Add more logs
raymondkfcheung b617e1a
Make it pass
raymondkfcheung 1062900
Make it pass v2
raymondkfcheung 5da20d2
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 27755de
Add tracing
raymondkfcheung e31db53
Remove tracing
raymondkfcheung 04a0dfe
Comment exchange_asset
raymondkfcheung d938368
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 8e0bc75
Comment assert_eq only
raymondkfcheung d00fcf5
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung e589021
Uncomment
raymondkfcheung 409e5e8
Fix ratio
raymondkfcheung 77bb4fc
Uncomment assert_eq
raymondkfcheung 3164a77
Use contains
raymondkfcheung 4ba3627
Remove logs
raymondkfcheung 6c7f1c3
Use BenchmarkError
raymondkfcheung ba6d264
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] e13dca2
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung e891567
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 04cb06a
Use fixed weight
raymondkfcheung bca15f5
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 89a33bc
Add test placeholder
raymondkfcheung 1d1c384
Revert "Use fixed weight"
raymondkfcheung afd9fc1
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] bbbc8f1
Use max(give, receive)
raymondkfcheung 17aa6d6
Remove unused import
raymondkfcheung 22f73ce
Simplify the code
raymondkfcheung 9eba60e
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung f60ce0b
Use BenchmarkError
raymondkfcheung 6b846d1
Remove comments
raymondkfcheung 791a851
Add tests
raymondkfcheung ed7607b
Fix tests
raymondkfcheung c8173e4
Fix tests v2
raymondkfcheung 5b50223
Use assert_ok
raymondkfcheung dfd0975
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 443c2e0
Update PRDoc
raymondkfcheung aec4409
Fix test
raymondkfcheung dbaf905
Fix test
raymondkfcheung 7da94cd
Fix test
raymondkfcheung 80c410d
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 11c91b5
Fix fmt
raymondkfcheung 7c0e1be
Fix test
raymondkfcheung c13e62b
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung ab2bc50
Fix test
raymondkfcheung aac1a42
Fix test
raymondkfcheung 861c026
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 318c692
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung 58b3365
Merge branch 'master' into ray-fix-worst-case
raymondkfcheung File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.