From 7870dafbd88c8a4bdb1d3c3fb94745f0824a8fb6 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Wed, 5 Oct 2022 22:17:59 +0100 Subject: [PATCH 1/4] Companion for #11649: Bound uses of `Call` (#5729) * Fixes * Clear out old weights Signed-off-by: Oliver Tale-Yazdi * Resolve merges Signed-off-by: Oliver Tale-Yazdi * Fix weight traits Signed-off-by: Oliver Tale-Yazdi * polkadot runtime: Clippy Signed-off-by: Oliver Tale-Yazdi * rococo runtime: update pallet configs Signed-off-by: Oliver Tale-Yazdi * Add preimage migration Signed-off-by: Oliver Tale-Yazdi * Add all migrations Signed-off-by: Oliver Tale-Yazdi * Democracy is not on Westend Signed-off-by: Oliver Tale-Yazdi * [Migration] Refund stored multisig calls (#6075) * Add Preimages to referenda config Needed since Gov V2 just merged. Signed-off-by: Oliver Tale-Yazdi * Update weights Signed-off-by: Oliver Tale-Yazdi * Add multisig migration to Westend+Rococo Signed-off-by: Oliver Tale-Yazdi * Fix Executive syntax Signed-off-by: Oliver Tale-Yazdi * Bump Substrate Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Roman Useinov --- Cargo.lock | 379 +++++++++--------- runtime/kusama/src/governance/fellowship.rs | 1 + runtime/kusama/src/governance/mod.rs | 1 + runtime/kusama/src/governance/old.rs | 6 +- runtime/kusama/src/lib.rs | 13 +- .../kusama/src/weights/pallet_democracy.rs | 185 +++------ runtime/kusama/src/weights/pallet_preimage.rs | 67 ++-- .../kusama/src/weights/pallet_scheduler.rs | 161 ++------ runtime/polkadot/src/lib.rs | 21 +- .../polkadot/src/weights/pallet_democracy.rs | 185 +++------ .../polkadot/src/weights/pallet_preimage.rs | 63 ++- .../polkadot/src/weights/pallet_scheduler.rs | 160 ++------ runtime/rococo/src/lib.rs | 25 +- .../rococo/src/weights/pallet_democracy.rs | 183 +++------ runtime/rococo/src/weights/pallet_preimage.rs | 63 ++- .../rococo/src/weights/pallet_scheduler.rs | 158 ++------ runtime/westend/src/lib.rs | 9 +- .../westend/src/weights/pallet_preimage.rs | 63 ++- .../westend/src/weights/pallet_scheduler.rs | 160 ++------ 19 files changed, 720 insertions(+), 1183 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 015056f42a39..c23829c0751c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -1999,7 +1999,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2118,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "log", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "parity-scale-codec", @@ -2474,7 +2474,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "chrono", "frame-election-provider-support", @@ -4835,7 +4835,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4904,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4924,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4943,7 +4943,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-primitives", "frame-support", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4997,7 +4997,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5034,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5051,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5068,14 +5068,16 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -5084,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5108,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5121,7 +5123,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5139,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5160,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5175,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5198,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5214,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5234,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5268,7 +5270,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5286,7 +5288,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5301,11 +5303,12 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", @@ -5316,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5333,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -5363,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5380,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5403,11 +5406,12 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -5419,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5452,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5467,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5485,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5501,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5522,7 +5526,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5542,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5552,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5575,7 +5579,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5586,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-arithmetic", @@ -5595,7 +5599,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5609,7 +5613,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5631,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5646,7 +5650,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5662,7 +5666,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5677,7 +5681,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5688,7 +5692,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5705,7 +5709,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5721,7 +5725,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5736,7 +5740,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8269,7 +8273,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8617,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-core", @@ -8628,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8637,8 +8641,8 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "rand 0.7.3", "sc-client-api", "sc-network-common", @@ -8655,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -8678,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8694,7 +8698,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8711,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8722,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "chrono", @@ -8762,7 +8766,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "fnv", "futures", @@ -8790,7 +8794,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "kvdb", @@ -8815,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8839,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "fork-tree", @@ -8881,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -8903,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8916,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8940,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8967,7 +8971,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "environmental", "parity-scale-codec", @@ -8983,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -8998,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9018,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "array-bytes", @@ -9059,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "finality-grandpa", "futures", @@ -9080,7 +9084,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "futures", @@ -9097,7 +9101,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -9112,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -9134,7 +9138,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "prost 0.10.3", + "prost 0.11.0", "rand 0.7.3", "sc-block-builder", "sc-client-api", @@ -9159,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "cid", "futures", @@ -9179,7 +9183,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "bitflags", @@ -9189,7 +9193,7 @@ dependencies = [ "libp2p", "linked_hash_set", "parity-scale-codec", - "prost-build 0.10.4", + "prost-build 0.11.1", "sc-consensus", "sc-peerset", "serde", @@ -9205,7 +9209,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "futures", @@ -9223,15 +9227,15 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "futures", "libp2p", "log", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "sc-client-api", "sc-network-common", "sc-peerset", @@ -9244,7 +9248,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "fork-tree", @@ -9253,8 +9257,8 @@ dependencies = [ "log", "lru 0.7.8", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "sc-client-api", "sc-consensus", "sc-network-common", @@ -9272,7 +9276,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "futures", @@ -9291,7 +9295,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "bytes", @@ -9321,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "libp2p", @@ -9334,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9343,7 +9347,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "hash-db", @@ -9373,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -9396,7 +9400,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -9409,7 +9413,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "directories", @@ -9479,7 +9483,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -9493,7 +9497,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9512,7 +9516,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "libc", @@ -9531,7 +9535,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "chrono", "futures", @@ -9549,7 +9553,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "atty", @@ -9580,7 +9584,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9591,7 +9595,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -9617,7 +9621,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "log", @@ -9630,7 +9634,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -10116,7 +10120,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "log", @@ -10134,7 +10138,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "blake2", "proc-macro-crate", @@ -10146,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10159,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "integer-sqrt", "num-traits", @@ -10174,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10187,7 +10191,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "parity-scale-codec", @@ -10199,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -10211,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "log", @@ -10229,7 +10233,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -10248,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "merlin", @@ -10271,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10285,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10298,7 +10302,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "base58", @@ -10344,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "blake2", "byteorder", @@ -10358,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10378,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -10388,7 +10392,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "environmental", "parity-scale-codec", @@ -10399,7 +10403,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "finality-grandpa", "log", @@ -10417,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10431,7 +10435,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bytes", "futures", @@ -10457,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "lazy_static", "sp-core", @@ -10468,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -10485,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "thiserror", "zstd", @@ -10494,10 +10498,11 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", + "scale-info", "serde", "sp-api", "sp-core", @@ -10509,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10523,7 +10528,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "sp-api", "sp-core", @@ -10533,7 +10538,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "backtrace", "lazy_static", @@ -10543,7 +10548,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "rustc-hash", "serde", @@ -10553,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "either", "hash256-std-hasher", @@ -10576,7 +10581,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10594,7 +10599,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "proc-macro-crate", @@ -10606,7 +10611,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -10620,7 +10625,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10634,7 +10639,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10645,7 +10650,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "log", @@ -10667,12 +10672,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10685,7 +10690,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-core", @@ -10698,7 +10703,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures-timer", @@ -10714,7 +10719,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-std", @@ -10726,7 +10731,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "sp-api", "sp-runtime", @@ -10735,7 +10740,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "log", @@ -10751,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "hash-db", @@ -10774,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10791,7 +10796,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10802,7 +10807,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "log", @@ -10815,7 +10820,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11030,7 +11035,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "platforms", ] @@ -11038,7 +11043,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11059,7 +11064,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures-util", "hyper", @@ -11072,7 +11077,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "log", @@ -11093,7 +11098,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -11119,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11129,7 +11134,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11140,7 +11145,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "build-helper", @@ -11853,7 +11858,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "clap", "frame-try-runtime", @@ -11923,7 +11928,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.3", "rand 0.8.5", "static_assertions", diff --git a/runtime/kusama/src/governance/fellowship.rs b/runtime/kusama/src/governance/fellowship.rs index 66e2f6ee6d58..52ab8d0bebc8 100644 --- a/runtime/kusama/src/governance/fellowship.rs +++ b/runtime/kusama/src/governance/fellowship.rs @@ -314,6 +314,7 @@ impl pallet_referenda::Config for Runtime { type UndecidingTimeout = UndecidingTimeout; type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; + type Preimages = Preimage; } pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1; diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 4dbf375f67f0..87cbfd7eea2f 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -91,4 +91,5 @@ impl pallet_referenda::Config for Runtime { type UndecidingTimeout = UndecidingTimeout; type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; + type Preimages = Preimage; } diff --git a/runtime/kusama/src/governance/old.rs b/runtime/kusama/src/governance/old.rs index c16ca5eddd7a..9365c903198a 100644 --- a/runtime/kusama/src/governance/old.rs +++ b/runtime/kusama/src/governance/old.rs @@ -32,7 +32,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -74,14 +73,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index c17e744af175..a4a3a05e1173 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -225,12 +225,10 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; pub const PreimageBaseDeposit: Balance = deposit(2, 64); pub const PreimageByteDeposit: Balance = deposit(0, 1); } @@ -239,8 +237,7 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::pallet_preimage::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; - type ManagerOrigin = EnsureRoot; // This might be too strong a requirenent? - type MaxSize = PreimageMaxSize; + type ManagerOrigin = EnsureRoot; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -1471,6 +1468,12 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index 76862dca3974..b9b4127c597e 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,13 +32,13 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_democracy`. @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(39_849_000 as u64) + Weight::from_ref_time(42_340_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(31_560_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_557_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(43_461_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_480_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(43_754_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_553_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(21_199_000 as u64) + Weight::from_ref_time(20_602_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(55_593_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_265_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(14_747_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(15_498_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_471_000 as u64) + Weight::from_ref_time(4_503_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_230_000 as u64) + Weight::from_ref_time(4_486_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(20_311_000 as u64) + Weight::from_ref_time(19_676_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(22_052_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_443_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(46_926_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_468_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(13_121_000 as u64) + Weight::from_ref_time(13_030_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(27_805_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_112_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(9_815_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_996_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_941_000 as u64) + // Standard Error: 2_263 + .saturating_add(Weight::from_ref_time(2_136_731 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(12_343_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_001_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_085_000 as u64) + // Standard Error: 2_202 + .saturating_add(Weight::from_ref_time(2_143_624 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(47_307_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_899_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_416_000 as u64) + // Standard Error: 4_125 + .saturating_add(Weight::from_ref_time(3_038_258 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(27_872_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_861_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_459_000 as u64) + // Standard Error: 2_860 + .saturating_add(Weight::from_ref_time(2_984_453 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(5_014_000 as u64) + Weight::from_ref_time(5_200_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(29_213_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(21_778_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(36_642_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(31_776_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_289_000 as u64) + // Standard Error: 2_579 + .saturating_add(Weight::from_ref_time(125_300 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(31_414_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_331_000 as u64) + // Standard Error: 755 + .saturating_add(Weight::from_ref_time(90_997 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_428_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_350_000 as u64) + // Standard Error: 1_015 + .saturating_add(Weight::from_ref_time(104_402 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_684_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_433_000 as u64) + // Standard Error: 980 + .saturating_add(Weight::from_ref_time(104_660 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 782deda50e27..2fc3687f4581 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(27_993_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(2_208 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_503_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(2_264 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(17_878_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(2_130 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(37_471_000 as u64) + Weight::from_ref_time(40_091_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(26_305_000 as u64) + Weight::from_ref_time(27_459_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(35_418_000 as u64) + Weight::from_ref_time(27_176_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(23_113_000 as u64) + Weight::from_ref_time(14_096_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_429_000 as u64) + Weight::from_ref_time(17_365_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_153_000 as u64) + Weight::from_ref_time(8_013_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(25_132_000 as u64) + Weight::from_ref_time(27_185_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_918_000 as u64) + Weight::from_ref_time(7_955_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_173_000 as u64) + Weight::from_ref_time(7_819_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index f291bcd2c490..c6df2801dd69 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,66 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(11_217_000 as u64) - // Standard Error: 43_000 - .saturating_add(Weight::from_ref_time(19_456_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_558_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_840_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(15_699_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_715_000 as u64) + // Standard Error: 2_737 + .saturating_add(Weight::from_ref_time(624_353 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(10_761_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(17_063_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(9_345_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(12_801_000 as u64) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(14_878_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_462_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(5_706_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(20_078_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_153 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(9_952_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_762_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(14_502_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(10_550_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(10_744_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(14_956_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(8_343_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(9_556_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(13_862_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(7_398_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(4_130_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(14_529_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(6_467_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_058_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_944_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_721_000 as u64) + // Standard Error: 3_319 + .saturating_add(Weight::from_ref_time(657_802 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +99,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(20_087_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_214_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_496_000 as u64) + // Standard Error: 1_368 + .saturating_add(Weight::from_ref_time(572_226 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_553_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_831_000 as u64) + // Standard Error: 3_559 + .saturating_add(Weight::from_ref_time(689_493 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +119,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_403_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_255_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_788_000 as u64) + // Standard Error: 1_758 + .saturating_add(Weight::from_ref_time(605_808 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 93efc260523c..054fb421babd 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -40,7 +40,10 @@ use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{generate_solution_type, onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, - traits::{EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, PrivilegeCmp}, + traits::{ + ConstU32, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, + PrivilegeCmp, + }, weights::ConstantMultiplier, PalletId, RuntimeDebug, }; @@ -215,8 +218,7 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { @@ -230,7 +232,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -615,7 +616,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -667,14 +667,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { @@ -1560,6 +1561,12 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index 1e94d2b5deb0..136797abcf03 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,13 +32,13 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_democracy`. @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(40_082_000 as u64) + Weight::from_ref_time(42_048_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(31_920_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_631_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(43_490_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_571_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(42_957_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_556_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(20_818_000 as u64) + Weight::from_ref_time(20_104_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(55_285_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_289_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(14_271_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(15_734_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_129_000 as u64) + Weight::from_ref_time(4_507_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_215_000 as u64) + Weight::from_ref_time(4_603_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(20_440_000 as u64) + Weight::from_ref_time(19_816_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(21_988_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_722_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(46_176_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_768_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(12_940_000 as u64) + Weight::from_ref_time(13_183_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(27_421_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(808_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(9_602_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_017_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_999_000 as u64) + // Standard Error: 2_072 + .saturating_add(Weight::from_ref_time(2_080_681 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(12_548_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_010_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_114_000 as u64) + // Standard Error: 2_286 + .saturating_add(Weight::from_ref_time(2_087_574 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(46_940_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_877_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_509_000 as u64) + // Standard Error: 3_676 + .saturating_add(Weight::from_ref_time(2_999_395 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(27_418_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_872_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_592_000 as u64) + // Standard Error: 2_506 + .saturating_add(Weight::from_ref_time(2_932_469 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(4_996_000 as u64) + Weight::from_ref_time(5_070_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(28_635_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(21_474_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(36_399_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(32_139_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(23_860_000 as u64) + // Standard Error: 2_624 + .saturating_add(Weight::from_ref_time(129_209 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(31_338_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_512_000 as u64) + // Standard Error: 619 + .saturating_add(Weight::from_ref_time(84_477 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_298_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_612_000 as u64) + // Standard Error: 841 + .saturating_add(Weight::from_ref_time(98_567 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_456_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_282_000 as u64) + // Standard Error: 1_040 + .saturating_add(Weight::from_ref_time(104_928 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index 15606f560519..bd316e310277 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(28_326_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(20_011_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_114 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(18_805_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(40_028_000 as u64) + Weight::from_ref_time(39_007_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(27_637_000 as u64) + Weight::from_ref_time(27_523_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(37_505_000 as u64) + Weight::from_ref_time(26_477_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(26_628_000 as u64) + Weight::from_ref_time(13_236_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_156_000 as u64) + Weight::from_ref_time(17_975_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_109_000 as u64) + Weight::from_ref_time(8_295_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(27_209_000 as u64) + Weight::from_ref_time(26_186_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_931_000 as u64) + Weight::from_ref_time(8_176_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(7_951_000 as u64) + Weight::from_ref_time(8_005_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index 6103794df8a5..9446fdc5efec 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,69 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_177_000 as u64) - // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(18_354_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_522_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(12_632_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(14_845_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_859_000 as u64) + // Standard Error: 2_692 + .saturating_add(Weight::from_ref_time(618_992 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(13_757_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(15_871_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_288_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_338_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(13_610_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_335_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(5_073_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_095_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(3_021_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(23_105_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(15_328_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(9_601_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(18_306_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(7_155_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_382_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(16_079_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_321_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_246_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(16_074_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(5_352_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(3_714_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(3_667_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_480_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_556_000 as u64) + // Standard Error: 3_431 + .saturating_add(Weight::from_ref_time(659_506 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(19_669_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(892_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(18_922_000 as u64) + // Standard Error: 1_665 + .saturating_add(Weight::from_ref_time(586_420 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(24_633_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_633_000 as u64) + // Standard Error: 3_740 + .saturating_add(Weight::from_ref_time(692_772 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_707_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(922_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_220_000 as u64) + // Standard Error: 2_111 + .saturating_add(Weight::from_ref_time(622_452 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 5680d1b25403..a13bc5932db2 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -70,8 +70,8 @@ use sp_mmr_primitives as mmr; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto, Extrinsic as ExtrinsicT, - Keccak256, OpaqueKeys, SaturatedConversion, Verify, + AccountIdLookup, BlakeTwo256, Block as BlockT, ConstU32, ConvertInto, + Extrinsic as ExtrinsicT, Keccak256, OpaqueKeys, SaturatedConversion, Verify, }, transaction_validity::{TransactionPriority, TransactionSource, TransactionValidity}, ApplyExtrinsicResult, KeyTypeId, Perbill, Percent, Permill, @@ -216,12 +216,10 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; pub const PreimageBaseDeposit: Balance = deposit(2, 64); pub const PreimageByteDeposit: Balance = deposit(0, 1); } @@ -231,7 +229,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -399,7 +396,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -441,14 +437,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { @@ -1453,7 +1450,15 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (parachains_configuration::migration::v3::MigrateToV3,), + ( + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" + parachains_configuration::migration::v3::MigrateToV3, + ), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index 317b0d4bb0a1..453385b594e7 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_democracy.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(37_453_000 as u64) + Weight::from_ref_time(41_783_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(27_807_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_362_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(35_336_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_307_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(35_107_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_500_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(17_752_000 as u64) + Weight::from_ref_time(20_294_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(52_116_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(194_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_191_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(10_194_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(16_369_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(3_700_000 as u64) + Weight::from_ref_time(4_767_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(3_713_000 as u64) + Weight::from_ref_time(4_866_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(17_441_000 as u64) + Weight::from_ref_time(19_986_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(18_536_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_291_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(42_174_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_703_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(11_892_000 as u64) + Weight::from_ref_time(13_235_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(23_252_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_242_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(1_457_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_956_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_980_000 as u64) + // Standard Error: 2_131 + .saturating_add(Weight::from_ref_time(2_104_197 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(6_240_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_963_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_351_000 as u64) + // Standard Error: 2_308 + .saturating_add(Weight::from_ref_time(2_117_411 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(34_480_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_908_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_303_000 as u64) + // Standard Error: 3_789 + .saturating_add(Weight::from_ref_time(3_031_594 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(17_446_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_917_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_342_000 as u64) + // Standard Error: 2_624 + .saturating_add(Weight::from_ref_time(2_962_125 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(3_727_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(25_720_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(17_884_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:0) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(24_695_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(5_811_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(22_207_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(22_894_000 as u64) + // Standard Error: 2_967 + .saturating_add(Weight::from_ref_time(142_001 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(21_561_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_227_000 as u64) + // Standard Error: 673 + .saturating_add(Weight::from_ref_time(87_748 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(13_204_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_578_000 as u64) + // Standard Error: 1_035 + .saturating_add(Weight::from_ref_time(105_378 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(12_994_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_542_000 as u64) + // Standard Error: 1_104 + .saturating_add(Weight::from_ref_time(109_552 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index 5268e8054a13..1755de2b34e6 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_preimage.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,91 +44,90 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(29_017_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_113 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_793_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(18_854_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(35_236_000 as u64) + Weight::from_ref_time(38_886_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(23_396_000 as u64) + Weight::from_ref_time(27_017_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(33_944_000 as u64) + Weight::from_ref_time(25_041_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(22_151_000 as u64) + Weight::from_ref_time(13_933_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(16_617_000 as u64) + Weight::from_ref_time(17_760_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(6_552_000 as u64) + Weight::from_ref_time(8_816_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(23_787_000 as u64) + Weight::from_ref_time(25_068_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(16_327_000 as u64) + Weight::from_ref_time(8_917_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(6_289_000 as u64) + Weight::from_ref_time(8_915_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index 06a77fcee9cb..ae9dc6426622 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_scheduler.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,133 +44,57 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(1_256_000 as u64) - // Standard Error: 42_000 - .saturating_add(Weight::from_ref_time(26_925_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_700_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(921_000 as u64) - // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(21_922_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_868_000 as u64) + // Standard Error: 2_747 + .saturating_add(Weight::from_ref_time(629_992 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 62_000 - .saturating_add(Weight::from_ref_time(24_926_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_316_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(10_674_000 as u64) - // Standard Error: 31_000 - .saturating_add(Weight::from_ref_time(20_631_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(2_607_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(10_009_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(3_381_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(7_945_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(24_103_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_154 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(6_676_000 as u64) - // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(16_966_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(8_899_000 as u64) - // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(14_630_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_408_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(8_583_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(12_228_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_302_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(8_544_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(11_364_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(3_885_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_037_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_060_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_768_000 as u64) + // Standard Error: 3_650 + .saturating_add(Weight::from_ref_time(667_428 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(17_694_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_368_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_239_000 as u64) + // Standard Error: 1_456 + .saturating_add(Weight::from_ref_time(578_125 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_258_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_065_000 as u64) + // Standard Error: 4_027 + .saturating_add(Weight::from_ref_time(719_766 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(18_882_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_379_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_039_000 as u64) + // Standard Error: 2_179 + .saturating_add(Weight::from_ref_time(627_335 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 5cdb6e81ae36..61a909b4806d 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -181,8 +181,7 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = frame_support::traits::EqualPrivilegeOnly; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { @@ -196,7 +195,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -1215,6 +1213,11 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index afd51148cdde..97f066d7d40b 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(28_888_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(20_640_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_203_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(40_836_000 as u64) + Weight::from_ref_time(41_563_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(28_774_000 as u64) + Weight::from_ref_time(28_606_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(37_963_000 as u64) + Weight::from_ref_time(27_447_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(25_754_000 as u64) + Weight::from_ref_time(14_862_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_769_000 as u64) + Weight::from_ref_time(18_337_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(9_214_000 as u64) + Weight::from_ref_time(9_074_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(26_179_000 as u64) + Weight::from_ref_time(28_192_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(18_809_000 as u64) + Weight::from_ref_time(9_012_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_759_000 as u64) + Weight::from_ref_time(8_961_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index edbd3187d1c9..f325f2311093 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,69 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(16_183_000 as u64) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(18_374_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_399_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_223_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(15_096_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_771_000 as u64) + // Standard Error: 2_641 + .saturating_add(Weight::from_ref_time(610_848 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(13_305_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(16_211_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_651_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_574_000 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(13_923_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(11_205_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(5_044_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_287_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_072_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(24_280_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(14_489_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(9_468_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(16_768_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(7_121_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_929_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(17_047_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(6_192_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_285_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(17_163_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(5_300_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(4_026_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_078_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_757_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(17_176_000 as u64) + // Standard Error: 3_203 + .saturating_add(Weight::from_ref_time(645_757 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(20_399_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(880_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_408_000 as u64) + // Standard Error: 1_645 + .saturating_add(Weight::from_ref_time(575_558 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_671_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_173_000 as u64) + // Standard Error: 3_998 + .saturating_add(Weight::from_ref_time(684_714 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_233_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(924_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_330_000 as u64) + // Standard Error: 2_310 + .saturating_add(Weight::from_ref_time(621_196 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } From 3646202110b3810027f9d7fd0b45cb1bcb9678f4 Mon Sep 17 00:00:00 2001 From: Andronik Date: Thu, 6 Oct 2022 00:36:51 +0200 Subject: [PATCH 2/4] update kvdb & co (#6111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * toml changes * REVERTME: patch * adapt parachains db interface * fix Cargo.toml patch after master rebase * fix av-store * fix chain-selection * fix parachains-db? * Revert "fix Cargo.toml patch after master rebase" This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287. * Revert "REVERTME: patch" This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54. * Use `Ok` imported from prelude Co-authored-by: Bastian Köcher * update lockfile for {"substrate"} * Revert "update lockfile for {"substrate"}" This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d. * cargo update -p sp-io Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 442 +++++++++--------- Cargo.toml | 2 +- core-primitives/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 4 +- node/core/av-store/Cargo.toml | 4 +- node/core/av-store/src/lib.rs | 28 +- node/core/chain-selection/Cargo.toml | 4 +- .../core/chain-selection/src/db_backend/v1.rs | 26 +- node/core/dispute-coordinator/Cargo.toml | 4 +- node/core/runtime-api/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/service/Cargo.toml | 4 +- node/service/src/parachains_db/upgrade.rs | 2 +- node/subsystem-util/Cargo.toml | 6 +- node/subsystem-util/src/database.rs | 79 ++-- parachain/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- 18 files changed, 294 insertions(+), 323 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c23829c0751c..3bd1c69b5584 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -530,9 +530,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.59.2" +version = "0.60.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" +checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6" dependencies = [ "bitflags", "cexpr", @@ -915,7 +915,7 @@ checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90" dependencies = [ "glob", "libc", - "libloading 0.7.2", + "libloading", ] [[package]] @@ -1946,9 +1946,9 @@ dependencies = [ [[package]] name = "fixed-hash" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" +checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", "rand 0.8.5", @@ -1999,7 +1999,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2118,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "log", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "parity-scale-codec", @@ -2306,18 +2306,6 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" -[[package]] -name = "fs-swap" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d47dad3685eceed8488986cad3d5027165ea5edb164331770e2059555f10a5" -dependencies = [ - "lazy_static", - "libc", - "libloading 0.5.2", - "winapi", -] - [[package]] name = "fs2" version = "0.4.3" @@ -2474,7 +2462,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "chrono", "frame-election-provider-support", @@ -2910,9 +2898,9 @@ dependencies = [ [[package]] name = "impl-serde" -version = "0.3.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" +checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" dependencies = [ "serde", ] @@ -3327,9 +3315,9 @@ dependencies = [ [[package]] name = "kvdb" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a301d8ecb7989d4a6e2c57a49baca77d353bdbf879909debe3f375fe25d61f86" +checksum = "585089ceadba0197ffe9af6740ab350b325e3c1f5fccfbc3522e0250c750409b" dependencies = [ "parity-util-mem", "smallvec", @@ -3337,9 +3325,9 @@ dependencies = [ [[package]] name = "kvdb-memorydb" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357" +checksum = "40d109c87bfb7759edd2a49b2649c1afe25af785d930ad6a38479b4dc70dd873" dependencies = [ "kvdb", "parity-util-mem", @@ -3348,15 +3336,13 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca7fbdfd71cd663dceb0faf3367a99f8cf724514933e9867cec4995b6027cbc1" +checksum = "c076cc2cdbac89b9910c853a36c957d3862a779f31c2661174222cefb49ee597" dependencies = [ - "fs-swap", "kvdb", "log", "num_cpus", - "owning_ref", "parity-util-mem", "parking_lot 0.12.1", "regex", @@ -3366,9 +3352,9 @@ dependencies = [ [[package]] name = "kvdb-shared-tests" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9001edd3459aa1503ea84215cf4618a6e2e020f51682494cc6f5ab1150e68e" +checksum = "de82a1adb7ade192c0090dd56d059a626191c0638c795eb68aff4b0bd2c1f9be" dependencies = [ "kvdb", ] @@ -3403,16 +3389,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "libloading" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" -dependencies = [ - "cc", - "winapi", -] - [[package]] name = "libloading" version = "0.7.2" @@ -3946,9 +3922,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.6.1+6.28.2" +version = "0.8.0+7.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bc587013734dadb7cf23468e531aa120788b87243648be42e2d3a072186291" +checksum = "611804e4666a25136fcc5f8cf425ab4d26c7f74ea245ffe92ea23b85b6420b5d" dependencies = [ "bindgen", "bzip2-sys", @@ -4225,9 +4201,9 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" +checksum = "34ac11bb793c28fa095b7554466f53b3a60a2cd002afdac01bcf135cbd73a269" dependencies = [ "hash-db", "hashbrown", @@ -4835,7 +4811,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4825,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -4865,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -4880,7 +4856,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4924,7 +4900,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4943,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4934,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-primitives", "frame-support", @@ -4974,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4997,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5027,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5068,7 +5044,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5086,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5110,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5123,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5141,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5162,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5177,7 +5153,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5216,7 +5192,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5253,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5270,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5288,7 +5264,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5303,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5319,7 +5295,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5312,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5356,7 +5332,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -5366,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5383,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5406,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5423,7 +5399,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5438,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5456,7 +5432,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5447,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5489,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5481,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5526,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5542,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5556,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5579,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5590,7 +5566,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-arithmetic", @@ -5599,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5613,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5631,7 +5607,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5650,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5666,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5681,7 +5657,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5692,7 +5668,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5709,7 +5685,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5725,7 +5701,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5740,7 +5716,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5853,9 +5829,9 @@ checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" [[package]] name = "parity-util-mem" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" dependencies = [ "cfg-if 1.0.0", "hashbrown", @@ -7731,9 +7707,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" +checksum = "5cfd65aea0c5fa0bfcc7c9e7ca828c921ef778f43d325325ec84bda371bfa75a" dependencies = [ "fixed-hash", "impl-codec", @@ -8273,7 +8249,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8371,9 +8347,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "620f4129485ff1a7128d184bc687470c21c7951b64779ebc9cfdad3dcd920290" +checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" dependencies = [ "libc", "librocksdb-sys", @@ -8621,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-core", @@ -8632,7 +8608,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8659,7 +8635,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -8682,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8698,7 +8674,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8715,7 +8691,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8726,7 +8702,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "chrono", @@ -8766,7 +8742,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "fnv", "futures", @@ -8794,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "kvdb", @@ -8819,7 +8795,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8843,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "fork-tree", @@ -8885,7 +8861,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -8907,7 +8883,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8920,7 +8896,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8944,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8971,7 +8947,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "environmental", "parity-scale-codec", @@ -8987,7 +8963,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -9002,7 +8978,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9022,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "array-bytes", @@ -9063,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "finality-grandpa", "futures", @@ -9084,7 +9060,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "futures", @@ -9101,7 +9077,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -9116,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -9163,7 +9139,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "cid", "futures", @@ -9183,7 +9159,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "bitflags", @@ -9209,7 +9185,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "futures", @@ -9227,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "futures", @@ -9248,7 +9224,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "fork-tree", @@ -9276,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "futures", @@ -9295,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "bytes", @@ -9325,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "libp2p", @@ -9338,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9347,7 +9323,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "hash-db", @@ -9377,7 +9353,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -9400,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -9413,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "directories", @@ -9483,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -9497,7 +9473,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9516,7 +9492,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "libc", @@ -9535,7 +9511,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "chrono", "futures", @@ -9553,7 +9529,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "atty", @@ -9584,7 +9560,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9595,7 +9571,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -9621,7 +9597,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "log", @@ -9634,7 +9610,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -10120,7 +10096,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "log", @@ -10138,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "blake2", "proc-macro-crate", @@ -10150,7 +10126,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10163,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "integer-sqrt", "num-traits", @@ -10178,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10191,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "parity-scale-codec", @@ -10203,7 +10179,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -10215,7 +10191,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "log", @@ -10233,7 +10209,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -10252,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "merlin", @@ -10275,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10289,7 +10265,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10302,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "base58", @@ -10348,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "blake2", "byteorder", @@ -10362,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -10373,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10382,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -10392,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "environmental", "parity-scale-codec", @@ -10403,7 +10379,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "finality-grandpa", "log", @@ -10421,7 +10397,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10435,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bytes", "futures", @@ -10461,7 +10437,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "lazy_static", "sp-core", @@ -10472,7 +10448,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -10489,7 +10465,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "thiserror", "zstd", @@ -10498,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -10514,7 +10490,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10528,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "sp-api", "sp-core", @@ -10538,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "backtrace", "lazy_static", @@ -10548,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "rustc-hash", "serde", @@ -10558,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "either", "hash256-std-hasher", @@ -10581,7 +10557,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10599,7 +10575,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "proc-macro-crate", @@ -10611,7 +10587,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -10625,7 +10601,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10639,7 +10615,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10650,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "log", @@ -10672,12 +10648,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10690,7 +10666,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-core", @@ -10703,7 +10679,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures-timer", @@ -10719,7 +10695,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-std", @@ -10731,7 +10707,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "sp-api", "sp-runtime", @@ -10740,7 +10716,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "log", @@ -10756,7 +10732,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "hash-db", @@ -10779,7 +10755,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10796,7 +10772,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10807,7 +10783,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "log", @@ -10820,7 +10796,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11035,7 +11011,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "platforms", ] @@ -11043,7 +11019,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11064,7 +11040,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures-util", "hyper", @@ -11077,7 +11053,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "log", @@ -11098,7 +11074,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -11124,7 +11100,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11134,7 +11110,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11145,7 +11121,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "build-helper", @@ -11455,9 +11431,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-ctl" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb833c46ecbf8b6daeccb347cefcabf9c1beb5c9b0f853e1cec45632d9963e69" +checksum = "e37706572f4b151dff7a0146e040804e9c26fe3a3118591112f05cf12a4216c1" dependencies = [ "libc", "paste", @@ -11466,9 +11442,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.4.2+5.2.1-patched.2" +version = "0.5.2+5.3.0-patched" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5844e429d797c62945a566f8da4e24c7fe3fbd5d6617fd8bf7a0b7dc1ee0f22e" +checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3" dependencies = [ "cc", "fs_extra", @@ -11477,9 +11453,9 @@ dependencies = [ [[package]] name = "tikv-jemallocator" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf" +checksum = "20612db8a13a6c06d57ec83953694185a367e16945f66565e8028d2c0bd76979" dependencies = [ "libc", "tikv-jemalloc-sys", @@ -11858,7 +11834,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "clap", "frame-try-runtime", diff --git a/Cargo.toml b/Cargo.toml index c7edd0621319..0ed0892593d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" [dependencies] polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] } color-eyre = { version = "0.6.1", default-features = false } -parity-util-mem = { version = "0.11.0", default-features = false, features = ["jemalloc-global"] } +parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } [dev-dependencies] assert_cmd = "2.0.4" diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 9bbe8f516afb..a10b80b0c30f 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -10,7 +10,7 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", d sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } [features] default = [ "std" ] diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index e39a589b5675..25fb51eb712b 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -13,7 +13,7 @@ bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } lru = "0.8" merlin = "2.0" schnorrkel = "0.9.1" -kvdb = "0.11.0" +kvdb = "0.12.0" derive_more = "0.99.17" thiserror = "1.0.31" @@ -40,5 +40,5 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" } diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 9cea9f1bdc24..4cec2cb637b9 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] futures = "0.3.21" futures-timer = "3.0.2" -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" gum = { package = "tracing-gum", path = "../../gum" } bitvec = "1.0.0" @@ -24,7 +24,7 @@ polkadot-node-primitives = { path = "../../primitives" } log = "0.4.17" env_logger = "0.9.0" assert_matches = "1.4.0" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } diff --git a/node/core/av-store/src/lib.rs b/node/core/av-store/src/lib.rs index cd1685e32ea8..4fbbf3740ab0 100644 --- a/node/core/av-store/src/lib.rs +++ b/node/core/av-store/src/lib.rs @@ -792,8 +792,9 @@ fn note_block_included( macro_rules! peek_num { ($iter:ident) => { match $iter.peek() { - Some((k, _)) => decode_unfinalized_key(&k[..]).ok().map(|(b, _, _)| b), - None => None, + Some(Ok((k, _))) => Ok(decode_unfinalized_key(&k[..]).ok().map(|(b, _, _)| b)), + Some(Err(_)) => Err($iter.next().expect("peek returned Some(Err); qed").unwrap_err()), + None => Ok(None), } }; } @@ -819,10 +820,10 @@ async fn process_block_finalized( let mut iter = subsystem .db .iter_with_prefix(subsystem.config.col_meta, &start_prefix) - .take_while(|(k, _)| &k[..] < &end_prefix[..]) + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &end_prefix[..])) .peekable(); - match peek_num!(iter) { + match peek_num!(iter)? { None => break, // end of iterator. Some(n) => n, } @@ -867,10 +868,10 @@ async fn process_block_finalized( let iter = subsystem .db .iter_with_prefix(subsystem.config.col_meta, &start_prefix) - .take_while(|(k, _)| &k[..] < &end_prefix[..]) + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &end_prefix[..])) .peekable(); - let batch = load_all_at_finalized_height(iter, batch_num, batch_finalized_hash); + let batch = load_all_at_finalized_height(iter, batch_num, batch_finalized_hash)?; // Now that we've iterated over the entire batch at this finalized height, // update the meta. @@ -890,22 +891,22 @@ async fn process_block_finalized( // loads all candidates at the finalized height and maps them to `true` if finalized // and `false` if unfinalized. fn load_all_at_finalized_height( - mut iter: std::iter::Peekable, Box<[u8]>)>>, + mut iter: std::iter::Peekable>>, block_number: BlockNumber, finalized_hash: Hash, -) -> impl IntoIterator { +) -> io::Result> { // maps candidate hashes to true if finalized, false otherwise. let mut candidates = HashMap::new(); // Load all candidates that were included at this height. loop { - match peek_num!(iter) { + match peek_num!(iter)? { None => break, // end of iterator. Some(n) if n != block_number => break, // end of batch. _ => {}, } - let (k, _v) = iter.next().expect("`peek` used to check non-empty; qed"); + let (k, _v) = iter.next().expect("`peek` used to check non-empty; qed")?; let (_, block_hash, candidate_hash) = decode_unfinalized_key(&k[..]).expect("`peek_num` checks validity of key; qed"); @@ -916,7 +917,7 @@ fn load_all_at_finalized_height( } } - candidates + Ok(candidates) } fn update_blocks_at_finalized_height( @@ -1214,9 +1215,10 @@ fn prune_all(db: &Arc, config: &Config, clock: &dyn Clock) -> Resu let mut tx = DBTransaction::new(); let iter = db .iter_with_prefix(config.col_meta, &range_start[..]) - .take_while(|(k, _)| &k[..] < &range_end[..]); + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &range_end[..])); - for (k, _v) in iter { + for r in iter { + let (k, _v) = r?; tx.delete(config.col_meta, &k[..]); let (_, candidate_hash) = match decode_pruning_key(&k[..]) { diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index 8d9875b6f389..df6a5c24f10e 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -13,7 +13,7 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" parity-scale-codec = "3.1.5" @@ -22,4 +22,4 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } parking_lot = "0.12.0" assert_matches = "1" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" diff --git a/node/core/chain-selection/src/db_backend/v1.rs b/node/core/chain-selection/src/db_backend/v1.rs index db117ff945df..a037d27baaea 100644 --- a/node/core/chain-selection/src/db_backend/v1.rs +++ b/node/core/chain-selection/src/db_backend/v1.rs @@ -235,16 +235,21 @@ impl Backend for DbBackend { self.inner.iter_with_prefix(self.config.col_data, &STAGNANT_AT_PREFIX[..]); let val = stagnant_at_iter - .filter_map(|(k, v)| { - match (decode_stagnant_at_key(&mut &k[..]), >::decode(&mut &v[..]).ok()) { - (Some(at), Some(stagnant_at)) => Some((at, stagnant_at)), - _ => None, - } + .filter_map(|r| match r { + Ok((k, v)) => + match (decode_stagnant_at_key(&mut &k[..]), >::decode(&mut &v[..]).ok()) + { + (Some(at), Some(stagnant_at)) => Some(Ok((at, stagnant_at))), + _ => None, + }, + Err(e) => Some(Err(e)), }) .enumerate() - .take_while(|(idx, (at, _))| *at <= up_to.into() && *idx < max_elements) + .take_while(|(idx, r)| { + r.as_ref().map_or(true, |(at, _)| *at <= up_to.into() && *idx < max_elements) + }) .map(|(_, v)| v) - .collect::>(); + .collect::, _>>()?; Ok(val) } @@ -254,10 +259,13 @@ impl Backend for DbBackend { self.inner.iter_with_prefix(self.config.col_data, &BLOCK_HEIGHT_PREFIX[..]); let val = blocks_at_height_iter - .filter_map(|(k, _)| decode_block_height_key(&k[..])) + .filter_map(|r| match r { + Ok((k, _)) => decode_block_height_key(&k[..]).map(Ok), + Err(e) => Some(Err(e)), + }) .next(); - Ok(val) + val.transpose().map_err(Error::from) } fn load_blocks_by_number(&self, number: BlockNumber) -> Result, Error> { diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 7d7bc25e91d4..fd89b599f63c 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } parity-scale-codec = "3.1.5" -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" lru = "0.8.0" fatality = "0.0.6" @@ -22,7 +22,7 @@ sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste [dev-dependencies] -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 9ef6af06c5c2..b7a9895e0c67 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } memory-lru = "0.1.1" -parity-util-mem = { version = "0.11.0", default-features = false } +parity-util-mem = { version = "0.12.0", default-features = false } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index cfc56307b146..c32fce56e4c8 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -23,7 +23,7 @@ polkadot-node-core-backing = { path = "../core/backing" } polkadot-node-primitives = { path = "../primitives" } polkadot-primitives = { path = "../../primitives" } polkadot-node-core-pvf = { path = "../core/pvf" } -parity-util-mem = { version = "0.11.0", default-features = false, features = ["jemalloc-global"] } +parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } color-eyre = { version = "0.6.1", default-features = false } assert_matches = "1.5" async-trait = "0.1.57" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 4bc360df47e3..8ee3fc6fb3cd 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -18,7 +18,7 @@ polkadot-primitives = { path = "../../primitives" } orchestra = "0.0.2" gum = { package = "tracing-gum", path = "../gum" } lru = "0.8" -parity-util-mem = { version = "0.11.0", default-features = false } +parity-util-mem = { version = "0.12.0", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } async-trait = "0.1.57" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 1d2613537814..63a5f189a32a 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -69,8 +69,8 @@ gum = { package = "tracing-gum", path = "../gum/" } serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" thiserror = "1.0.31" -kvdb = "0.11.0" -kvdb-rocksdb = { version = "0.15.2", optional = true } +kvdb = "0.12.0" +kvdb-rocksdb = { version = "0.16.0", optional = true } parity-db = { version = "0.3.16", optional = true } async-trait = "0.1.57" lru = "0.8" diff --git a/node/service/src/parachains_db/upgrade.rs b/node/service/src/parachains_db/upgrade.rs index ad995f41ed82..73321ae04c09 100644 --- a/node/service/src/parachains_db/upgrade.rs +++ b/node/service/src/parachains_db/upgrade.rs @@ -121,7 +121,7 @@ fn rocksdb_migrate_from_version_0_to_1(path: &Path) -> Result<(), Error> { .to_str() .ok_or_else(|| super::other_io_error("Invalid database path".into()))?; let db_cfg = DatabaseConfig::with_columns(super::columns::v0::NUM_COLUMNS); - let db = Database::open(&db_cfg, db_path)?; + let mut db = Database::open(&db_cfg, db_path)?; db.add_column()?; db.add_column()?; diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 6f120beec7cb..26eca7aa8f1f 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -32,8 +32,8 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -kvdb = "0.11.0" -parity-util-mem = { version = "0.11", default-features = false } +kvdb = "0.12.0" +parity-util-mem = { version = "0.12.0", default-features = false } parity-db = { version = "0.3.13" } [dev-dependencies] @@ -44,5 +44,5 @@ log = "0.4.17" polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" } lazy_static = "1.4.0" polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } -kvdb-shared-tests = "0.9.0" +kvdb-shared-tests = "0.10.0" tempfile = "3.1.0" diff --git a/node/subsystem-util/src/database.rs b/node/subsystem-util/src/database.rs index a6b31043302f..6f338b5d6440 100644 --- a/node/subsystem-util/src/database.rs +++ b/node/subsystem-util/src/database.rs @@ -16,7 +16,7 @@ //! Database trait for polkadot db. -pub use kvdb::{DBTransaction, DBValue, KeyValueDB}; +pub use kvdb::{DBKeyValue, DBTransaction, DBValue, KeyValueDB}; /// Database trait with ordered key capacity. pub trait Database: KeyValueDB { @@ -27,7 +27,7 @@ pub trait Database: KeyValueDB { /// Implementation for database supporting `KeyValueDB` already. pub mod kvdb_impl { - use super::{DBTransaction, DBValue, Database, KeyValueDB}; + use super::{DBKeyValue, DBTransaction, DBValue, Database, KeyValueDB}; use kvdb::{DBOp, IoStats, IoStatsKind}; use parity_util_mem::{MallocSizeOf, MallocSizeOfOps}; use std::{collections::BTreeSet, io::Result}; @@ -86,7 +86,7 @@ pub mod kvdb_impl { self.db.get(col, key) } - fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Option> { + fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Result> { self.ensure_is_indexed(col); self.db.get_by_prefix(col, prefix) } @@ -96,7 +96,7 @@ pub mod kvdb_impl { self.db.write(transaction) } - fn iter<'a>(&'a self, col: u32) -> Box, Box<[u8]>)> + 'a> { + fn iter<'a>(&'a self, col: u32) -> Box> + 'a> { self.ensure_is_indexed(col); self.db.iter(col) } @@ -105,15 +105,11 @@ pub mod kvdb_impl { &'a self, col: u32, prefix: &'a [u8], - ) -> Box, Box<[u8]>)> + 'a> { + ) -> Box> + 'a> { self.ensure_is_indexed(col); self.db.iter_with_prefix(col, prefix) } - fn restore(&self, _new_db: &str) -> Result<()> { - unimplemented!("restore is unsupported") - } - fn io_stats(&self, kind: IoStatsKind) -> IoStats { self.db.io_stats(kind) } @@ -122,7 +118,7 @@ pub mod kvdb_impl { self.db.has_key(col, key) } - fn has_prefix(&self, col: u32, prefix: &[u8]) -> bool { + fn has_prefix(&self, col: u32, prefix: &[u8]) -> Result { self.ensure_is_indexed(col); self.db.has_prefix(col, prefix) } @@ -138,8 +134,8 @@ pub mod kvdb_impl { /// Utilities for using parity-db database. pub mod paritydb_impl { - use super::{DBTransaction, DBValue, Database, KeyValueDB}; - use kvdb::{DBOp, IoStats, IoStatsKind}; + use super::{DBKeyValue, DBTransaction, DBValue, Database, KeyValueDB}; + use kvdb::DBOp; use parity_db::Db; use parking_lot::Mutex; use std::{collections::BTreeSet, io::Result, sync::Arc}; @@ -179,18 +175,20 @@ pub mod paritydb_impl { map_err(self.db.get(col as u8, key)) } - fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Option> { - self.iter_with_prefix(col, prefix).next().map(|(_, v)| v) + fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Result> { + self.iter_with_prefix(col, prefix) + .next() + .transpose() + .map(|mb| mb.map(|(_, v)| v)) } - fn iter<'a>(&'a self, col: u32) -> Box, Box<[u8]>)> + 'a> { - let mut iter = handle_err(self.db.iter(col as u8)); + fn iter<'a>(&'a self, col: u32) -> Box> + 'a> { + let mut iter = match self.db.iter(col as u8) { + Ok(iter) => iter, + Err(e) => return Box::new(std::iter::once(map_err(Err(e)))), + }; Box::new(std::iter::from_fn(move || { - if let Some((key, value)) = handle_err(iter.next()) { - Some((key.into_boxed_slice(), value.into_boxed_slice())) - } else { - None - } + iter.next().transpose().map(|r| map_err(r.map(|(k, v)| (k.into(), v)))) })) } @@ -198,39 +196,26 @@ pub mod paritydb_impl { &'a self, col: u32, prefix: &'a [u8], - ) -> Box, Box<[u8]>)> + 'a> { + ) -> Box> + 'a> { if prefix.len() == 0 { return self.iter(col) } - let mut iter = handle_err(self.db.iter(col as u8)); - handle_err(iter.seek(prefix)); + let mut iter = match self.db.iter(col as u8) { + Ok(iter) => iter, + Err(e) => return Box::new(std::iter::once(map_err(Err(e)))), + }; + if let Err(e) = iter.seek(prefix) { + return Box::new(std::iter::once(map_err(Err(e)))) + } Box::new(std::iter::from_fn(move || { - if let Some((key, value)) = handle_err(iter.next()) { - key.starts_with(prefix) - .then(|| (key.into_boxed_slice(), value.into_boxed_slice())) - } else { - None - } + iter.next().transpose().and_then(|r| { + map_err(r.map(|(k, v)| k.starts_with(prefix).then(|| (k.into(), v)))) + .transpose() + }) })) } - fn restore(&self, _new_db: &str) -> Result<()> { - unimplemented!("restore is unsupported") - } - - fn io_stats(&self, _kind: IoStatsKind) -> IoStats { - unimplemented!("io_stats not supported by parity_db"); - } - - fn has_key(&self, col: u32, key: &[u8]) -> Result { - map_err(self.db.get_size(col as u8, key).map(|r| r.is_some())) - } - - fn has_prefix(&self, col: u32, prefix: &[u8]) -> bool { - self.get_by_prefix(col, prefix).is_some() - } - - fn write(&self, transaction: DBTransaction) -> std::io::Result<()> { + fn write(&self, transaction: DBTransaction) -> Result<()> { let mut ops = transaction.ops.into_iter(); // TODO using a key iterator or native delete here would be faster. let mut current_prefix_iter: Option<(parity_db::BTreeIterator, u8, Vec)> = None; diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 42ffbfab1fa6..c07ec98d7cb9 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" # this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index d018cfdf9e54..67fc2d31cee8 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -27,7 +27,7 @@ trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", b bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } hex-literal = "0.3.4" -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } [features] default = ["std"] From d12042f1a0a0e34ca274de9035ea35b6c016783f Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 6 Oct 2022 10:03:34 +0200 Subject: [PATCH 3/4] Skip `unexpected metric type` * Dump more info for `unexpected metric type` * Skip `unexpected metric type` --- node/metrics/src/tests.rs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/node/metrics/src/tests.rs b/node/metrics/src/tests.rs index 56e07d96280d..932cc7b68be7 100644 --- a/node/metrics/src/tests.rs +++ b/node/metrics/src/tests.rs @@ -92,16 +92,11 @@ async fn scrape_prometheus_metrics(metrics_uri: &str) -> HashMap { .expect("Scraper failed to parse Prometheus metrics") .samples .into_iter() - .map(|sample| { - ( - sample.metric.to_owned(), - match sample.value { - prometheus_parse::Value::Counter(value) => value as u64, - prometheus_parse::Value::Gauge(value) => value as u64, - prometheus_parse::Value::Untyped(value) => value as u64, - _ => unreachable!("unexpected metric type"), - }, - ) + .filter_map(|prometheus_parse::Sample { metric, value, .. }| match value { + prometheus_parse::Value::Counter(value) => Some((metric, value as u64)), + prometheus_parse::Value::Gauge(value) => Some((metric, value as u64)), + prometheus_parse::Value::Untyped(value) => Some((metric, value as u64)), + _ => None, }) .collect() } From 09f340c928ea324105b39b957dc155cbd29b173d Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Thu, 6 Oct 2022 12:58:39 +0300 Subject: [PATCH 4/4] service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112) * service: use MmrRootProvider as custom BEEFY payload provider * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 357 ++++++++++++++++++++-------------------- node/service/src/lib.rs | 4 +- 2 files changed, 182 insertions(+), 179 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3bd1c69b5584..475bd6ff8824 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-primitives", "sp-api", @@ -502,13 +502,14 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-core", + "sp-mmr-primitives", "sp-runtime", "sp-std", ] @@ -1999,7 +2000,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2018,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2041,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2103,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2180,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2206,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "log", @@ -2267,7 +2268,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2283,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "parity-scale-codec", @@ -2462,7 +2463,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "chrono", "frame-election-provider-support", @@ -4811,7 +4812,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4825,7 +4826,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -4841,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -4856,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4880,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4900,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4919,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4934,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-primitives", "frame-support", @@ -4950,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4973,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4991,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5027,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5044,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5138,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5153,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5192,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5246,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5264,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5279,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5295,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5312,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5332,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -5342,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5359,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5382,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5399,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5432,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5447,7 +5448,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5465,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5502,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5532,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5555,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5566,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-arithmetic", @@ -5575,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5589,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5607,7 +5608,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5642,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5657,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5668,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5685,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5701,7 +5702,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5716,7 +5717,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8249,7 +8250,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8597,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-core", @@ -8608,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8635,7 +8636,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -8658,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8674,7 +8675,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8691,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8702,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "chrono", @@ -8742,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "fnv", "futures", @@ -8770,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "kvdb", @@ -8795,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8819,7 +8820,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "fork-tree", @@ -8861,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -8883,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8896,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8920,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8947,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "environmental", "parity-scale-codec", @@ -8963,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -8978,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8998,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "array-bytes", @@ -9039,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "finality-grandpa", "futures", @@ -9060,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "futures", @@ -9077,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -9092,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -9139,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "cid", "futures", @@ -9159,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "bitflags", @@ -9185,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "futures", @@ -9203,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "futures", @@ -9224,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "fork-tree", @@ -9252,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "futures", @@ -9271,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "bytes", @@ -9301,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "libp2p", @@ -9314,7 +9315,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9323,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "hash-db", @@ -9353,7 +9354,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -9376,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -9389,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "directories", @@ -9459,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -9473,7 +9474,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9492,7 +9493,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "libc", @@ -9511,7 +9512,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "chrono", "futures", @@ -9529,7 +9530,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "atty", @@ -9560,7 +9561,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9571,7 +9572,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -9597,7 +9598,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "log", @@ -9610,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -10096,7 +10097,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "log", @@ -10114,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "blake2", "proc-macro-crate", @@ -10126,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10139,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "integer-sqrt", "num-traits", @@ -10154,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10167,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "parity-scale-codec", @@ -10179,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -10191,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "log", @@ -10209,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -10228,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "merlin", @@ -10251,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10265,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10278,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "base58", @@ -10324,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "blake2", "byteorder", @@ -10338,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -10349,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10358,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -10368,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "environmental", "parity-scale-codec", @@ -10379,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "finality-grandpa", "log", @@ -10397,7 +10398,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10411,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bytes", "futures", @@ -10437,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "lazy_static", "sp-core", @@ -10448,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -10465,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "thiserror", "zstd", @@ -10474,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -10490,7 +10491,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10504,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "sp-api", "sp-core", @@ -10514,7 +10515,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "backtrace", "lazy_static", @@ -10524,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "rustc-hash", "serde", @@ -10534,7 +10535,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "either", "hash256-std-hasher", @@ -10557,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10575,7 +10576,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "proc-macro-crate", @@ -10587,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -10601,7 +10602,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10615,7 +10616,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10626,7 +10627,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "log", @@ -10648,12 +10649,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10666,7 +10667,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-core", @@ -10679,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures-timer", @@ -10695,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-std", @@ -10707,7 +10708,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "sp-api", "sp-runtime", @@ -10716,7 +10717,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "log", @@ -10732,7 +10733,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "hash-db", @@ -10755,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10772,7 +10773,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10783,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "log", @@ -10796,7 +10797,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11011,7 +11012,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "platforms", ] @@ -11019,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11040,7 +11041,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures-util", "hyper", @@ -11053,7 +11054,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "log", @@ -11074,7 +11075,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -11100,7 +11101,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11110,7 +11111,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11121,7 +11122,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "build-helper", @@ -11834,7 +11835,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 6425ee7a7536..3619d05c7592 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1192,9 +1192,11 @@ where justifications_protocol_name, _phantom: core::marker::PhantomData::, }; + let payload_provider = beefy_primitives::mmr::MmrRootProvider::new(client.clone()); let beefy_params = beefy_gadget::BeefyParams { client: client.clone(), backend: backend.clone(), + payload_provider, runtime: client.clone(), key_store: keystore_opt.clone(), network_params, @@ -1204,7 +1206,7 @@ where on_demand_justifications_handler: beefy_on_demand_justifications_handler, }; - let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _>(beefy_params); + let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _, _>(beefy_params); // Wococo's purpose is to be a testbed for BEEFY, so if it fails we'll // bring the node down with it to make sure it is noticed.