Use non-native token to benchmark xcm on asset hub (#7893)
Asset Hub was using the native token for benchmarking xcm instructions.
This is not the best since it's cheaper than using something in
`pallet-assets` for example.
Had to remove some restrictive checks from `pallet-xcm-benchmarks`.
I'll bring back the checks with a better framework in the future that
allows for handling multiple assets (`fungibles::*` traits).
---------
Co-authored-by:
cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Showing
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs 40 additions, 4 deletions...us/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_xcm.rs 51 additions, 47 deletions...untimes/assets/asset-hub-rococo/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs 82 additions, 48 deletions...-rococo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 40 additions, 4 deletions...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_xcm.rs 51 additions, 47 deletions...ntimes/assets/asset-hub-westend/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs 82 additions, 48 deletions...westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 68 additions, 68 deletions...-westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- cumulus/parachains/runtimes/assets/test-utils/src/test_cases.rs 1 addition, 1 deletion...s/parachains/runtimes/assets/test-utils/src/test_cases.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/fungible/benchmarking.rs 1 addition, 28 deletions...ot/xcm/pallet-xcm-benchmarks/src/fungible/benchmarking.rs
- prdoc/pr_7893.prdoc 15 additions, 0 deletionsprdoc/pr_7893.prdoc
Please register or sign in to comment