diff --git a/cumulus/Cargo.lock b/cumulus/Cargo.lock index a06a7dfbdb4be57f799e658590a981841b169d0e..feb5c596583ac11733ff77479f4346b2e81b63b8 100644 --- a/cumulus/Cargo.lock +++ b/cumulus/Cargo.lock @@ -453,7 +453,7 @@ checksum = "6736e2428df2ca2848d846c43e88745121a6654696e349ce0054a420815a7409" [[package]] name = "beefy-gadget" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#2a804f5b19ac5b9a9c4d63a3faa3cd9cb1364542" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#ad64f84dc7e2929eee0b821dc41d9a1ef93ab10b" dependencies = [ "beefy-primitives", "futures 0.3.14", @@ -481,7 +481,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#2a804f5b19ac5b9a9c4d63a3faa3cd9cb1364542" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#ad64f84dc7e2929eee0b821dc41d9a1ef93ab10b" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#2a804f5b19ac5b9a9c4d63a3faa3cd9cb1364542" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#ad64f84dc7e2929eee0b821dc41d9a1ef93ab10b" dependencies = [ "parity-scale-codec", "sp-api", @@ -759,6 +759,15 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" +[[package]] +name = "camino" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4648c6d00a709aa069a236adcaae4f605a6241c72bf5bee79331a4b625921a9" +dependencies = [ + "serde", +] + [[package]] name = "cargo-platform" version = "0.1.1" @@ -781,6 +790,20 @@ dependencies = [ "serde_json", ] +[[package]] +name = "cargo_metadata" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "081e3f0755c1f380c2d010481b6fa2e02973586d5f2b24eebb7a2a1d98b143d8" +dependencies = [ + "camino", + "cargo-platform", + "semver 0.11.0", + "semver-parser 0.10.2", + "serde", + "serde_json", +] + [[package]] name = "cc" version = "1.0.66" @@ -2278,7 +2301,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", ] @@ -2296,7 +2319,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -2315,7 +2338,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "Inflector", "chrono", @@ -2338,7 +2361,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -2351,7 +2374,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -2366,7 +2389,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "serde", @@ -2377,7 +2400,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "bitflags", "frame-metadata", @@ -2403,7 +2426,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2415,7 +2438,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2427,7 +2450,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", @@ -2437,7 +2460,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2454,7 +2477,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -2463,7 +2486,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "parity-scale-codec", @@ -3546,8 +3569,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "bitvec", @@ -4396,7 +4419,7 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -4798,7 +4821,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4811,7 +4834,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -4826,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -4841,7 +4864,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4864,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4878,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#2a804f5b19ac5b9a9c4d63a3faa3cd9cb1364542" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#ad64f84dc7e2929eee0b821dc41d9a1ef93ab10b" dependencies = [ "beefy-primitives", "frame-support", @@ -4893,7 +4916,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -4906,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -4921,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4959,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4954,7 +4977,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -4970,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4991,7 +5014,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5006,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5024,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5039,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5054,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5071,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5087,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5105,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5119,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5132,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5148,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5162,7 +5185,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5175,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "enumflags2", "frame-support", @@ -5189,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5204,7 +5227,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5236,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-election-provider-support", "frame-support", @@ -5258,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", @@ -5269,7 +5292,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5282,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5299,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5329,7 +5352,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5346,7 +5369,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5357,7 +5380,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5372,7 +5395,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-support", "frame-system", @@ -5386,7 +5409,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "enumflags2", "frame-support", @@ -5399,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "frame-support", "frame-system", @@ -5867,7 +5890,7 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "polkadot-approval-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "polkadot-node-network-protocol", @@ -5881,7 +5904,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "parity-scale-codec", @@ -5895,7 +5918,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "lru", @@ -5918,7 +5941,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "lru", @@ -5936,8 +5959,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "frame-benchmarking-cli", "futures 0.3.14", @@ -5957,7 +5980,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "always-assert", "futures 0.3.14", @@ -5976,8 +5999,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -5988,8 +6011,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -6003,7 +6026,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "polkadot-node-network-protocol", @@ -6018,7 +6041,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-trait", "futures 0.3.14", @@ -6038,7 +6061,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "parity-scale-codec", @@ -6056,7 +6079,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "derive_more 0.99.11", @@ -6085,7 +6108,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "futures 0.3.14", @@ -6105,7 +6128,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "futures 0.3.14", @@ -6123,7 +6146,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "polkadot-node-subsystem", @@ -6138,7 +6161,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-selection" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "polkadot-node-primitives", @@ -6153,7 +6176,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-trait", "futures 0.3.14", @@ -6171,7 +6194,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "polkadot-node-subsystem", @@ -6184,7 +6207,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-proposer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "futures-timer 3.0.2", @@ -6209,7 +6232,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "futures 0.3.14", @@ -6224,7 +6247,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "always-assert", "assert_matches", @@ -6252,7 +6275,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "memory-lru", @@ -6270,7 +6293,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-std", "lazy_static", @@ -6288,7 +6311,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "parity-scale-codec", @@ -6303,7 +6326,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "futures 0.3.14", "parity-scale-codec", @@ -6325,7 +6348,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-std", "async-trait", @@ -6355,7 +6378,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-trait", "futures 0.3.14", @@ -6377,7 +6400,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-trait", "futures 0.3.14", @@ -6405,7 +6428,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "async-trait", "futures 0.3.14", @@ -6421,8 +6444,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "derive_more 0.99.11", "parity-scale-codec", @@ -6436,8 +6459,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "frame-system", @@ -6466,7 +6489,7 @@ dependencies = [ [[package]] name = "polkadot-procmacro-subsystem-dispatch-gen" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "assert_matches", "proc-macro2 1.0.26", @@ -6476,8 +6499,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -6509,8 +6532,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "bitvec", @@ -6579,8 +6602,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "bitvec", @@ -6621,8 +6644,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "bitvec", "derive_more 0.99.11", @@ -6658,8 +6681,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -6748,7 +6771,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "arrayvec 0.5.2", "futures 0.3.14", @@ -6760,14 +6783,16 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", + "sp-keystore", "sp-staking", + "thiserror", "tracing", ] [[package]] name = "polkadot-statement-table" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -6776,8 +6801,8 @@ dependencies = [ [[package]] name = "polkadot-test-client" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -6801,8 +6826,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "bitvec", @@ -6858,8 +6883,8 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "frame-benchmarking", "frame-system", @@ -7585,7 +7610,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "env_logger 0.8.3", "hex-literal 0.3.1", @@ -7705,6 +7730,7 @@ dependencies = [ "sc-tracing", "sc-transaction-pool", "serde", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", @@ -7736,8 +7762,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "frame-executive", @@ -7941,7 +7967,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "derive_more 0.99.11", @@ -7970,7 +7996,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "futures-timer 3.0.2", @@ -7993,7 +8019,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8009,7 +8035,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8030,7 +8056,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", @@ -8041,7 +8067,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "chrono", "fdlimit", @@ -8079,7 +8105,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "fnv", @@ -8113,7 +8139,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "blake2-rfc", "hash-db", @@ -8143,7 +8169,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -8155,7 +8181,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "derive_more 0.99.11", @@ -8202,7 +8228,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -8226,7 +8252,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8239,7 +8265,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "futures 0.3.14", @@ -8266,7 +8292,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "sc-client-api", @@ -8280,7 +8306,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "lazy_static", @@ -8310,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "parity-scale-codec", @@ -8327,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "parity-scale-codec", @@ -8342,7 +8368,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "parity-scale-codec", @@ -8360,7 +8386,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "derive_more 0.99.11", @@ -8400,7 +8426,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "finality-grandpa", @@ -8424,7 +8450,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -8445,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "ansi_term 0.12.1", "futures 0.3.14", @@ -8463,7 +8489,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "derive_more 0.99.11", @@ -8483,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "hash-db", "lazy_static", @@ -8502,7 +8528,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-std", "async-trait", @@ -8555,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "futures-timer 3.0.2", @@ -8572,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "bytes 0.5.6", "fnv", @@ -8600,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "libp2p", @@ -8613,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8622,7 +8648,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "hash-db", @@ -8656,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -8680,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.1.30", "jsonrpc-core", @@ -8698,7 +8724,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "directories", @@ -8762,7 +8788,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "parity-scale-codec", @@ -8777,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8797,7 +8823,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "chrono", "futures 0.3.14", @@ -8817,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8844,7 +8870,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", @@ -8855,7 +8881,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -8877,7 +8903,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "futures-diagnose", @@ -9206,8 +9232,8 @@ checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" [[package]] name = "slot-range-helper" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "enumn", "parity-scale-codec", @@ -9298,7 +9324,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "sp-core", @@ -9310,7 +9336,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "hash-db", "log", @@ -9327,7 +9353,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9339,7 +9365,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "serde", @@ -9351,7 +9377,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "integer-sqrt", "num-traits", @@ -9365,7 +9391,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9377,7 +9403,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -9388,7 +9414,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9400,7 +9426,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "log", @@ -9418,7 +9444,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "serde", "serde_json", @@ -9427,7 +9453,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "futures 0.3.14", @@ -9454,7 +9480,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9470,7 +9496,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "merlin", "parity-scale-codec", @@ -9491,7 +9517,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9501,7 +9527,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9513,7 +9539,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "base58", "blake2-rfc", @@ -9557,7 +9583,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9566,7 +9592,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro2 1.0.26", "quote 1.0.9", @@ -9576,7 +9602,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "environmental", "parity-scale-codec", @@ -9587,7 +9613,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "finality-grandpa", "log", @@ -9604,7 +9630,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", @@ -9616,7 +9642,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "hash-db", @@ -9640,7 +9666,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "lazy_static", "sp-core", @@ -9651,7 +9677,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "derive_more 0.99.11", @@ -9668,7 +9694,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "ruzstd", "zstd", @@ -9677,7 +9703,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "serde", @@ -9690,7 +9716,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2 1.0.26", @@ -9701,7 +9727,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "sp-api", "sp-core", @@ -9711,7 +9737,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "backtrace", ] @@ -9719,7 +9745,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "serde", "sp-core", @@ -9728,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "either", "hash256-std-hasher", @@ -9749,7 +9775,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9766,7 +9792,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9778,7 +9804,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "serde", "serde_json", @@ -9787,7 +9813,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9800,7 +9826,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9810,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "hash-db", "log", @@ -9832,12 +9858,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9850,7 +9876,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "sp-core", @@ -9863,7 +9889,7 @@ dependencies = [ [[package]] name = "sp-test-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -9876,7 +9902,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9889,7 +9915,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "log", "parity-scale-codec", @@ -9902,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "derive_more 0.99.11", "futures 0.3.14", @@ -9918,7 +9944,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "hash-db", "memory-db", @@ -9932,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "futures-core", @@ -9944,7 +9970,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9956,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10114,7 +10140,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "platforms", ] @@ -10122,7 +10148,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.14", @@ -10145,7 +10171,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-std", "derive_more 0.99.11", @@ -10159,7 +10185,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "async-trait", "futures 0.1.30", @@ -10188,7 +10214,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "cfg-if 1.0.0", "frame-support", @@ -10229,7 +10255,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "parity-scale-codec", @@ -10250,7 +10276,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "futures 0.3.14", "substrate-test-utils-derive", @@ -10260,7 +10286,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "proc-macro-crate 1.0.0", "quote 1.0.9", @@ -10276,7 +10302,7 @@ dependencies = [ "ansi_term 0.12.1", "atty", "build-helper", - "cargo_metadata", + "cargo_metadata 0.12.3", "tempfile", "toml", "walkdir", @@ -10286,12 +10312,12 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#282d57c0745b530fe7a9ebaffcd6ac36c09d0554" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "ansi_term 0.12.1", "atty", "build-helper", - "cargo_metadata", + "cargo_metadata 0.13.1", "sp-maybe-compressed-blob", "tempfile", "toml", @@ -10964,7 +10990,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0856e0729c5f9cd5d398b93680ab154fe486e588" +source = "git+https://github.com/paritytech/substrate?branch=master#37e97cfec065fe4acc9712b4dd9a79ec1936fa7d" dependencies = [ "frame-try-runtime", "log", @@ -10990,7 +11016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59" dependencies = [ "cfg-if 0.1.10", - "rand 0.7.3", + "rand 0.6.5", "static_assertions", ] @@ -11616,8 +11642,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "beefy-primitives", "bitvec", @@ -11793,8 +11819,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -11803,8 +11829,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "frame-support", "frame-system", @@ -11822,8 +11848,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.8.30" -source = "git+https://github.com/paritytech/polkadot?branch=master#71cc1b22b45393713c7c69df6063ad876f53757c" +version = "0.8.31" +source = "git+https://github.com/paritytech/polkadot?branch=master#efbc5a07e56e4e49a66b95a806b53885b38ca76c" dependencies = [ "frame-support", "impl-trait-for-tuples", diff --git a/cumulus/rococo-parachains/Cargo.toml b/cumulus/rococo-parachains/Cargo.toml index af61ddd243e54919ddb17d4add10c8614daa52c8..8110c125a2b5c6e9d0e07ca3ac1d5bb0f865f23a 100644 --- a/cumulus/rococo-parachains/Cargo.toml +++ b/cumulus/rococo-parachains/Cargo.toml @@ -52,6 +52,7 @@ sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "mas sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } # RPC related dependencies jsonrpc-core = "15.1.0" diff --git a/cumulus/rococo-parachains/runtime/src/lib.rs b/cumulus/rococo-parachains/runtime/src/lib.rs index f47c567e7c4f22c28475ae9631b393f44027859e..f6ebe73e3377b038efa2a1c0c7271a8ed90cfab9 100644 --- a/cumulus/rococo-parachains/runtime/src/lib.rs +++ b/cumulus/rococo-parachains/runtime/src/lib.rs @@ -38,7 +38,7 @@ use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. pub use frame_support::{ - construct_runtime, parameter_types, + construct_runtime, parameter_types, match_type, traits::{Randomness, IsInVec, All}, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, @@ -306,17 +306,6 @@ parameter_types! { pub const WeightPrice: (MultiLocation, u128) = (X1(Parent), ROC); } -macro_rules! match_type { - ( pub type $n:ident: impl Contains<$t:ty> = { $phead:pat $( | $ptail:pat )* } ; ) => { - pub struct $n; - impl frame_support::traits::Contains<$t> for $n { - fn contains(l: &$t) -> bool { - matches!(l, $phead $( | $ptail )* ) - } - } - } -} - match_type! { pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = { X1(Parent) | X2(Parent, Plurality { id: BodyId::Unit, .. }) diff --git a/cumulus/rococo-parachains/src/chain_spec.rs b/cumulus/rococo-parachains/src/chain_spec.rs index d89bd73d4b4733e98ae0eae4e5a0cd025a92e918..b07f5d5cab00662815e36106854c6b85fa491939 100644 --- a/cumulus/rococo-parachains/src/chain_spec.rs +++ b/cumulus/rococo-parachains/src/chain_spec.rs @@ -26,6 +26,9 @@ use sp_runtime::traits::{IdentifyAccount, Verify}; /// Specialized `ChainSpec` for the normal parachain runtime. pub type ChainSpec = sc_service::GenericChainSpec<parachain_runtime::GenesisConfig, Extensions>; +/// Specialized `ChainSpec` for the shell parachain runtime. +pub type ShellChainSpec = sc_service::GenericChainSpec<shell_runtime::GenesisConfig, Extensions>; + /// Helper function to generate a crypto pair from seed pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public { TPublic::Pair::from_string(&format!("//{}", seed), None) @@ -96,6 +99,23 @@ pub fn get_chain_spec(id: ParaId) -> ChainSpec { ) } +pub fn get_shell_chain_spec(id: ParaId) -> ShellChainSpec { + ShellChainSpec::from_genesis( + "Shell Local Testnet", + "shell_local_testnet", + ChainType::Local, + move || shell_testnet_genesis(id), + vec![], + None, + None, + None, + Extensions { + relay_chain: "westend-dev".into(), + para_id: id.into(), + }, + ) +} + pub fn staging_test_net(id: ParaId) -> ChainSpec { ChainSpec::from_genesis( "Staging Testnet", @@ -144,3 +164,16 @@ fn testnet_genesis( parachain_info: parachain_runtime::ParachainInfoConfig { parachain_id: id }, } } + +fn shell_testnet_genesis(parachain_id: ParaId) -> shell_runtime::GenesisConfig { + shell_runtime::GenesisConfig { + frame_system: shell_runtime::SystemConfig { + code: shell_runtime::WASM_BINARY + .expect("WASM binary was not build, please build it!") + .to_vec(), + changes_trie_config: Default::default(), + }, + pallet_balances: shell_runtime::BalancesConfig::default(), + parachain_info: shell_runtime::ParachainInfoConfig { parachain_id }, + } +} diff --git a/cumulus/rococo-parachains/src/command.rs b/cumulus/rococo-parachains/src/command.rs index 94d75fac01120406314ab062462f70754cb7e45b..bf9f3ce84999a8a9f707959e3afa2fb9a534be14 100644 --- a/cumulus/rococo-parachains/src/command.rs +++ b/cumulus/rococo-parachains/src/command.rs @@ -30,7 +30,6 @@ use sc_cli::{ }; use sc_service::{ config::{BasePath, PrometheusConfig}, - PartialComponents, }; use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::Block as BlockT; @@ -51,6 +50,7 @@ fn load_spec( "track" => Ok(Box::new(chain_spec::ChainSpec::from_json_bytes( &include_bytes!("../res/track.json")[..], )?)), + "shell" => Ok(Box::new(chain_spec::get_shell_chain_spec(para_id))), "" => Ok(Box::new(chain_spec::get_chain_spec(para_id))), path => Ok(Box::new(chain_spec::ChainSpec::from_json_file( path.into(), @@ -146,6 +146,31 @@ fn extract_genesis_wasm(chain_spec: &Box<dyn sc_service::ChainSpec>) -> Result<V .ok_or_else(|| "Could not find wasm file in genesis state!".into()) } +fn use_shell_runtime(chain_spec: &Box<dyn ChainSpec>) -> bool { + chain_spec.id().starts_with("track") || chain_spec.id().starts_with("shell") +} + +use crate::service::{new_partial, RuntimeExecutor, ShellRuntimeExecutor}; + +macro_rules! construct_async_run { + (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ + let runner = $cli.create_runner($cmd)?; + if use_shell_runtime(&runner.config().chain_spec) { + runner.async_run(|$config| { + let $components = new_partial::<shell_runtime::RuntimeApi, ShellRuntimeExecutor>(&$config)?; + let task_manager = $components.task_manager; + { $( $code )* }.map(|v| (v, task_manager)) + }) + } else { + runner.async_run(|$config| { + let $components = new_partial::<parachain_runtime::RuntimeApi, RuntimeExecutor>(&$config)?; + let task_manager = $components.task_manager; + { $( $code )* }.map(|v| (v, task_manager)) + }) + } + }} +} + /// Parse command line arguments into service configuration. pub fn run() -> Result<()> { let cli = Cli::from_args(); @@ -155,52 +180,18 @@ pub fn run() -> Result<()> { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| cmd.run(config.chain_spec, config.network)) } - Some(Subcommand::CheckBlock(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - import_queue, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, import_queue), task_manager)) - }) - } - Some(Subcommand::ExportBlocks(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, config.database), task_manager)) - }) - } - Some(Subcommand::ExportState(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, config.chain_spec), task_manager)) - }) - } - Some(Subcommand::ImportBlocks(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - import_queue, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, import_queue), task_manager)) - }) - } + Some(Subcommand::CheckBlock(cmd)) => construct_async_run! (|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.import_queue)) + }), + Some(Subcommand::ExportBlocks(cmd)) => construct_async_run! (|components, cli, cmd, config| { + Ok(cmd.run(components.client, config.database)) + }), + Some(Subcommand::ExportState(cmd)) => construct_async_run! (|components, cli, cmd, config| { + Ok(cmd.run(components.client, config.chain_spec)) + }), + Some(Subcommand::ImportBlocks(cmd)) => construct_async_run! (|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.import_queue)) + }), Some(Subcommand::PurgeChain(cmd)) => { let runner = cli.create_runner(cmd)?; @@ -222,18 +213,9 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) } - Some(Subcommand::Revert(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.async_run(|config| { - let PartialComponents { - client, - task_manager, - backend, - .. - } = crate::service::new_partial(&config)?; - Ok((cmd.run(client, backend), task_manager)) - }) - } + Some(Subcommand::Revert(cmd)) => construct_async_run! (|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.backend)) + }), Some(Subcommand::ExportGenesisState(params)) => { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_profiling(sc_tracing::TracingReceiver::Log, ""); @@ -281,6 +263,7 @@ pub fn run() -> Result<()> { } None => { let runner = cli.create_runner(&*cli.run)?; + let use_shell = use_shell_runtime(&runner.config().chain_spec); runner.run_node_until_exit(|config| async move { // TODO @@ -319,10 +302,17 @@ pub fn run() -> Result<()> { info!("Parachain genesis state: {}", genesis_state); info!("Is collating: {}", if collator { "yes" } else { "no" }); - crate::service::start_node(config, key, polkadot_config, id, collator) - .await - .map(|r| r.0) - .map_err(Into::into) + if use_shell { + crate::service::start_shell_node(config, key, polkadot_config, id, collator) + .await + .map(|r| r.0) + .map_err(Into::into) + } else { + crate::service::start_node(config, key, polkadot_config, id, collator) + .await + .map(|r| r.0) + .map_err(Into::into) + } }) } } diff --git a/cumulus/rococo-parachains/src/service.rs b/cumulus/rococo-parachains/src/service.rs index 6211aa29aa329f274b2d4f4d7322545dc60e8724..677be33d1cb0ba88ab63ecca14c115921dbd6d7f 100644 --- a/cumulus/rococo-parachains/src/service.rs +++ b/cumulus/rococo-parachains/src/service.rs @@ -22,7 +22,6 @@ use cumulus_client_service::{ prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::ParaId; -use parachain_runtime::RuntimeApi; use polkadot_primitives::v0::CollatorPair; use rococo_parachain_primitives::Block; use sc_executor::native_executor_instance; @@ -31,20 +30,28 @@ use sc_service::{Configuration, PartialComponents, Role, TFullBackend, TFullClie use sc_telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle}; use sp_runtime::traits::BlakeTwo256; use sp_trie::PrefixedMemoryDB; +use sp_api::ConstructRuntimeApi; use std::sync::Arc; // Native executor instance. native_executor_instance!( - pub Executor, + pub RuntimeExecutor, parachain_runtime::api::dispatch, parachain_runtime::native_version, ); +// Native executor instance. +native_executor_instance!( + pub ShellRuntimeExecutor, + shell_runtime::api::dispatch, + shell_runtime::native_version, +); + /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. -pub fn new_partial( +pub fn new_partial<RuntimeApi, Executor>( config: &Configuration, ) -> Result< PartialComponents< @@ -56,7 +63,22 @@ pub fn new_partial( (Option<Telemetry>, Option<TelemetryWorkerHandle>), >, sc_service::Error, -> { +> where + RuntimeApi: ConstructRuntimeApi<Block, TFullClient<Block, RuntimeApi, Executor>> + + Send + + Sync + + 'static, + RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> + + sp_api::Metadata<Block> + + sp_session::SessionKeys<Block> + + sp_api::ApiExt< + Block, + StateBackend = sc_client_api::StateBackendFor<TFullBackend<Block>, Block>, + > + sp_offchain::OffchainWorkerApi<Block> + + sp_block_builder::BlockBuilder<Block>, + sc_client_api::StateBackendFor<TFullBackend<Block>, Block>: sp_api::StateBackend<BlakeTwo256>, + Executor: sc_executor::NativeExecutionDispatch + 'static, +{ let inherent_data_providers = sp_inherents::InherentDataProviders::new(); let telemetry = config.telemetry_endpoints.clone() @@ -122,7 +144,7 @@ pub fn new_partial( /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] -async fn start_node_impl<RB>( +async fn start_node_impl<RuntimeApi, Executor, RB>( parachain_config: Configuration, collator_key: CollatorPair, polkadot_config: Configuration, @@ -131,6 +153,20 @@ async fn start_node_impl<RB>( rpc_ext_builder: RB, ) -> sc_service::error::Result<(TaskManager, Arc<TFullClient<Block, RuntimeApi, Executor>>)> where + RuntimeApi: ConstructRuntimeApi<Block, TFullClient<Block, RuntimeApi, Executor>> + + Send + + Sync + + 'static, + RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> + + sp_api::Metadata<Block> + + sp_session::SessionKeys<Block> + + sp_api::ApiExt< + Block, + StateBackend = sc_client_api::StateBackendFor<TFullBackend<Block>, Block>, + > + sp_offchain::OffchainWorkerApi<Block> + + sp_block_builder::BlockBuilder<Block>, + sc_client_api::StateBackendFor<TFullBackend<Block>, Block>: sp_api::StateBackend<BlakeTwo256>, + Executor: sc_executor::NativeExecutionDispatch + 'static, RB: Fn( Arc<TFullClient<Block, RuntimeApi, Executor>>, ) -> jsonrpc_core::IoHandler<sc_rpc::Metadata> @@ -143,7 +179,7 @@ where let parachain_config = prepare_node_config(parachain_config); - let params = new_partial(¶chain_config)?; + let params = new_partial::<RuntimeApi, Executor>(¶chain_config)?; params .inherent_data_providers .register_provider(sp_timestamp::InherentDataProvider) @@ -259,21 +295,42 @@ where Ok((task_manager, client)) } -/// Start a normal parachain node. +/// Start a rococo-test parachain node. pub async fn start_node( parachain_config: Configuration, collator_key: CollatorPair, polkadot_config: Configuration, id: ParaId, validator: bool, -) -> sc_service::error::Result<(TaskManager, Arc<TFullClient<Block, RuntimeApi, Executor>>)> { - start_node_impl( +) -> sc_service::error::Result< + (TaskManager, Arc<TFullClient<Block, parachain_runtime::RuntimeApi, RuntimeExecutor>>) +> { + start_node_impl::<parachain_runtime::RuntimeApi, RuntimeExecutor, _>( + parachain_config, + collator_key, + polkadot_config, + id, + validator, + |_| Default::default(), + ).await +} + +/// Start a rococo-shell parachain node. +pub async fn start_shell_node( + parachain_config: Configuration, + collator_key: CollatorPair, + polkadot_config: Configuration, + id: ParaId, + validator: bool, +) -> sc_service::error::Result< + (TaskManager, Arc<TFullClient<Block, shell_runtime::RuntimeApi, ShellRuntimeExecutor>>) +> { + start_node_impl::<shell_runtime::RuntimeApi, ShellRuntimeExecutor, _>( parachain_config, collator_key, polkadot_config, id, validator, |_| Default::default(), - ) - .await + ).await }