From 7dc036d6d2d7f51daf8724bef571d0dbefa6533e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= <bkchr@users.noreply.github.com> Date: Wed, 4 Aug 2021 19:56:16 +0200 Subject: [PATCH] Substrate companion #9491 (#3568) * Substrate companion #9491 https://github.com/paritytech/substrate/pull/9491 * update Substrate * Fix build Co-authored-by: parity-processbot <> --- polkadot/Cargo.lock | 315 ++++++++++++------------ polkadot/node/service/Cargo.toml | 1 + polkadot/node/service/src/chain_spec.rs | 4 + polkadot/node/service/src/lib.rs | 9 +- polkadot/rpc/src/lib.rs | 8 +- polkadot/runtime/common/src/claims.rs | 21 +- 6 files changed, 176 insertions(+), 182 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index d70004d0c17..f5cc361ecd2 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1997,7 +1997,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", ] @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -2034,7 +2034,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "Inflector", "chrono", @@ -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#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -2073,7 +2073,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -2088,7 +2088,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "serde", @@ -2099,7 +2099,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "bitflags", "frame-metadata", @@ -2125,7 +2125,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro2", "quote", @@ -2159,7 +2159,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-metadata", "frame-support", @@ -2180,7 +2180,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2207,7 +2207,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-api", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "parity-scale-codec", @@ -4704,7 +4704,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -4733,7 +4733,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4756,7 +4756,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4809,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4918,7 +4918,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4939,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4956,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4970,7 +4970,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5007,7 +5007,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5042,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5057,7 +5057,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5074,7 +5074,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5090,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5108,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5123,7 +5123,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5152,7 +5152,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5174,7 +5174,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5189,7 +5189,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "enumflags2", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5238,7 +5238,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5254,7 +5254,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5267,7 +5267,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5291,7 +5291,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5302,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "sp-arithmetic", @@ -5311,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5324,7 +5324,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5342,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-support", "frame-system", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5401,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5417,7 +5417,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-benchmarking", "frame-support", @@ -5432,7 +5432,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7034,6 +7034,7 @@ dependencies = [ "sc-keystore", "sc-network", "sc-service", + "sc-sync-state-rpc", "sc-telemetry", "sc-transaction-pool", "serde", @@ -7929,7 +7930,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "env_logger 0.8.4", "hex", @@ -8228,7 +8229,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "sp-core", @@ -8239,7 +8240,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "derive_more", @@ -8268,7 +8269,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8291,7 +8292,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8307,19 +8308,15 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "sc-chain-spec-derive", - "sc-consensus-babe", - "sc-consensus-epochs", - "sc-finality-grandpa", "sc-network", "sc-telemetry", "serde", "serde_json", - "sp-consensus-babe", "sp-core", "sp-runtime", ] @@ -8327,7 +8324,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8338,7 +8335,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "chrono", "fdlimit", @@ -8376,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "fnv", @@ -8410,7 +8407,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "blake2-rfc", "hash-db", @@ -8439,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "futures 0.3.15", @@ -8464,7 +8461,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "derive_more", @@ -8511,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "futures 0.3.15", @@ -8535,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8548,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "assert_matches", "async-trait", @@ -8584,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "futures 0.3.15", @@ -8613,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "sc-client-api", "sp-authorship", @@ -8624,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "lazy_static", @@ -8653,7 +8650,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "parity-scale-codec", @@ -8670,7 +8667,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "parity-scale-codec", @@ -8685,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8705,7 +8702,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "derive_more", @@ -8746,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "finality-grandpa", @@ -8770,7 +8767,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8788,7 +8785,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "derive_more", @@ -8808,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "hash-db", "lazy_static", @@ -8827,7 +8824,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-std", "async-trait", @@ -8882,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8899,7 +8896,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "bytes 0.5.6", "fnv", @@ -8927,7 +8924,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "libp2p", @@ -8940,7 +8937,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8949,7 +8946,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "hash-db", @@ -8984,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "futures 0.3.15", @@ -9009,7 +9006,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -9027,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "directories", @@ -9095,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "parity-scale-codec", @@ -9110,17 +9107,19 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", + "parity-scale-codec", "sc-chain-spec", "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", "sc-finality-grandpa", "sc-rpc-api", + "serde", "serde_json", "sp-blockchain", "sp-runtime", @@ -9130,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "chrono", "futures 0.3.15", @@ -9150,7 +9149,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "ansi_term 0.12.1", "atty", @@ -9187,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9198,7 +9197,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "futures 0.3.15", @@ -9227,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "derive_more", "futures 0.3.15", @@ -9669,7 +9668,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "hash-db", "log", @@ -9686,7 +9685,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9698,7 +9697,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "serde", @@ -9710,7 +9709,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "integer-sqrt", "num-traits", @@ -9724,7 +9723,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-api", @@ -9736,7 +9735,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "parity-scale-codec", @@ -9748,7 +9747,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-api", @@ -9760,7 +9759,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "log", @@ -9778,7 +9777,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "futures 0.3.15", @@ -9804,7 +9803,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "merlin", @@ -9826,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9836,7 +9835,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9848,7 +9847,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "base58", "blake2-rfc", @@ -9892,7 +9891,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9901,7 +9900,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro2", "quote", @@ -9911,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "environmental", "parity-scale-codec", @@ -9922,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "finality-grandpa", "log", @@ -9939,7 +9938,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9953,7 +9952,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "hash-db", @@ -9978,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "lazy_static", "sp-core", @@ -9989,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "derive_more", @@ -10006,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "ruzstd", "zstd", @@ -10015,7 +10014,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "serde", @@ -10028,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -10039,7 +10038,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "sp-api", "sp-core", @@ -10049,7 +10048,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "backtrace", ] @@ -10057,7 +10056,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "rustc-hash", "serde", @@ -10068,7 +10067,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "either", "hash256-std-hasher", @@ -10089,7 +10088,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10106,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -10118,7 +10117,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "serde", "serde_json", @@ -10127,7 +10126,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-api", @@ -10140,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -10150,7 +10149,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "hash-db", "log", @@ -10173,12 +10172,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10191,7 +10190,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "log", "sp-core", @@ -10204,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10221,7 +10220,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "erased-serde", "log", @@ -10239,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "sp-api", "sp-runtime", @@ -10248,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "log", @@ -10263,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "hash-db", "memory-db", @@ -10277,7 +10276,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "futures-core", @@ -10289,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10304,7 +10303,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -10316,7 +10315,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10501,7 +10500,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "chrono", "console_error_panic_hook", @@ -10527,7 +10526,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "platforms", ] @@ -10535,7 +10534,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10558,7 +10557,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-std", "derive_more", @@ -10572,7 +10571,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "async-trait", "futures 0.1.29", @@ -10601,7 +10600,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10611,7 +10610,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10621,7 +10620,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "ansi_term 0.12.1", "atty", @@ -10783,7 +10782,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-system", "futures 0.3.15", @@ -11423,7 +11422,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#471db4f2b6ef9e9871fd1e9af2a56050efb3beb6" +source = "git+https://github.com/paritytech/substrate?branch=master#b7409a2257c7c231b485ee827daa73d05d303047" dependencies = [ "frame-try-runtime", "log", diff --git a/polkadot/node/service/Cargo.toml b/polkadot/node/service/Cargo.toml index a838fc113a7..6d420d08279 100644 --- a/polkadot/node/service/Cargo.toml +++ b/polkadot/node/service/Cargo.toml @@ -21,6 +21,7 @@ sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/polkadot/node/service/src/chain_spec.rs b/polkadot/node/service/src/chain_spec.rs index 919a822715e..a04fed091fa 100644 --- a/polkadot/node/service/src/chain_spec.rs +++ b/polkadot/node/service/src/chain_spec.rs @@ -64,6 +64,10 @@ pub struct Extensions { pub fork_blocks: sc_client_api::ForkBlocks<polkadot_primitives::v1::Block>, /// Known bad block hashes. pub bad_blocks: sc_client_api::BadBlocks<polkadot_primitives::v1::Block>, + /// The light sync state. + /// + /// This value will be set by the `sync-state rpc` implementation. + pub light_sync_state: sc_sync_state_rpc::LightSyncStateExtension, } /// The `ChainSpec` parameterized for the polkadot runtime. diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index e443478c13b..93629ab4d72 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -322,10 +322,7 @@ fn new_partial<RuntimeApi, Executor>( sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, Executor>>, sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, Executor>>, ( - impl Fn( - polkadot_rpc::DenyUnsafe, - polkadot_rpc::SubscriptionTaskExecutor, - ) -> polkadot_rpc::RpcExtension, + impl service::RpcExtensionBuilder, ( babe::BabeBlockImport< Block, @@ -469,7 +466,7 @@ where move |deny_unsafe, subscription_executor: polkadot_rpc::SubscriptionTaskExecutor| - -> polkadot_rpc::RpcExtension { + -> Result<polkadot_rpc::RpcExtension, service::Error> { let deps = polkadot_rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), @@ -494,7 +491,7 @@ where }, }; - polkadot_rpc::create_full(deps) + polkadot_rpc::create_full(deps).map_err(Into::into) } }; diff --git a/polkadot/rpc/src/lib.rs b/polkadot/rpc/src/lib.rs index 18ecd18a19a..659565e323c 100644 --- a/polkadot/rpc/src/lib.rs +++ b/polkadot/rpc/src/lib.rs @@ -105,7 +105,9 @@ pub struct FullDeps<C, P, SC, B> { } /// Instantiate all RPC extensions. -pub fn create_full<C, P, SC, B>(deps: FullDeps<C, P, SC, B>) -> RpcExtension +pub fn create_full<C, P, SC, B>( + deps: FullDeps<C, P, SC, B>, +) -> Result<RpcExtension, Box<dyn std::error::Error + Send + Sync>> where C: ProvideRuntimeApi<Block> + HeaderBackend<Block> @@ -166,7 +168,7 @@ where shared_authority_set, shared_epoch_changes, deny_unsafe, - ))); + )?)); io.extend_with(beefy_gadget_rpc::BeefyApi::to_delegate( beefy_gadget_rpc::BeefyRpcHandler::new( @@ -175,7 +177,7 @@ where ), )); - io + Ok(io) } /// Instantiate all RPC extensions for light node. diff --git a/polkadot/runtime/common/src/claims.rs b/polkadot/runtime/common/src/claims.rs index 0c146eabf8b..7a36a0ecae7 100644 --- a/polkadot/runtime/common/src/claims.rs +++ b/polkadot/runtime/common/src/claims.rs @@ -1564,20 +1564,11 @@ mod benchmarking { #[cfg(test)] mod tests { use super::*; - use crate::claims::tests::{new_test_ext, Test}; - use frame_support::assert_ok; - - #[test] - fn test_benchmarks() { - new_test_ext().execute_with(|| { - assert_ok!(test_benchmark_claim::<Test>()); - assert_ok!(test_benchmark_mint_claim::<Test>()); - assert_ok!(test_benchmark_claim_attest::<Test>()); - assert_ok!(test_benchmark_attest::<Test>()); - assert_ok!(test_benchmark_move_claim::<Test>()); - assert_ok!(test_benchmark_keccak256::<Test>()); - assert_ok!(test_benchmark_eth_recover::<Test>()); - }); - } + + frame_benchmarking::impl_benchmark_test_suite!( + Pallet, + crate::claims::tests::new_test_ext(), + crate::claims::tests::Test, + ); } } -- GitLab