From 5bfa1dd85ebf44426490a3ca43bf6d2e73d53c19 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Mon, 30 Jan 2023 00:34:59 +0100 Subject: [PATCH] Update benchmark's successful origin api (#2122) * Update benchmark's successful origin api * update lockfile for {"substrate", "polkadot"} --------- Co-authored-by: parity-processbot <> --- Cargo.lock | 132 +++++++++--------- .../collator-selection/src/benchmarking.rs | 13 +- 2 files changed, 75 insertions(+), 70 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 95f1c280fde..aaefb7f460c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4362,7 +4362,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "frame-benchmarking", @@ -4459,7 +4459,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "polkadot-primitives", @@ -6919,7 +6919,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-benchmarking", "frame-support", @@ -6939,7 +6939,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-benchmarking", "frame-support", @@ -7475,7 +7475,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "polkadot-node-metrics", @@ -7490,7 +7490,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "polkadot-node-network-protocol", @@ -7504,7 +7504,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "derive_more", "fatality", @@ -7527,7 +7527,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "fatality", "futures", @@ -7548,7 +7548,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "clap 4.1.4", "frame-benchmarking-cli", @@ -7576,7 +7576,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "frame-benchmarking", @@ -7619,7 +7619,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "always-assert", "bitvec", @@ -7641,7 +7641,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "parity-scale-codec", "scale-info", @@ -7653,7 +7653,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "derive_more", "fatality", @@ -7678,7 +7678,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -7692,7 +7692,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "futures-timer", @@ -7712,7 +7712,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "always-assert", "async-trait", @@ -7736,7 +7736,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "parity-scale-codec", @@ -7754,7 +7754,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "derive_more", @@ -7783,7 +7783,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "futures", @@ -7803,7 +7803,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "fatality", @@ -7822,7 +7822,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "polkadot-node-subsystem", @@ -7837,7 +7837,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "futures", @@ -7856,7 +7856,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "polkadot-node-metrics", @@ -7871,7 +7871,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "futures-timer", @@ -7888,7 +7888,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "fatality", "futures", @@ -7907,7 +7907,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "futures", @@ -7924,7 +7924,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "fatality", @@ -7942,7 +7942,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "always-assert", "assert_matches", @@ -7974,7 +7974,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "polkadot-node-primitives", @@ -7990,7 +7990,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "futures", "lru 0.9.0", @@ -8005,7 +8005,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "lazy_static", "log", @@ -8023,7 +8023,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bs58", "futures", @@ -8042,7 +8042,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "derive_more", @@ -8065,7 +8065,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bounded-vec", "futures", @@ -8087,7 +8087,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8097,7 +8097,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "futures", @@ -8115,7 +8115,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "derive_more", @@ -8138,7 +8138,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "derive_more", @@ -8171,7 +8171,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "futures", @@ -8194,7 +8194,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "derive_more", "frame-support", @@ -8291,7 +8291,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -8306,7 +8306,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "hex-literal", @@ -8332,7 +8332,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -8364,7 +8364,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "frame-benchmarking", @@ -8453,7 +8453,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "frame-benchmarking", @@ -8502,7 +8502,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "polkadot-primitives", @@ -8516,7 +8516,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bs58", "parity-scale-codec", @@ -8528,7 +8528,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitflags", "bitvec", @@ -8571,7 +8571,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "async-trait", "beefy-gadget", @@ -8680,7 +8680,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -8701,7 +8701,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -8711,7 +8711,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -8736,7 +8736,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "frame-election-provider-support", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-benchmarking", "frame-system", @@ -9522,7 +9522,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "beefy-merkle-tree", "frame-benchmarking", @@ -9608,7 +9608,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "polkadot-primitives", @@ -11335,7 +11335,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "enumn", "parity-scale-codec", @@ -12663,7 +12663,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-runtime-constants" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "polkadot-primitives", @@ -13054,7 +13054,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -13065,7 +13065,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -14105,7 +14105,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "bitvec", "frame-benchmarking", @@ -14196,7 +14196,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "polkadot-primitives", @@ -14587,7 +14587,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -14603,7 +14603,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "frame-support", "frame-system", @@ -14624,7 +14624,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "environmental", "frame-benchmarking", @@ -14644,7 +14644,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=master#6cde7fa5cc5a1dafc3d17692fca2f36fd6ddeace" +source = "git+https://github.com/paritytech/polkadot?branch=master#f0e1ed0bab6d5cb542b84fa0ad464609198dd255" dependencies = [ "Inflector", "proc-macro2", diff --git a/pallets/collator-selection/src/benchmarking.rs b/pallets/collator-selection/src/benchmarking.rs index 2f4043092ae..8a222511137 100644 --- a/pallets/collator-selection/src/benchmarking.rs +++ b/pallets/collator-selection/src/benchmarking.rs @@ -19,7 +19,9 @@ use super::*; #[allow(unused)] use crate::Pallet as CollatorSelection; -use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, whitelisted_caller}; +use frame_benchmarking::{ + account, benchmarks, impl_benchmark_test_suite, whitelisted_caller, BenchmarkError, +}; use frame_support::{ assert_ok, codec::Decode, @@ -110,7 +112,8 @@ benchmarks! { set_invulnerables { let b in 1 .. T::MaxInvulnerables::get(); let new_invulnerables = register_validators::(b); - let origin = T::UpdateOrigin::successful_origin(); + let origin = + T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { assert_ok!( >::set_invulnerables(origin, new_invulnerables.clone()) @@ -122,7 +125,8 @@ benchmarks! { set_desired_candidates { let max: u32 = 999; - let origin = T::UpdateOrigin::successful_origin(); + let origin = + T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { assert_ok!( >::set_desired_candidates(origin, max.clone()) @@ -134,7 +138,8 @@ benchmarks! { set_candidacy_bond { let bond_amount: BalanceOf = T::Currency::minimum_balance() * 10u32.into(); - let origin = T::UpdateOrigin::successful_origin(); + let origin = + T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { assert_ok!( >::set_candidacy_bond(origin, bond_amount.clone())