Update benchmark's successful origin api (#2122)

* Update benchmark's successful origin api

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Muharem Ismailov
2023-01-30 00:34:59 +01:00
committed by GitHub
parent 51f1833cce
commit 0494cefc72
2 changed files with 75 additions and 70 deletions
+66 -66
View File
@@ -4362,7 +4362,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
[[package]] [[package]]
name = "kusama-runtime" name = "kusama-runtime"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -4459,7 +4459,7 @@ dependencies = [
[[package]] [[package]]
name = "kusama-runtime-constants" name = "kusama-runtime-constants"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"polkadot-primitives", "polkadot-primitives",
@@ -6919,7 +6919,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-xcm" name = "pallet-xcm"
version = "0.9.37" 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 = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@@ -6939,7 +6939,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-xcm-benchmarks" name = "pallet-xcm-benchmarks"
version = "0.9.37" 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 = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@@ -7475,7 +7475,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-approval-distribution" name = "polkadot-approval-distribution"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"polkadot-node-metrics", "polkadot-node-metrics",
@@ -7490,7 +7490,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-availability-bitfield-distribution" name = "polkadot-availability-bitfield-distribution"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"polkadot-node-network-protocol", "polkadot-node-network-protocol",
@@ -7504,7 +7504,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-availability-distribution" name = "polkadot-availability-distribution"
version = "0.9.37" 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 = [ dependencies = [
"derive_more", "derive_more",
"fatality", "fatality",
@@ -7527,7 +7527,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-availability-recovery" name = "polkadot-availability-recovery"
version = "0.9.37" 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 = [ dependencies = [
"fatality", "fatality",
"futures", "futures",
@@ -7548,7 +7548,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-cli" name = "polkadot-cli"
version = "0.9.37" 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 = [ dependencies = [
"clap 4.1.4", "clap 4.1.4",
"frame-benchmarking-cli", "frame-benchmarking-cli",
@@ -7576,7 +7576,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-client" name = "polkadot-client"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"frame-benchmarking", "frame-benchmarking",
@@ -7619,7 +7619,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-collator-protocol" name = "polkadot-collator-protocol"
version = "0.9.37" 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 = [ dependencies = [
"always-assert", "always-assert",
"bitvec", "bitvec",
@@ -7641,7 +7641,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-core-primitives" name = "polkadot-core-primitives"
version = "0.9.37" 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 = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
@@ -7653,7 +7653,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-dispute-distribution" name = "polkadot-dispute-distribution"
version = "0.9.37" 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 = [ dependencies = [
"derive_more", "derive_more",
"fatality", "fatality",
@@ -7678,7 +7678,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-erasure-coding" name = "polkadot-erasure-coding"
version = "0.9.37" 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 = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-node-primitives", "polkadot-node-primitives",
@@ -7692,7 +7692,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-gossip-support" name = "polkadot-gossip-support"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"futures-timer", "futures-timer",
@@ -7712,7 +7712,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-network-bridge" name = "polkadot-network-bridge"
version = "0.9.37" 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 = [ dependencies = [
"always-assert", "always-assert",
"async-trait", "async-trait",
@@ -7736,7 +7736,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-collation-generation" name = "polkadot-node-collation-generation"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"parity-scale-codec", "parity-scale-codec",
@@ -7754,7 +7754,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-approval-voting" name = "polkadot-node-core-approval-voting"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"derive_more", "derive_more",
@@ -7783,7 +7783,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-av-store" name = "polkadot-node-core-av-store"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"futures", "futures",
@@ -7803,7 +7803,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-backing" name = "polkadot-node-core-backing"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"fatality", "fatality",
@@ -7822,7 +7822,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-bitfield-signing" name = "polkadot-node-core-bitfield-signing"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"polkadot-node-subsystem", "polkadot-node-subsystem",
@@ -7837,7 +7837,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-candidate-validation" name = "polkadot-node-core-candidate-validation"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -7856,7 +7856,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-chain-api" name = "polkadot-node-core-chain-api"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"polkadot-node-metrics", "polkadot-node-metrics",
@@ -7871,7 +7871,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-chain-selection" name = "polkadot-node-core-chain-selection"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"futures-timer", "futures-timer",
@@ -7888,7 +7888,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-dispute-coordinator" name = "polkadot-node-core-dispute-coordinator"
version = "0.9.37" 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 = [ dependencies = [
"fatality", "fatality",
"futures", "futures",
@@ -7907,7 +7907,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-parachains-inherent" name = "polkadot-node-core-parachains-inherent"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -7924,7 +7924,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-provisioner" name = "polkadot-node-core-provisioner"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"fatality", "fatality",
@@ -7942,7 +7942,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-pvf" name = "polkadot-node-core-pvf"
version = "0.9.37" 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 = [ dependencies = [
"always-assert", "always-assert",
"assert_matches", "assert_matches",
@@ -7974,7 +7974,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-pvf-checker" name = "polkadot-node-core-pvf-checker"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"polkadot-node-primitives", "polkadot-node-primitives",
@@ -7990,7 +7990,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-core-runtime-api" name = "polkadot-node-core-runtime-api"
version = "0.9.37" 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 = [ dependencies = [
"futures", "futures",
"lru 0.9.0", "lru 0.9.0",
@@ -8005,7 +8005,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-jaeger" name = "polkadot-node-jaeger"
version = "0.9.37" 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 = [ dependencies = [
"lazy_static", "lazy_static",
"log", "log",
@@ -8023,7 +8023,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-metrics" name = "polkadot-node-metrics"
version = "0.9.37" 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 = [ dependencies = [
"bs58", "bs58",
"futures", "futures",
@@ -8042,7 +8042,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-network-protocol" name = "polkadot-node-network-protocol"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"derive_more", "derive_more",
@@ -8065,7 +8065,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-primitives" name = "polkadot-node-primitives"
version = "0.9.37" 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 = [ dependencies = [
"bounded-vec", "bounded-vec",
"futures", "futures",
@@ -8087,7 +8087,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-subsystem" name = "polkadot-node-subsystem"
version = "0.9.37" 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 = [ dependencies = [
"polkadot-node-jaeger", "polkadot-node-jaeger",
"polkadot-node-subsystem-types", "polkadot-node-subsystem-types",
@@ -8097,7 +8097,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-subsystem-test-helpers" name = "polkadot-node-subsystem-test-helpers"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -8115,7 +8115,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-subsystem-types" name = "polkadot-node-subsystem-types"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"derive_more", "derive_more",
@@ -8138,7 +8138,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-node-subsystem-util" name = "polkadot-node-subsystem-util"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"derive_more", "derive_more",
@@ -8171,7 +8171,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-overseer" name = "polkadot-overseer"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@@ -8194,7 +8194,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-parachain" name = "polkadot-parachain"
version = "0.9.37" 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 = [ dependencies = [
"derive_more", "derive_more",
"frame-support", "frame-support",
@@ -8291,7 +8291,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-performance-test" name = "polkadot-performance-test"
version = "0.9.37" 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 = [ dependencies = [
"env_logger 0.9.0", "env_logger 0.9.0",
"kusama-runtime", "kusama-runtime",
@@ -8306,7 +8306,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-primitives" name = "polkadot-primitives"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"hex-literal", "hex-literal",
@@ -8332,7 +8332,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-rpc" name = "polkadot-rpc"
version = "0.9.37" 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 = [ dependencies = [
"beefy-gadget", "beefy-gadget",
"beefy-gadget-rpc", "beefy-gadget-rpc",
@@ -8364,7 +8364,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime" name = "polkadot-runtime"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -8453,7 +8453,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime-common" name = "polkadot-runtime-common"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -8502,7 +8502,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime-constants" name = "polkadot-runtime-constants"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"polkadot-primitives", "polkadot-primitives",
@@ -8516,7 +8516,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime-metrics" name = "polkadot-runtime-metrics"
version = "0.9.37" 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 = [ dependencies = [
"bs58", "bs58",
"parity-scale-codec", "parity-scale-codec",
@@ -8528,7 +8528,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime-parachains" name = "polkadot-runtime-parachains"
version = "0.9.37" 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 = [ dependencies = [
"bitflags", "bitflags",
"bitvec", "bitvec",
@@ -8571,7 +8571,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-service" name = "polkadot-service"
version = "0.9.37" 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 = [ dependencies = [
"async-trait", "async-trait",
"beefy-gadget", "beefy-gadget",
@@ -8680,7 +8680,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-statement-distribution" name = "polkadot-statement-distribution"
version = "0.9.37" 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 = [ dependencies = [
"arrayvec 0.5.2", "arrayvec 0.5.2",
"fatality", "fatality",
@@ -8701,7 +8701,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-statement-table" name = "polkadot-statement-table"
version = "0.9.37" 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 = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-primitives", "polkadot-primitives",
@@ -8711,7 +8711,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-client" name = "polkadot-test-client"
version = "0.9.37" 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 = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-node-subsystem", "polkadot-node-subsystem",
@@ -8736,7 +8736,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-runtime" name = "polkadot-test-runtime"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"frame-election-provider-support", "frame-election-provider-support",
@@ -8797,7 +8797,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-service" name = "polkadot-test-service"
version = "0.9.37" 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 = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-system", "frame-system",
@@ -9522,7 +9522,7 @@ dependencies = [
[[package]] [[package]]
name = "rococo-runtime" name = "rococo-runtime"
version = "0.9.37" 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 = [ dependencies = [
"beefy-merkle-tree", "beefy-merkle-tree",
"frame-benchmarking", "frame-benchmarking",
@@ -9608,7 +9608,7 @@ dependencies = [
[[package]] [[package]]
name = "rococo-runtime-constants" name = "rococo-runtime-constants"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"polkadot-primitives", "polkadot-primitives",
@@ -11335,7 +11335,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec"
[[package]] [[package]]
name = "slot-range-helper" name = "slot-range-helper"
version = "0.9.37" 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 = [ dependencies = [
"enumn", "enumn",
"parity-scale-codec", "parity-scale-codec",
@@ -12663,7 +12663,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16"
[[package]] [[package]]
name = "test-runtime-constants" name = "test-runtime-constants"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"polkadot-primitives", "polkadot-primitives",
@@ -13054,7 +13054,7 @@ dependencies = [
[[package]] [[package]]
name = "tracing-gum" name = "tracing-gum"
version = "0.9.37" 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 = [ dependencies = [
"polkadot-node-jaeger", "polkadot-node-jaeger",
"polkadot-primitives", "polkadot-primitives",
@@ -13065,7 +13065,7 @@ dependencies = [
[[package]] [[package]]
name = "tracing-gum-proc-macro" name = "tracing-gum-proc-macro"
version = "0.9.37" 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 = [ dependencies = [
"expander 0.0.6", "expander 0.0.6",
"proc-macro-crate", "proc-macro-crate",
@@ -14105,7 +14105,7 @@ dependencies = [
[[package]] [[package]]
name = "westend-runtime" name = "westend-runtime"
version = "0.9.37" 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 = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -14196,7 +14196,7 @@ dependencies = [
[[package]] [[package]]
name = "westend-runtime-constants" name = "westend-runtime-constants"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"polkadot-primitives", "polkadot-primitives",
@@ -14587,7 +14587,7 @@ dependencies = [
[[package]] [[package]]
name = "xcm" name = "xcm"
version = "0.9.37" 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 = [ dependencies = [
"derivative", "derivative",
"impl-trait-for-tuples", "impl-trait-for-tuples",
@@ -14603,7 +14603,7 @@ dependencies = [
[[package]] [[package]]
name = "xcm-builder" name = "xcm-builder"
version = "0.9.37" 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 = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
@@ -14624,7 +14624,7 @@ dependencies = [
[[package]] [[package]]
name = "xcm-executor" name = "xcm-executor"
version = "0.9.37" 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 = [ dependencies = [
"environmental", "environmental",
"frame-benchmarking", "frame-benchmarking",
@@ -14644,7 +14644,7 @@ dependencies = [
[[package]] [[package]]
name = "xcm-procedural" name = "xcm-procedural"
version = "0.9.37" 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 = [ dependencies = [
"Inflector", "Inflector",
"proc-macro2", "proc-macro2",
@@ -19,7 +19,9 @@ use super::*;
#[allow(unused)] #[allow(unused)]
use crate::Pallet as CollatorSelection; 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::{ use frame_support::{
assert_ok, assert_ok,
codec::Decode, codec::Decode,
@@ -110,7 +112,8 @@ benchmarks! {
set_invulnerables { set_invulnerables {
let b in 1 .. T::MaxInvulnerables::get(); let b in 1 .. T::MaxInvulnerables::get();
let new_invulnerables = register_validators::<T>(b); let new_invulnerables = register_validators::<T>(b);
let origin = T::UpdateOrigin::successful_origin(); let origin =
T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?;
}: { }: {
assert_ok!( assert_ok!(
<CollatorSelection<T>>::set_invulnerables(origin, new_invulnerables.clone()) <CollatorSelection<T>>::set_invulnerables(origin, new_invulnerables.clone())
@@ -122,7 +125,8 @@ benchmarks! {
set_desired_candidates { set_desired_candidates {
let max: u32 = 999; let max: u32 = 999;
let origin = T::UpdateOrigin::successful_origin(); let origin =
T::UpdateOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?;
}: { }: {
assert_ok!( assert_ok!(
<CollatorSelection<T>>::set_desired_candidates(origin, max.clone()) <CollatorSelection<T>>::set_desired_candidates(origin, max.clone())
@@ -134,7 +138,8 @@ benchmarks! {
set_candidacy_bond { set_candidacy_bond {
let bond_amount: BalanceOf<T> = T::Currency::minimum_balance() * 10u32.into(); let bond_amount: BalanceOf<T> = 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!( assert_ok!(
<CollatorSelection<T>>::set_candidacy_bond(origin, bond_amount.clone()) <CollatorSelection<T>>::set_candidacy_bond(origin, bond_amount.clone())