diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index c3d670d2bc..8f36d92a0b 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -450,7 +450,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "beefy-primitives", "fnv", @@ -484,7 +484,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -507,12 +507,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -2116,7 +2116,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", ] @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -2156,7 +2156,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "Inflector", "chrono", @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2212,7 +2212,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2228,7 +2228,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "bitflags", "frame-metadata", @@ -2285,7 +2285,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro2", "quote", @@ -2319,7 +2319,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2342,7 +2342,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -2353,7 +2353,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "log", @@ -2370,7 +2370,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -2385,7 +2385,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -2394,7 +2394,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "sp-api", @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "chrono", "frame-election-provider-support", @@ -3473,6 +3473,7 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-gilt", "pallet-grandpa", @@ -4990,7 +4991,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5004,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5020,7 +5021,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5035,7 +5036,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5059,7 +5060,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5079,7 +5080,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-election-provider-support", "frame-support", @@ -5099,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5114,7 +5115,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "beefy-primitives", "frame-support", @@ -5130,7 +5131,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5154,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5237,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5255,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5288,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5308,10 +5309,23 @@ dependencies = [ "strum 0.23.0", ] +[[package]] +name = "pallet-election-provider-support-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-system", + "parity-scale-codec", + "sp-npos-elections", + "sp-runtime", +] + [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5329,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5344,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5367,7 +5381,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5383,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5403,7 +5417,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5420,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5437,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5455,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5472,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5487,7 +5501,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5501,7 +5515,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5518,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5541,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5557,7 +5571,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5572,7 +5586,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5586,7 +5600,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5602,7 +5616,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5623,7 +5637,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5639,7 +5653,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5653,7 +5667,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5676,7 +5690,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -5687,7 +5701,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "sp-arithmetic", @@ -5696,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5710,7 +5724,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5728,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5747,7 +5761,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-support", "frame-system", @@ -5764,7 +5778,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5781,7 +5795,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5792,7 +5806,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5809,7 +5823,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5825,7 +5839,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -7233,6 +7247,7 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", @@ -8304,7 +8319,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8653,7 +8668,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "sp-core", @@ -8664,7 +8679,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -8691,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8714,7 +8729,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8730,7 +8745,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8747,7 +8762,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8758,7 +8773,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "chrono", "clap", @@ -8796,7 +8811,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "fnv", "futures 0.3.21", @@ -8824,7 +8839,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "hash-db", "kvdb", @@ -8849,7 +8864,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -8873,7 +8888,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "fork-tree", @@ -8916,7 +8931,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -8940,7 +8955,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8953,7 +8968,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -8978,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "sc-client-api", "sp-authorship", @@ -8989,7 +9004,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "lazy_static", "lru 0.7.5", @@ -9016,7 +9031,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "environmental", "parity-scale-codec", @@ -9033,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "parity-scale-codec", @@ -9049,7 +9064,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9067,7 +9082,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ahash", "async-trait", @@ -9107,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9131,7 +9146,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9148,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "hex", @@ -9163,7 +9178,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "asynchronous-codec 0.5.0", @@ -9212,7 +9227,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ahash", "futures 0.3.21", @@ -9229,7 +9244,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "bytes 1.1.0", "fnv", @@ -9257,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "libp2p", @@ -9270,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9279,7 +9294,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "hash-db", @@ -9310,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9336,7 +9351,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9353,7 +9368,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "directories", @@ -9418,7 +9433,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "parity-scale-codec", @@ -9432,7 +9447,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -9453,7 +9468,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "libc", @@ -9470,7 +9485,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "chrono", "futures 0.3.21", @@ -9488,7 +9503,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ansi_term", "atty", @@ -9519,7 +9534,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9530,7 +9545,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9557,7 +9572,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "log", @@ -9570,7 +9585,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10083,7 +10098,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "hash-db", "log", @@ -10100,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "blake2 0.10.2", "proc-macro-crate 1.1.3", @@ -10112,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10125,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "integer-sqrt", "num-traits", @@ -10140,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10153,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "parity-scale-codec", @@ -10165,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -10177,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "log", @@ -10195,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -10214,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "merlin", @@ -10237,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10251,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -10263,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "base58", "bitflags", @@ -10309,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "blake2 0.10.2", "byteorder", @@ -10323,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro2", "quote", @@ -10334,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10343,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro2", "quote", @@ -10353,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "environmental", "parity-scale-codec", @@ -10364,7 +10379,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "finality-grandpa", "log", @@ -10382,7 +10397,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10396,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "hash-db", @@ -10421,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "lazy_static", "sp-core", @@ -10432,7 +10447,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -10449,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "thiserror", "zstd", @@ -10458,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "parity-scale-codec", @@ -10473,7 +10488,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10487,7 +10502,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "sp-api", "sp-core", @@ -10497,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "backtrace", "lazy_static", @@ -10507,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "rustc-hash", "serde", @@ -10517,7 +10532,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "either", "hash256-std-hasher", @@ -10539,7 +10554,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10556,7 +10571,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -10568,7 +10583,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "serde", "serde_json", @@ -10577,7 +10592,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10591,7 +10606,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10602,7 +10617,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "hash-db", "log", @@ -10624,12 +10639,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10642,7 +10657,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "log", "sp-core", @@ -10655,7 +10670,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures-timer", @@ -10671,7 +10686,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "sp-std", @@ -10683,7 +10698,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "sp-api", "sp-runtime", @@ -10692,7 +10707,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "log", @@ -10708,7 +10723,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "hash-db", "memory-db", @@ -10724,7 +10739,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10741,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10752,7 +10767,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "impl-trait-for-tuples", "log", @@ -10953,7 +10968,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "platforms", ] @@ -10961,7 +10976,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -10983,7 +10998,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures-util", "hyper", @@ -10996,7 +11011,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11019,7 +11034,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "async-trait", "futures 0.3.21", @@ -11045,7 +11060,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11055,7 +11070,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11066,7 +11081,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "ansi_term", "build-helper", @@ -11769,7 +11784,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0fc2ecd43e3c216925b8484381851981b426a68" +source = "git+https://github.com/paritytech/substrate?branch=master#c9af3c6ae49c3720f4320ebbd6c5f936951dfdcf" dependencies = [ "clap", "jsonrpsee", @@ -12457,6 +12472,7 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", diff --git a/polkadot/runtime/common/src/elections.rs b/polkadot/runtime/common/src/elections.rs index f58bdea186..784aa6560c 100644 --- a/polkadot/runtime/common/src/elections.rs +++ b/polkadot/runtime/common/src/elections.rs @@ -16,12 +16,6 @@ //! Code for elections. -use frame_election_provider_support::{ - onchain::{ExecutionConfig, UnboundedExecution}, - ElectionDataProvider, SequentialPhragmen, -}; -use sp_std::marker::PhantomData; - /// Implements the weight types for the elections module and a specific /// runtime. /// This macro should not be called directly; use [`impl_runtime_weights`] instead. @@ -65,19 +59,4 @@ impl pallet_election_provider_multi_phase::BenchmarkingConfig for BenchmarkConfi } /// The accuracy type used for genesis election provider; -pub type OnOnChainAccuracy = sp_runtime::Perbill; - -/// Election Configuration parameters -pub struct OnChainSeqPhragmen(PhantomData<(T, S)>); -impl< - T: frame_system::Config, - S: ElectionDataProvider, - > ExecutionConfig for OnChainSeqPhragmen -{ - type System = T; - type Solver = SequentialPhragmen; - type DataProvider = S; -} - -/// The election provider of the genesis -pub type GenesisElectionOf = UnboundedExecution>; +pub type OnChainAccuracy = sp_runtime::Perbill; diff --git a/polkadot/runtime/kusama/Cargo.toml b/polkadot/runtime/kusama/Cargo.toml index 32c5f087e3..57309f19bd 100644 --- a/polkadot/runtime/kusama/Cargo.toml +++ b/polkadot/runtime/kusama/Cargo.toml @@ -84,6 +84,7 @@ frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.4", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -198,6 +199,7 @@ runtime-benchmarks = [ "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", + "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-gilt/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index d2647ba000..0ddf10b72f 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -30,9 +30,8 @@ use primitives::v2::{ ValidationCodeHash, ValidatorId, ValidatorIndex, }; use runtime_common::{ - auctions, claims, crowdloan, elections::OnChainSeqPhragmen, impl_runtime_weights, - impls::DealWithFees, paras_registrar, prod_or_fast, slots, BlockHashCount, BlockLength, - CurrencyToVote, SlowAdjustingFeeUpdate, + auctions, claims, crowdloan, impl_runtime_weights, impls::DealWithFees, paras_registrar, + prod_or_fast, slots, BlockHashCount, BlockLength, CurrencyToVote, SlowAdjustingFeeUpdate, }; use sp_std::{cmp::Ordering, collections::btree_map::BTreeMap, prelude::*}; @@ -48,7 +47,7 @@ use runtime_parachains::{ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{ - generate_solution_type, onchain::UnboundedExecution, NposSolution, SequentialPhragmen, + generate_solution_type, onchain, NposSolution, SequentialPhragmen, }; use frame_support::{ construct_runtime, parameter_types, @@ -430,6 +429,14 @@ generate_solution_type!( >(24) ); +pub struct OnChainSeqPhragmen; +impl onchain::Config for OnChainSeqPhragmen { + type System = Runtime; + type Solver = SequentialPhragmen; + type DataProvider = Staking; + type WeightInfo = weights::frame_election_provider_support::WeightInfo; +} + impl pallet_election_provider_multi_phase::Config for Runtime { type Event = Event; type Currency = Balances; @@ -452,7 +459,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type DataProvider = Staking; type Solution = NposCompactSolution24; type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = UnboundedExecution>; + type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -566,7 +573,7 @@ impl pallet_staking::Config for Runtime { type UnixTime = Timestamp; type CurrencyToVote = CurrencyToVote; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf; + type GenesisElectionProvider = onchain::UnboundedExecution; type RewardRemainder = Treasury; type Event = Event; type Slash = Treasury; @@ -1582,6 +1589,7 @@ mod benches { [pallet_democracy, Democracy] [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] + [frame_election_provider_support, ElectionProviderBench::] [pallet_gilt, Gilt] [pallet_identity, Identity] [pallet_im_online, ImOnline] @@ -1954,6 +1962,7 @@ sp_api::impl_runtime_apis! { use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; use frame_benchmarking::baseline::Pallet as Baseline; @@ -1975,6 +1984,7 @@ sp_api::impl_runtime_apis! { // To get around that, we separated the benchmarks into its own crate. use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; use frame_benchmarking::baseline::Pallet as Baseline; use xcm::latest::prelude::*; @@ -1982,6 +1992,7 @@ sp_api::impl_runtime_apis! { impl pallet_session_benchmarking::Config for Runtime {} impl pallet_offences_benchmarking::Config for Runtime {} + impl pallet_election_provider_support_benchmarking::Config for Runtime {} impl frame_system_benchmarking::Config for Runtime {} impl frame_benchmarking::baseline::Config for Runtime {} diff --git a/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs b/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs new file mode 100644 index 0000000000..aff0b9d04e --- /dev/null +++ b/polkadot/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -0,0 +1,61 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `frame_election_provider_support` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-04-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --chain=kusama-dev +// --steps=50 +// --repeat=20 +// --pallet=frame_election_provider_support +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `frame_election_provider_support`. +pub struct WeightInfo(PhantomData); +impl frame_election_provider_support::WeightInfo for WeightInfo { + fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 51_000 + .saturating_add((18_247_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 7_075_000 + .saturating_add((2_979_831_000 as Weight).saturating_mul(d as Weight)) + } + fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 49_000 + .saturating_add((16_045_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 6_844_000 + .saturating_add((2_712_807_000 as Weight).saturating_mul(d as Weight)) + } +} diff --git a/polkadot/runtime/kusama/src/weights/mod.rs b/polkadot/runtime/kusama/src/weights/mod.rs index 46959b00f2..cba06b1166 100644 --- a/polkadot/runtime/kusama/src/weights/mod.rs +++ b/polkadot/runtime/kusama/src/weights/mod.rs @@ -15,6 +15,7 @@ //! A list of the different weight modules for our runtime. +pub mod frame_election_provider_support; pub mod frame_system; pub mod pallet_bags_list; pub mod pallet_balances; diff --git a/polkadot/runtime/polkadot/Cargo.toml b/polkadot/runtime/polkadot/Cargo.toml index 436491061b..531bfff2d8 100644 --- a/polkadot/runtime/polkadot/Cargo.toml +++ b/polkadot/runtime/polkadot/Cargo.toml @@ -77,6 +77,7 @@ pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.4", optional = true } @@ -187,6 +188,7 @@ runtime-benchmarks = [ "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", + "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index be2ff54f67..c82951ccdc 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -22,9 +22,8 @@ use pallet_transaction_payment::CurrencyAdapter; use runtime_common::{ - auctions, claims, crowdloan, elections::OnChainSeqPhragmen, impl_runtime_weights, - impls::DealWithFees, paras_registrar, prod_or_fast, slots, BlockHashCount, BlockLength, - CurrencyToVote, SlowAdjustingFeeUpdate, + auctions, claims, crowdloan, impl_runtime_weights, impls::DealWithFees, paras_registrar, + prod_or_fast, slots, BlockHashCount, BlockLength, CurrencyToVote, SlowAdjustingFeeUpdate, }; use runtime_parachains::{ @@ -38,9 +37,7 @@ use runtime_parachains::{ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; -use frame_election_provider_support::{ - generate_solution_type, onchain::UnboundedExecution, SequentialPhragmen, -}; +use frame_election_provider_support::{generate_solution_type, onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, traits::{ @@ -473,6 +470,14 @@ generate_solution_type!( >(16) ); +pub struct OnChainSeqPhragmen; +impl onchain::Config for OnChainSeqPhragmen { + type System = Runtime; + type Solver = SequentialPhragmen; + type DataProvider = Staking; + type WeightInfo = weights::frame_election_provider_support::WeightInfo; +} + impl pallet_election_provider_multi_phase::Config for Runtime { type Event = Event; type Currency = Balances; @@ -495,7 +500,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type DataProvider = Staking; type Solution = NposCompactSolution16; type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = UnboundedExecution>; + type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -577,7 +582,7 @@ impl pallet_staking::Config for Runtime { type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf; + type GenesisElectionProvider = onchain::UnboundedExecution; type VoterList = BagsList; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; @@ -1731,6 +1736,7 @@ mod benches { [pallet_democracy, Democracy] [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] + [frame_election_provider_support, ElectionProviderBench::] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] @@ -2099,6 +2105,7 @@ sp_api::impl_runtime_apis! { use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; use frame_benchmarking::baseline::Pallet as Baseline; @@ -2120,11 +2127,13 @@ sp_api::impl_runtime_apis! { // To get around that, we separated the benchmarks into its own crate. use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; use frame_benchmarking::baseline::Pallet as Baseline; impl pallet_session_benchmarking::Config for Runtime {} impl pallet_offences_benchmarking::Config for Runtime {} + impl pallet_election_provider_support_benchmarking::Config for Runtime {} impl frame_system_benchmarking::Config for Runtime {} impl frame_benchmarking::baseline::Config for Runtime {} diff --git a/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs b/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs new file mode 100644 index 0000000000..c69333dbdb --- /dev/null +++ b/polkadot/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -0,0 +1,61 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `frame_election_provider_support` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-04-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=50 +// --repeat=20 +// --pallet=frame_election_provider_support +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `frame_election_provider_support`. +pub struct WeightInfo(PhantomData); +impl frame_election_provider_support::WeightInfo for WeightInfo { + fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 51_000 + .saturating_add((18_136_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 7_074_000 + .saturating_add((2_953_665_000 as Weight).saturating_mul(d as Weight)) + } + fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 51_000 + .saturating_add((15_939_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 7_126_000 + .saturating_add((2_704_026_000 as Weight).saturating_mul(d as Weight)) + } +} diff --git a/polkadot/runtime/polkadot/src/weights/mod.rs b/polkadot/runtime/polkadot/src/weights/mod.rs index 25b36085b7..568961700a 100644 --- a/polkadot/runtime/polkadot/src/weights/mod.rs +++ b/polkadot/runtime/polkadot/src/weights/mod.rs @@ -15,6 +15,7 @@ //! A list of the different weight modules for our runtime. +pub mod frame_election_provider_support; pub mod frame_system; pub mod pallet_bags_list; pub mod pallet_balances; diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index eca41d3694..9d64457396 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -35,6 +35,7 @@ use polkadot_runtime_parachains::{ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; +use frame_election_provider_support::{onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, traits::{Everything, KeyOwnerProofSystem}, @@ -319,6 +320,14 @@ parameter_types! { pub const MaxAuthorities: u32 = 100_000; } +pub struct OnChainSeqPhragmen; +impl onchain::Config for OnChainSeqPhragmen { + type System = Runtime; + type Solver = SequentialPhragmen; + type DataProvider = Staking; + type WeightInfo = (); +} + impl pallet_staking::Config for Runtime { type MaxNominations = frame_support::pallet_prelude::ConstU32<16>; type Currency = Balances; @@ -338,12 +347,8 @@ impl pallet_staking::Config for Runtime { type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; - type ElectionProvider = frame_election_provider_support::onchain::UnboundedExecution< - runtime_common::elections::OnChainSeqPhragmen, - >; - type GenesisElectionProvider = frame_election_provider_support::onchain::UnboundedExecution< - runtime_common::elections::OnChainSeqPhragmen, - >; + type ElectionProvider = onchain::UnboundedExecution; + type GenesisElectionProvider = onchain::UnboundedExecution; // Use the nominator map to iter voter AND no-ops for all SortedListProvider hooks. The migration // to bags-list is a no-op, but the storage version will be updated. type VoterList = pallet_staking::UseNominatorsAndValidatorsMap; diff --git a/polkadot/runtime/westend/Cargo.toml b/polkadot/runtime/westend/Cargo.toml index 4d41778012..d9b48e3ec8 100644 --- a/polkadot/runtime/westend/Cargo.toml +++ b/polkadot/runtime/westend/Cargo.toml @@ -77,6 +77,7 @@ pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-feat frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.4", optional = true } @@ -188,6 +189,7 @@ runtime-benchmarks = [ "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", + "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index c9820911fd..f9a4aba12d 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -22,7 +22,7 @@ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; -use frame_election_provider_support::{onchain::UnboundedExecution, SequentialPhragmen}; +use frame_election_provider_support::{onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, traits::{Contains, InstanceFilter, KeyOwnerProofSystem, OnRuntimeUpgrade}, @@ -43,7 +43,7 @@ use primitives::v2::{ ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, ValidatorSignature, }; use runtime_common::{ - assigned_slots, auctions, crowdloan, elections::OnChainSeqPhragmen, impl_runtime_weights, + assigned_slots, auctions, crowdloan, elections::OnChainAccuracy, impl_runtime_weights, impls::ToAuthor, paras_registrar, paras_sudo_wrapper, slots, BlockHashCount, BlockLength, CurrencyToVote, SlowAdjustingFeeUpdate, }; @@ -372,6 +372,14 @@ frame_election_provider_support::generate_solution_type!( >(16) ); +pub struct OnChainSeqPhragmen; +impl onchain::Config for OnChainSeqPhragmen { + type System = Runtime; + type Solver = SequentialPhragmen; + type DataProvider = Staking; + type WeightInfo = weights::frame_election_provider_support::WeightInfo; +} + impl pallet_election_provider_multi_phase::Config for Runtime { type Event = Event; type Currency = Balances; @@ -394,7 +402,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type DataProvider = Staking; type Solution = NposCompactSolution16; type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = UnboundedExecution>; + type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -463,7 +471,7 @@ impl pallet_staking::Config for Runtime { type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = runtime_common::elections::GenesisElectionOf; + type GenesisElectionProvider = onchain::UnboundedExecution; type VoterList = BagsList; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; @@ -1136,6 +1144,7 @@ mod benches { [pallet_bags_list, BagsList] [pallet_balances, Balances] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] + [frame_election_provider_support, ElectionProviderBench::] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] @@ -1504,6 +1513,7 @@ sp_api::impl_runtime_apis! { use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::; @@ -1527,10 +1537,12 @@ sp_api::impl_runtime_apis! { // To get around that, we separated the benchmarks into its own crate. use pallet_session_benchmarking::Pallet as SessionBench; use pallet_offences_benchmarking::Pallet as OffencesBench; + use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; impl pallet_session_benchmarking::Config for Runtime {} impl pallet_offences_benchmarking::Config for Runtime {} + impl pallet_election_provider_support_benchmarking::Config for Runtime {} impl frame_system_benchmarking::Config for Runtime {} use xcm::latest::{ diff --git a/polkadot/runtime/westend/src/weights/frame_election_provider_support.rs b/polkadot/runtime/westend/src/weights/frame_election_provider_support.rs new file mode 100644 index 0000000000..f401a2c612 --- /dev/null +++ b/polkadot/runtime/westend/src/weights/frame_election_provider_support.rs @@ -0,0 +1,61 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `frame_election_provider_support` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-04-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --chain=westend-dev +// --steps=50 +// --repeat=20 +// --pallet=frame_election_provider_support +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/westend/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `frame_election_provider_support`. +pub struct WeightInfo(PhantomData); +impl frame_election_provider_support::WeightInfo for WeightInfo { + fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 49_000 + .saturating_add((18_804_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 6_922_000 + .saturating_add((3_040_535_000 as Weight).saturating_mul(d as Weight)) + } + fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 66_000 + .saturating_add((16_029_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 9_193_000 + .saturating_add((2_707_950_000 as Weight).saturating_mul(d as Weight)) + } +} diff --git a/polkadot/runtime/westend/src/weights/mod.rs b/polkadot/runtime/westend/src/weights/mod.rs index 71b6016046..711cf15049 100644 --- a/polkadot/runtime/westend/src/weights/mod.rs +++ b/polkadot/runtime/westend/src/weights/mod.rs @@ -15,6 +15,7 @@ //! A list of the different weight modules for our runtime. +pub mod frame_election_provider_support; pub mod frame_system; pub mod pallet_bags_list; pub mod pallet_balances;