Add missing XCM benchmarks for ReserveAssetDeposited (#4923)
* Add missing XCM benchmarks for ReserveAssetDeposited
* Check whether checking account is zero before minting
* Try and prevent overflow
* Remove minting currencies into the checking account
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* Use a smaller divisor
* Mint a smaller amount still
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* Remove logic for minting assets to the checking account
* Configure a smaller amount of reserve asset used for testing
* Try unwrapping the result of an execution
* Set the origin properly
* Revert "Set the origin properly"
This reverts commit c748a05733173fb7072878c19b10a583675a5f54.
* Update license year
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* Update license year
Co-authored-by:
Parity Bot <admin@parity.io>
parent
dc25b326
Showing
- polkadot/file_header.txt 1 addition, 1 deletionpolkadot/file_header.txt
- polkadot/runtime/westend/src/lib.rs 5 additions, 0 deletionspolkadot/runtime/westend/src/lib.rs
- polkadot/runtime/westend/src/weights/xcm/mod.rs 2 additions, 3 deletionspolkadot/runtime/westend/src/weights/xcm/mod.rs
- polkadot/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs 15 additions, 12 deletions...westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/fungible/benchmarking.rs 19 additions, 0 deletions...ot/xcm/pallet-xcm-benchmarks/src/fungible/benchmarking.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs 9 additions, 1 deletionpolkadot/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs 4 additions, 0 deletionspolkadot/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs
Please register or sign in to comment