Change Fixed to WeightInfoBounds for Polkadot (#7077)
* Add polkadot XCM benchmarks * Add temp * ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::generic * Add weights to XCM on Polkadot * Make CI fail on old files Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update template Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add reserve_asset_deposited benchmark * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic * Update weights Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Change initiate_reserve_deposit in runtime weights * Update weights Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove trusted reserves from runtimes * Fix pallet-xcm-benchmarks mock * Fix test * Change pallet xcm weigher in kusama * Fix * Remove merge conflict artifact * Remove initiate_reserve_withdraw from generic benchmarks * Add missing implementation to XCM benchmark * Fix failing karura test * Remove dbg! Co-authored-by:
Keith Yeung <kungfukeith11@gmail.com> * Fix fmt * Revert "Fix fmt" This reverts commit 676f2d8db07d7427750c79f95494d4988d06fda5. * Fix fmt * Remove duplicated template code * Add back part of the template * ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible * Don't skip reserve asset deposited benchmark * Remove call to non-generated benchmark yet * Underscore unused parameter * Skip not supported benchmarks and hardcode value * Remove ReserveAssetDeposited benchmark * ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible * Add back ReserveAssetDeposited * ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible * Use default benchmark for ReserveAssetDeposited * Add missing parameter * Revert reserve asset deposited benchmark * ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm kusama pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm westend pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible * Add 'real' benchmarks * Add TrustedReserve to actual XcmConfig * Add TrustedReserve to actual XcmConfig (fix) * Whitelist from benchmarking XCM storage keys read each block (#6871) * Whitelist from benchmarking XCM storage keys read each block * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm * Remove XcmPallet SupportedVersion from the benchmark whitelist * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm * WIP * Add necessary traits, remove unnecessary whitelisted keys * Fix tests * Remove unused file * Remove unused import --------- Co-authored-by: command-bot <> * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::fungible * Fix spellchecker issues * Remove unused migration code --------- Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <> Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Keith Yeung <kungfukeith11@gmail.com>
parent
c63b557e
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/node/collation-generation/src/lib.rs 1 addition, 1 deletionpolkadot/node/collation-generation/src/lib.rs
- polkadot/node/core/dispute-coordinator/src/initialized.rs 1 addition, 1 deletionpolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/metrics.rs 2 additions, 2 deletionspolkadot/node/core/dispute-coordinator/src/metrics.rs
- polkadot/node/core/dispute-coordinator/src/participation/queues/tests.rs 3 additions, 3 deletions...ore/dispute-coordinator/src/participation/queues/tests.rs
- polkadot/node/core/dispute-coordinator/src/scraping/mod.rs 4 additions, 4 deletionspolkadot/node/core/dispute-coordinator/src/scraping/mod.rs
- polkadot/node/core/pvf/common/src/worker/mod.rs 1 addition, 1 deletionpolkadot/node/core/pvf/common/src/worker/mod.rs
- polkadot/node/core/pvf/common/src/worker/security.rs 1 addition, 1 deletionpolkadot/node/core/pvf/common/src/worker/security.rs
- polkadot/node/network/approval-distribution/src/lib.rs 1 addition, 1 deletionpolkadot/node/network/approval-distribution/src/lib.rs
- polkadot/node/service/src/fake_runtime_api.rs 3 additions, 3 deletionspolkadot/node/service/src/fake_runtime_api.rs
- polkadot/node/subsystem-util/src/nesting_sender.rs 1 addition, 1 deletionpolkadot/node/subsystem-util/src/nesting_sender.rs
- polkadot/node/subsystem-util/src/reputation.rs 1 addition, 1 deletionpolkadot/node/subsystem-util/src/reputation.rs
- polkadot/runtime/kusama/src/lib.rs 6 additions, 18 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/kusama/src/tests.rs 30 additions, 1 deletionpolkadot/runtime/kusama/src/tests.rs
- polkadot/runtime/kusama/src/weights/pallet_xcm.rs 5 additions, 25 deletionspolkadot/runtime/kusama/src/weights/pallet_xcm.rs
- polkadot/runtime/kusama/src/weights/pallet_xcm_benchmarks_generic.rs 0 additions, 393 deletions...ntime/kusama/src/weights/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/kusama/src/weights/xcm/mod.rs 2 additions, 1 deletionpolkadot/runtime/kusama/src/weights/xcm/mod.rs
- polkadot/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs 123 additions, 56 deletions.../kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
- polkadot/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 1 addition, 24 deletions...e/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/kusama/src/xcm_config.rs 8 additions, 4 deletionspolkadot/runtime/kusama/src/xcm_config.rs
Please register or sign in to comment