Add XCM Benchmarks to Kusama (#4442)
* add xcm benchmarks to kusama * Create temp * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-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/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs * add weights to kusama runtime * Fixes * Fixes * Fixes * Fixes * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-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/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs * use new benchmark * Fix license year * update substrate deps * Add Configuration::ActiveConfig storage key to the whitelist * Update Cargo.lock Co-authored-by:Parity Bot <admin@parity.io> Co-authored-by:
Keith Yeung <kungfukeith11@gmail.com>
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/runtime/kusama/Cargo.toml 2 additions, 0 deletionspolkadot/runtime/kusama/Cargo.toml
- polkadot/runtime/kusama/src/lib.rs 72 additions, 2 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/kusama/src/weights/mod.rs 1 addition, 0 deletionspolkadot/runtime/kusama/src/weights/mod.rs
- polkadot/runtime/kusama/src/weights/xcm/mod.rs 195 additions, 0 deletionspolkadot/runtime/kusama/src/weights/xcm/mod.rs
- polkadot/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs 112 additions, 0 deletions.../kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
- polkadot/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 136 additions, 0 deletions...e/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/kusama/src/xcm_config.rs 5 additions, 3 deletionspolkadot/runtime/kusama/src/xcm_config.rs
Please register or sign in to comment