From e0fc2b779d236ba1faad4b4c7a5bfdcf4c6b828c Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 28 Apr 2022 20:16:24 +0200 Subject: [PATCH] add nomination pools to westend runtime (#5405) * add nomination pools to westend rutnime * Fix buikd * fit some shit * add real weights from substrate weights computed on the same bench machine --- Cargo.lock | 370 ++++++++++-------- node/service/src/chain_spec.rs | 7 + runtime/westend/Cargo.toml | 4 + runtime/westend/src/lib.rs | 43 +- runtime/westend/src/weights/mod.rs | 1 + .../src/weights/pallet_nomination_pools.rs | 254 ++++++++++++ 6 files changed, 510 insertions(+), 169 deletions(-) create mode 100644 runtime/westend/src/weights/pallet_nomination_pools.rs diff --git a/Cargo.lock b/Cargo.lock index efe4fca99358..c53c1e5dac50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -444,7 +444,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "beefy-primitives", "fnv", @@ -478,7 +478,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -501,12 +501,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -2160,7 +2160,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", ] @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "Inflector", "chrono", @@ -2250,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2277,7 +2277,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -2305,7 +2305,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "bitflags", "frame-metadata", @@ -2335,7 +2335,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2347,7 +2347,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -2359,7 +2359,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro2", "quote", @@ -2369,7 +2369,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2392,7 +2392,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -2403,7 +2403,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "log", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -2435,7 +2435,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "sp-api", @@ -2444,7 +2444,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "sp-api", @@ -2640,7 +2640,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "chrono", "frame-election-provider-support", @@ -5038,7 +5038,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5052,7 +5052,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5107,7 +5107,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5127,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-election-provider-support", "frame-support", @@ -5147,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5162,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "beefy-primitives", "frame-support", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5201,7 +5201,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5283,7 +5283,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5302,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5319,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5335,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5358,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5371,7 +5371,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5389,7 +5389,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5404,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5427,7 +5427,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5463,7 +5463,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5480,7 +5480,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5497,7 +5497,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5515,7 +5515,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5532,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5547,7 +5547,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5558,10 +5558,44 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-nomination-pools" +version = "1.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-nomination-pools-benchmarking" +version = "1.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "pallet-bags-list", + "pallet-nomination-pools", + "pallet-staking", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5578,7 +5612,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5601,7 +5635,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5617,7 +5651,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5632,7 +5666,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5647,7 +5681,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5663,7 +5697,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5684,7 +5718,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5700,7 +5734,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5714,7 +5748,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5737,7 +5771,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -5748,7 +5782,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "sp-arithmetic", @@ -5757,7 +5791,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5771,7 +5805,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5789,7 +5823,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5808,7 +5842,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-support", "frame-system", @@ -5825,7 +5859,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5842,7 +5876,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5853,7 +5887,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5870,7 +5904,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -5886,7 +5920,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -8409,7 +8443,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8781,7 +8815,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "sp-core", @@ -8792,7 +8826,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -8819,7 +8853,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8842,7 +8876,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8858,7 +8892,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8875,7 +8909,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8886,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "chrono", "clap", @@ -8925,7 +8959,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "fnv", "futures 0.3.21", @@ -8953,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "hash-db", "kvdb", @@ -8978,7 +9012,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -9002,7 +9036,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "fork-tree", @@ -9045,7 +9079,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9069,7 +9103,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9082,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -9107,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "sc-client-api", "sp-authorship", @@ -9118,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "lazy_static", "lru 0.7.5", @@ -9145,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "environmental", "parity-scale-codec", @@ -9162,7 +9196,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "parity-scale-codec", @@ -9177,7 +9211,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9195,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ahash", "async-trait", @@ -9235,7 +9269,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9259,7 +9293,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9276,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "hex", @@ -9291,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "asynchronous-codec 0.5.0", @@ -9340,7 +9374,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ahash", "futures 0.3.21", @@ -9357,7 +9391,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "bytes 1.1.0", "fnv", @@ -9385,7 +9419,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "libp2p", @@ -9398,7 +9432,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9407,7 +9441,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "hash-db", @@ -9438,7 +9472,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9464,7 +9498,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9481,7 +9515,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "directories", @@ -9546,7 +9580,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "parity-scale-codec", @@ -9560,7 +9594,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -9581,7 +9615,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "libc", @@ -9600,7 +9634,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "chrono", "futures 0.3.21", @@ -9618,7 +9652,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ansi_term", "atty", @@ -9649,7 +9683,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9660,7 +9694,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9687,7 +9721,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "log", @@ -9700,7 +9734,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10207,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "hash-db", "log", @@ -10224,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "blake2 0.10.2", "proc-macro-crate 1.1.3", @@ -10236,7 +10270,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10249,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "integer-sqrt", "num-traits", @@ -10264,7 +10298,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10277,7 +10311,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "parity-scale-codec", @@ -10289,7 +10323,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "sp-api", @@ -10301,7 +10335,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "log", @@ -10319,7 +10353,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -10338,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "merlin", @@ -10361,7 +10395,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10375,7 +10409,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -10387,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "base58", "bitflags", @@ -10433,7 +10467,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "blake2 0.10.2", "byteorder", @@ -10447,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro2", "quote", @@ -10458,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10467,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro2", "quote", @@ -10477,7 +10511,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "environmental", "parity-scale-codec", @@ -10488,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "finality-grandpa", "log", @@ -10506,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10520,7 +10554,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "hash-db", @@ -10545,7 +10579,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "lazy_static", "sp-core", @@ -10556,7 +10590,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -10573,7 +10607,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "thiserror", "zstd", @@ -10582,7 +10616,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "parity-scale-codec", @@ -10597,7 +10631,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10611,7 +10645,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "sp-api", "sp-core", @@ -10621,7 +10655,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "backtrace", "lazy_static", @@ -10631,7 +10665,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "rustc-hash", "serde", @@ -10641,7 +10675,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "either", "hash256-std-hasher", @@ -10663,7 +10697,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10680,7 +10714,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -10692,7 +10726,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "parity-scale-codec", @@ -10706,7 +10740,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "serde", "serde_json", @@ -10715,7 +10749,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10729,7 +10763,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "scale-info", @@ -10740,7 +10774,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "hash-db", "log", @@ -10762,12 +10796,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10780,7 +10814,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "log", "sp-core", @@ -10793,7 +10827,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures-timer", @@ -10809,7 +10843,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "sp-std", @@ -10821,7 +10855,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "sp-api", "sp-runtime", @@ -10830,7 +10864,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "log", @@ -10846,7 +10880,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "hash-db", "memory-db", @@ -10862,7 +10896,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10879,7 +10913,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10890,7 +10924,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "impl-trait-for-tuples", "log", @@ -11082,7 +11116,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "platforms", ] @@ -11090,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11112,7 +11146,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures-util", "hyper", @@ -11125,7 +11159,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11148,7 +11182,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "async-trait", "futures 0.3.21", @@ -11174,7 +11208,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11184,7 +11218,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11195,7 +11229,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "ansi_term", "build-helper", @@ -11911,7 +11945,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a02a69f31bfe4c750b2b9a16abf1e161a301849" +source = "git+https://github.com/paritytech/substrate?branch=master#9e41e40c4016deff3a1babccbf7ce3419e966a79" dependencies = [ "clap", "jsonrpsee", @@ -12616,6 +12650,8 @@ dependencies = [ "pallet-membership", "pallet-multisig", "pallet-nicks", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", "pallet-offences", "pallet-offences-benchmarking", "pallet-preimage", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index f12879291a80..7ffcb0db112c 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -574,6 +574,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID, }, xcm_pallet: Default::default(), + nomination_pools: Default::default(), } } @@ -1543,6 +1544,12 @@ pub fn westend_testnet_genesis( next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID, }, xcm_pallet: Default::default(), + nomination_pools: westend_runtime::NominationPoolsConfig { + max_pools: Some(128), + min_join_bond: WND, + min_create_bond: 100 * WND, + ..Default::default() + }, } } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 8e3e8b46dd83..e14ea4fc9b3d 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -55,6 +55,7 @@ pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "ma pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nomination-pools = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -78,6 +79,7 @@ frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = 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-nomination-pools-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 } @@ -139,6 +141,7 @@ std = [ "beefy-primitives/std", "pallet-multisig/std", "pallet-nicks/std", + "pallet-nomination-pools/std", "pallet-offences/std", "pallet-preimage/std", "pallet-proxy/std", @@ -195,6 +198,7 @@ runtime-benchmarks = [ "pallet-im-online/runtime-benchmarks", "pallet-indices/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", + "pallet-nomination-pools-benchmarking", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-recovery/runtime-benchmarks", diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 719874e1e26b..bc107d28f7c1 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -25,7 +25,7 @@ use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, - traits::{Contains, InstanceFilter, KeyOwnerProofSystem}, + traits::{ConstU32, Contains, InstanceFilter, KeyOwnerProofSystem}, weights::ConstantMultiplier, PalletId, }; @@ -771,7 +771,8 @@ impl InstanceFilter for ProxyType { Call::Crowdloan(..) | Call::Slots(..) | Call::Auctions(..) | // Specifically omitting the entire XCM Pallet - Call::BagsList(..) + Call::BagsList(..) | + Call::NominationPools(..) ), ProxyType::Staking => { matches!(c, Call::Staking(..) | Call::Session(..) | Call::Utility(..)) @@ -980,6 +981,37 @@ impl auctions::Config for Runtime { type WeightInfo = weights::runtime_common_auctions::WeightInfo; } +pub struct BalanceToU256; +impl sp_runtime::traits::Convert for BalanceToU256 { + fn convert(n: Balance) -> sp_core::U256 { + n.into() + } +} +pub struct U256ToBalance; +impl sp_runtime::traits::Convert for U256ToBalance { + fn convert(n: sp_core::U256) -> Balance { + n.try_into().unwrap_or(Balance::MAX) + } +} + +parameter_types! { + pub const PoolsPalletId: PalletId = PalletId(*b"py/nopls"); +} + +impl pallet_nomination_pools::Config for Runtime { + type Event = Event; + type WeightInfo = weights::pallet_nomination_pools::WeightInfo; + type Currency = Balances; + type BalanceToU256 = BalanceToU256; + type U256ToBalance = U256ToBalance; + type StakingInterface = Staking; + type PostUnbondingPoolsWindow = ConstU32<4>; + type MaxMetadataLen = ConstU32<256>; + // we use the same number of allowed unlocking chunks as with staking. + type MaxUnbonding = ::MaxUnlockingChunks; + type PalletId = PoolsPalletId; +} + construct_runtime! { pub enum Runtime where Block = Block, @@ -1042,6 +1074,9 @@ construct_runtime! { // Provides a semi-sorted list of nominators for staking. BagsList: pallet_bags_list::{Pallet, Call, Storage, Event} = 25, + // Nomination pools for staking. + NominationPools: pallet_nomination_pools::{Pallet, Call, Storage, Event, Config} = 29, + // Parachains pallets. Start indices at 40 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 41, Configuration: parachains_configuration::{Pallet, Call, Storage, Config} = 42, @@ -1135,6 +1170,7 @@ mod benches { [pallet_im_online, ImOnline] [pallet_indices, Indices] [pallet_multisig, Multisig] + [pallet_nomination_pools, NominationPoolsBench::] [pallet_offences, OffencesBench::] [pallet_preimage, Preimage] [pallet_proxy, Proxy] @@ -1502,6 +1538,7 @@ sp_api::impl_runtime_apis! { use pallet_offences_benchmarking::Pallet as OffencesBench; use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; + use pallet_nomination_pools_benchmarking::Pallet as NominationPoolsBench; type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::; type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::; @@ -1526,11 +1563,13 @@ sp_api::impl_runtime_apis! { use pallet_offences_benchmarking::Pallet as OffencesBench; use pallet_election_provider_support_benchmarking::Pallet as ElectionProviderBench; use frame_system_benchmarking::Pallet as SystemBench; + use pallet_nomination_pools_benchmarking::Pallet as NominationPoolsBench; 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 pallet_nomination_pools_benchmarking::Config for Runtime {} use xcm::latest::{ AssetId::*, Fungibility::*, Junctions::*, MultiAsset, MultiAssets, MultiLocation, diff --git a/runtime/westend/src/weights/mod.rs b/runtime/westend/src/weights/mod.rs index 711cf1504992..90394ea0fd16 100644 --- a/runtime/westend/src/weights/mod.rs +++ b/runtime/westend/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod pallet_identity; pub mod pallet_im_online; pub mod pallet_indices; pub mod pallet_multisig; +pub mod pallet_nomination_pools; pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_scheduler; diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs new file mode 100644 index 000000000000..527359fefc59 --- /dev/null +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -0,0 +1,254 @@ +// Copyright 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 `pallet_multisig` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-04-20, 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=pallet_nomination_pools +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/westend/src/weights/pallet_nomination_pools.rs + +#![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 `pallet_nomination_pools`. +pub struct WeightInfo(PhantomData); +impl pallet_nomination_pools::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools MinJoinBond (r:1 w:0) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:0) + // Storage: System Account (r:2 w:1) + // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) + // Storage: NominationPools MaxPoolMembers (r:1 w:0) + // Storage: NominationPools CounterForPoolMembers (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: BagsList ListNodes (r:3 w:3) + // Storage: BagsList ListBags (r:2 w:2) + fn join() -> Weight { + (117_870_000 as Weight) + .saturating_add(T::DbWeight::get().reads(18 as Weight)) + .saturating_add(T::DbWeight::get().writes(12 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: System Account (r:2 w:2) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: BagsList ListNodes (r:3 w:3) + // Storage: BagsList ListBags (r:2 w:2) + fn bond_extra_transfer() -> Weight { + (110_176_000 as Weight) + .saturating_add(T::DbWeight::get().reads(14 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: System Account (r:3 w:3) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: BagsList ListNodes (r:2 w:2) + // Storage: BagsList ListBags (r:2 w:2) + fn bond_extra_reward() -> Weight { + (122_829_000 as Weight) + .saturating_add(T::DbWeight::get().reads(14 as Weight)) + .saturating_add(T::DbWeight::get().writes(13 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: System Account (r:1 w:1) + fn claim_payout() -> Weight { + (50_094_000 as Weight) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: System Account (r:2 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking Nominators (r:1 w:0) + // Storage: Staking MinNominatorBond (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: BagsList ListNodes (r:3 w:3) + // Storage: Staking Bonded (r:1 w:0) + // Storage: BagsList ListBags (r:2 w:2) + // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) + fn unbond() -> Weight { + (119_288_000 as Weight) + .saturating_add(T::DbWeight::get().reads(19 as Weight)) + .saturating_add(T::DbWeight::get().writes(14 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + fn pool_withdraw_unbonded(s: u32, ) -> Weight { + (39_986_000 as Weight) + // Standard Error: 0 + .saturating_add((50_000 as Weight).saturating_mul(s as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: System Account (r:1 w:1) + // Storage: NominationPools CounterForPoolMembers (r:1 w:1) + fn withdraw_unbonded_update(s: u32, ) -> Weight { + (76_897_000 as Weight) + // Standard Error: 0 + .saturating_add((48_000 as Weight).saturating_mul(s as Weight)) + .saturating_add(T::DbWeight::get().reads(9 as Weight)) + .saturating_add(T::DbWeight::get().writes(8 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking SlashingSpans (r:1 w:0) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:0) + // Storage: System Account (r:2 w:2) + // Storage: Balances Locks (r:1 w:1) + // Storage: NominationPools CounterForPoolMembers (r:1 w:1) + // Storage: NominationPools ReversePoolIdLookup (r:1 w:1) + // Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: NominationPools CounterForRewardPools (r:1 w:1) + // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) + // Storage: NominationPools CounterForBondedPools (r:1 w:1) + // Storage: Staking Payee (r:0 w:1) + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + (135_837_000 as Weight) + .saturating_add(T::DbWeight::get().reads(20 as Weight)) + .saturating_add(T::DbWeight::get().writes(17 as Weight)) + } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: Staking MinNominatorBond (r:1 w:0) + // Storage: NominationPools MinCreateBond (r:1 w:0) + // Storage: NominationPools MinJoinBond (r:1 w:0) + // Storage: NominationPools MaxPools (r:1 w:0) + // Storage: NominationPools CounterForBondedPools (r:1 w:1) + // Storage: NominationPools PoolMembers (r:1 w:1) + // Storage: NominationPools LastPoolId (r:1 w:1) + // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) + // Storage: NominationPools MaxPoolMembers (r:1 w:0) + // Storage: NominationPools CounterForPoolMembers (r:1 w:1) + // Storage: System Account (r:2 w:2) + // Storage: Staking Ledger (r:1 w:1) + // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking HistoryDepth (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: NominationPools CounterForRewardPools (r:1 w:1) + // Storage: NominationPools ReversePoolIdLookup (r:1 w:1) + // Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1) + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Payee (r:0 w:1) + fn create() -> Weight { + (129_265_000 as Weight) + .saturating_add(T::DbWeight::get().reads(23 as Weight)) + .saturating_add(T::DbWeight::get().writes(16 as Weight)) + } + // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Ledger (r:1 w:0) + // Storage: Staking MinNominatorBond (r:1 w:0) + // Storage: Staking Nominators (r:1 w:1) + // Storage: Staking MaxNominatorsCount (r:1 w:0) + // Storage: Staking Validators (r:2 w:0) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) + // Storage: BagsList ListNodes (r:1 w:1) + // Storage: BagsList ListBags (r:1 w:1) + // Storage: BagsList CounterForListNodes (r:1 w:1) + // Storage: Staking CounterForNominators (r:1 w:1) + fn nominate(n: u32, ) -> Weight { + (45_546_000 as Weight) + // Standard Error: 11_000 + .saturating_add((2_075_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(12 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) + } + // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Ledger (r:1 w:0) + fn set_state() -> Weight { + (23_256_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: NominationPools Metadata (r:1 w:1) + // Storage: NominationPools CounterForMetadata (r:1 w:1) + fn set_metadata(n: u32, ) -> Weight { + (10_893_000 as Weight) + // Standard Error: 0 + .saturating_add((1_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + // Storage: NominationPools MinJoinBond (r:0 w:1) + // Storage: NominationPools MaxPoolMembers (r:0 w:1) + // Storage: NominationPools MaxPoolMembersPerPool (r:0 w:1) + // Storage: NominationPools MinCreateBond (r:0 w:1) + // Storage: NominationPools MaxPools (r:0 w:1) + fn set_configs() -> Weight { + (2_793_000 as Weight) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) + } +} +