From 54cbfa0afdd0f21b16b9b87bedbfd53222b5150a Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 20 Jul 2022 18:32:02 +0200 Subject: [PATCH] Fix benchmarking tests (#5791) * Re-add tests Signed-off-by: Oliver Tale-Yazdi * Test with release profile Signed-off-by: Oliver Tale-Yazdi * Re-add tests Signed-off-by: Oliver Tale-Yazdi * Test with diener Signed-off-by: Oliver Tale-Yazdi * Revert "Test with release profile" This reverts commit d5384c5b603e1f8b7d14871ee57d2661e61bdb75. * Revert "Test with diener" This reverts commit 9e035759c780c2dfaf431456c8d0ff1a78e68d64. * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi * Update tests/benchmark_block.rs Co-authored-by: Chevdor Co-authored-by: Chevdor --- polkadot/Cargo.lock | 342 +++++++++++++------------- polkadot/tests/benchmark_block.rs | 94 +++++++ polkadot/tests/benchmark_extrinsic.rs | 58 +++++ polkadot/tests/benchmark_overhead.rs | 67 +++++ polkadot/tests/common.rs | 2 +- 5 files changed, 391 insertions(+), 172 deletions(-) create mode 100644 polkadot/tests/benchmark_block.rs create mode 100644 polkadot/tests/benchmark_extrinsic.rs create mode 100644 polkadot/tests/benchmark_overhead.rs diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 4a2da99419..4f898af81d 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "beefy-primitives", "fnv", @@ -457,7 +457,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -477,7 +477,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "beefy-primitives", "sp-api", @@ -486,7 +486,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -1958,7 +1958,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", ] @@ -1976,7 +1976,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -1998,7 +1998,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "Inflector", "chrono", @@ -2049,7 +2049,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -2104,7 +2104,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "bitflags", "frame-metadata", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2158,7 +2158,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro2", "quote", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2191,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "log", @@ -2219,7 +2219,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -2234,7 +2234,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "sp-api", @@ -2243,7 +2243,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "sp-api", @@ -2425,7 +2425,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "chrono", "frame-election-provider-support", @@ -4797,7 +4797,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4811,7 +4811,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "beefy-primitives", "frame-support", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4959,7 +4959,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4977,7 +4977,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5013,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5052,7 +5052,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5065,7 +5065,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5098,7 +5098,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5121,7 +5121,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5137,7 +5137,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5174,7 +5174,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5224,7 +5224,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5239,7 +5239,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5292,7 +5292,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5315,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5331,7 +5331,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5361,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5377,7 +5377,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5398,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5428,7 +5428,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5451,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5462,7 +5462,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "sp-arithmetic", @@ -5471,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5485,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5522,7 +5522,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-support", "frame-system", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5553,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5564,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5581,7 +5581,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5597,7 +5597,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8062,7 +8062,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8410,7 +8410,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "sp-core", @@ -8421,7 +8421,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "futures-timer", @@ -8471,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8504,7 +8504,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "chrono", "clap", @@ -8554,7 +8554,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "fnv", "futures", @@ -8582,7 +8582,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "hash-db", "kvdb", @@ -8607,7 +8607,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -8631,7 +8631,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "fork-tree", @@ -8674,7 +8674,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "jsonrpsee", @@ -8696,7 +8696,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8709,7 +8709,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -8734,7 +8734,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "sc-client-api", "sp-authorship", @@ -8745,7 +8745,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "lazy_static", "lru 0.7.7", @@ -8772,7 +8772,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "environmental", "parity-scale-codec", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "parity-scale-codec", @@ -8804,7 +8804,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8824,7 +8824,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ahash", "async-trait", @@ -8865,7 +8865,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "finality-grandpa", "futures", @@ -8886,7 +8886,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ansi_term", "futures", @@ -8903,7 +8903,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "hex", @@ -8918,7 +8918,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "asynchronous-codec", @@ -8967,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "bitflags", "futures", @@ -8985,7 +8985,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ahash", "futures", @@ -9002,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "libp2p", @@ -9022,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "fork-tree", "futures", @@ -9049,7 +9049,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "bytes", "fnv", @@ -9077,7 +9077,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "libp2p", @@ -9090,7 +9090,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9099,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "hash-db", @@ -9129,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "jsonrpsee", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "jsonrpsee", @@ -9165,7 +9165,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "directories", @@ -9232,7 +9232,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "parity-scale-codec", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9265,7 +9265,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "libc", @@ -9284,7 +9284,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "chrono", "futures", @@ -9302,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ansi_term", "atty", @@ -9333,7 +9333,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9344,7 +9344,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "futures-timer", @@ -9371,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "log", @@ -9384,7 +9384,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "futures-timer", @@ -9869,7 +9869,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "hash-db", "log", @@ -9886,7 +9886,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "blake2", "proc-macro-crate", @@ -9898,7 +9898,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "integer-sqrt", "num-traits", @@ -9926,7 +9926,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -9939,7 +9939,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "parity-scale-codec", @@ -9951,7 +9951,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "sp-api", @@ -9963,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "log", @@ -9981,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -10000,7 +10000,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "merlin", @@ -10023,7 +10023,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10037,7 +10037,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10050,7 +10050,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "base58", "bitflags", @@ -10096,7 +10096,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "blake2", "byteorder", @@ -10110,7 +10110,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro2", "quote", @@ -10121,7 +10121,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10130,7 +10130,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro2", "quote", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "environmental", "parity-scale-codec", @@ -10151,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "finality-grandpa", "log", @@ -10169,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10183,7 +10183,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "hash-db", @@ -10208,7 +10208,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "lazy_static", "sp-core", @@ -10219,7 +10219,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -10236,7 +10236,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "thiserror", "zstd", @@ -10245,7 +10245,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "parity-scale-codec", @@ -10260,7 +10260,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10274,7 +10274,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "sp-api", "sp-core", @@ -10284,7 +10284,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "backtrace", "lazy_static", @@ -10294,7 +10294,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "rustc-hash", "serde", @@ -10304,7 +10304,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "either", "hash256-std-hasher", @@ -10326,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10343,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "Inflector", "proc-macro-crate", @@ -10355,7 +10355,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "parity-scale-codec", @@ -10369,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "serde", "serde_json", @@ -10378,7 +10378,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10392,7 +10392,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10403,7 +10403,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "hash-db", "log", @@ -10425,12 +10425,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10443,7 +10443,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "log", "sp-core", @@ -10456,7 +10456,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures-timer", @@ -10472,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "sp-std", @@ -10484,7 +10484,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "sp-api", "sp-runtime", @@ -10493,7 +10493,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "log", @@ -10509,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "hash-db", "memory-db", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10542,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "impl-trait-for-tuples", "log", @@ -10749,7 +10749,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "platforms", ] @@ -10757,7 +10757,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10778,7 +10778,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures-util", "hyper", @@ -10791,7 +10791,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "jsonrpsee", "log", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "async-trait", "futures", @@ -10838,7 +10838,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10848,7 +10848,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10859,7 +10859,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "ansi_term", "build-helper", @@ -11573,7 +11573,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ced41695aafa648ebdb01305e563fa7ca89756bc" +source = "git+https://github.com/paritytech/substrate?branch=master#7b81072843e584ef2bee449081aed5c963021ee9" dependencies = [ "clap", "jsonrpsee", diff --git a/polkadot/tests/benchmark_block.rs b/polkadot/tests/benchmark_block.rs new file mode 100644 index 0000000000..ee68d43b2a --- /dev/null +++ b/polkadot/tests/benchmark_block.rs @@ -0,0 +1,94 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +// Unix only since it uses signals. +#![cfg(unix)] + +use assert_cmd::cargo::cargo_bin; +use nix::{ + sys::signal::{kill, Signal::SIGINT}, + unistd::Pid, +}; +use std::{ + path::Path, + process::{self, Command}, + result::Result, + time::Duration, +}; +use tempfile::tempdir; + +pub mod common; + +static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; + +/// `benchmark block` works for all dev runtimes using the wasm executor. +#[tokio::test] +async fn benchmark_block_works() { + for runtime in RUNTIMES { + let tmp_dir = tempdir().expect("could not create a temp dir"); + let base_path = tmp_dir.path(); + let runtime = format!("{}-dev", runtime); + + // Build a chain with a single block. + build_chain(&runtime, base_path).await.unwrap(); + // Benchmark the one block. + benchmark_block(&runtime, base_path, 1).unwrap(); + } +} + +/// Builds a chain with one block for the given runtime and base path. +async fn build_chain(runtime: &str, base_path: &Path) -> Result<(), String> { + let mut cmd = Command::new(cargo_bin("polkadot")) + .stdout(process::Stdio::piped()) + .stderr(process::Stdio::piped()) + .args(["--chain", &runtime, "--force-authoring", "--alice"]) + .arg("-d") + .arg(base_path) + .arg("--no-hardware-benchmarks") + .spawn() + .unwrap(); + + let (ws_url, _) = common::find_ws_url_from_output(cmd.stderr.take().unwrap()); + + // Wait for the chain to produce one block. + let ok = common::wait_n_finalized_blocks(1, Duration::from_secs(60), &ws_url).await; + // Send SIGINT to node. + kill(Pid::from_raw(cmd.id().try_into().unwrap()), SIGINT).unwrap(); + // Wait for the node to handle it and exit. + assert!(common::wait_for(&mut cmd, 30).map(|x| x.success()).unwrap_or_default()); + + ok.map_err(|e| format!("Node did not build the chain: {:?}", e)) +} + +/// Benchmarks the given block with the wasm executor. +fn benchmark_block(runtime: &str, base_path: &Path, block: u32) -> Result<(), String> { + // Invoke `benchmark block` with all options to make sure that they are valid. + let status = Command::new(cargo_bin("polkadot")) + .args(["benchmark", "block", "--chain", &runtime]) + .arg("-d") + .arg(base_path) + .args(["--from", &block.to_string(), "--to", &block.to_string()]) + .args(["--repeat", "1"]) + .args(["--execution", "wasm", "--wasm-execution", "compiled"]) + .status() + .map_err(|e| format!("command failed: {:?}", e))?; + + if !status.success() { + return Err("Command failed".into()) + } + + Ok(()) +} diff --git a/polkadot/tests/benchmark_extrinsic.rs b/polkadot/tests/benchmark_extrinsic.rs new file mode 100644 index 0000000000..c112a8c023 --- /dev/null +++ b/polkadot/tests/benchmark_extrinsic.rs @@ -0,0 +1,58 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use assert_cmd::cargo::cargo_bin; +use std::{process::Command, result::Result}; + +static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; + +static EXTRINSICS: [(&'static str, &'static str); 2] = + [("system", "remark"), ("balances", "transfer_keep_alive")]; + +/// `benchmark extrinsic` works for all dev runtimes and some extrinsics. +#[test] +fn benchmark_extrinsic_works() { + for runtime in RUNTIMES { + for (pallet, extrinsic) in EXTRINSICS { + let runtime = format!("{}-dev", runtime); + assert!(benchmark_extrinsic(&runtime, pallet, extrinsic).is_ok()); + } + } +} + +/// `benchmark extrinsic` rejects all non-dev runtimes. +#[test] +fn benchmark_extrinsic_rejects_non_dev_runtimes() { + for runtime in RUNTIMES { + assert!(benchmark_extrinsic(runtime, "system", "remark").is_err()); + } +} + +fn benchmark_extrinsic(runtime: &str, pallet: &str, extrinsic: &str) -> Result<(), String> { + let status = Command::new(cargo_bin("polkadot")) + .args(["benchmark", "extrinsic", "--chain", &runtime]) + .args(&["--pallet", pallet, "--extrinsic", extrinsic]) + // Run with low repeats for faster execution. + .args(["--repeat=1", "--warmup=1", "--max-ext-per-block=1"]) + .status() + .map_err(|e| format!("command failed: {:?}", e))?; + + if !status.success() { + return Err("Command failed".into()) + } + + Ok(()) +} diff --git a/polkadot/tests/benchmark_overhead.rs b/polkadot/tests/benchmark_overhead.rs new file mode 100644 index 0000000000..a3b4ed1160 --- /dev/null +++ b/polkadot/tests/benchmark_overhead.rs @@ -0,0 +1,67 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use assert_cmd::cargo::cargo_bin; +use std::{process::Command, result::Result}; +use tempfile::tempdir; + +static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; + +/// `benchmark overhead` works for all dev runtimes. +#[test] +fn benchmark_overhead_works() { + for runtime in RUNTIMES { + let runtime = format!("{}-dev", runtime); + assert!(benchmark_overhead(runtime).is_ok()); + } +} + +/// `benchmark overhead` rejects all non-dev runtimes. +#[test] +fn benchmark_overhead_rejects_non_dev_runtimes() { + for runtime in RUNTIMES { + assert!(benchmark_overhead(runtime.into()).is_err()); + } +} + +fn benchmark_overhead(runtime: String) -> Result<(), String> { + let tmp_dir = tempdir().expect("could not create a temp dir"); + let base_path = tmp_dir.path(); + + // Invoke `benchmark overhead` with all options to make sure that they are valid. + let status = Command::new(cargo_bin("polkadot")) + .args(["benchmark", "overhead", "--chain", &runtime]) + .arg("-d") + .arg(base_path) + .arg("--weight-path") + .arg(base_path) + .args(["--warmup", "5", "--repeat", "5"]) + .args(["--add", "100", "--mul", "1.2", "--metric", "p75"]) + // Only put 5 extrinsics into the block otherwise it takes forever to build it + // especially for a non-release builds. + .args(["--max-ext-per-block", "5"]) + .status() + .map_err(|e| format!("command failed: {:?}", e))?; + + if !status.success() { + return Err("Command failed".into()) + } + + // Weight files have been created. + assert!(base_path.join("block_weights.rs").exists()); + assert!(base_path.join("extrinsic_weights.rs").exists()); + Ok(()) +} diff --git a/polkadot/tests/common.rs b/polkadot/tests/common.rs index 6c6450f6db..0a25b03348 100644 --- a/polkadot/tests/common.rs +++ b/polkadot/tests/common.rs @@ -91,6 +91,6 @@ pub fn find_ws_url_from_output(read: impl Read + Send) -> (String, String) { Some(format!("ws://{}", sock_addr)) }) - .expect("We should get a WebSocket address"); + .expect(&format!("Could not find WebSocket address in process output:\n{}", &data)); (ws_url, data) }