-
Notifications
You must be signed in to change notification settings - Fork 864
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
Add expensive scenario for asset exchange #7952
base: master
Are you sure you want to change the base?
Conversation
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
/cmd prdoc --audience runtime_dev --bump patch |
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Branislav Kontur <[email protected]>
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
let mut receive_assets = XcmAssets::new(); | ||
|
||
// Setup assets and pools | ||
for i in 0..MAX_ITEMS_IN_ASSETS { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to 1 for 1
Co-authored-by: Francisco Aguirre <[email protected]>
Co-authored-by: Francisco Aguirre <[email protected]>
…-worst-case # Conflicts: # cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
/cmd bench --pallet pallet_xcm_benchmarks::fungible --runtime asset-hub-westend |
Command "bench --pallet pallet_xcm_benchmarks::fungible --runtime asset-hub-westend" has started 🚀 See logs here |
…t_xcm_benchmarks::fungible --runtime asset-hub-westend'
Command "bench --pallet pallet_xcm_benchmarks::fungible --runtime asset-hub-westend" has finished ✅ See logs here Subweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
/cmd bench --pallet pallet_xcm_benchmarks::generic --runtime asset-hub-westend |
Command "bench --pallet pallet_xcm_benchmarks::generic --runtime asset-hub-westend" has started 🚀 See logs here |
…t_xcm_benchmarks::generic --runtime asset-hub-westend'
Command "bench --pallet pallet_xcm_benchmarks::generic --runtime asset-hub-westend" has finished ✅ See logs here Subweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
All GitHub workflows were cancelled due to failure one of the required jobs. |
This PR introduces an implementation for
worst_case_asset_exchange()
in theAssetHubWestend
benchmarking setup, partially addressing #7943.Key Changes
worst_case_asset_exchange()
to model a maximum workload scenario.Integration Notes
worst_case_asset_exchange()
was previously unimplemented.AssetHubWestend
.Review Notes