From 8dc9d0c440de21a41eaaf7603387354c969ee2e0 Mon Sep 17 00:00:00 2001 From: cheme Date: Mon, 16 May 2022 13:32:27 +0200 Subject: [PATCH 01/10] add state-trie-migration (warn key need to be changed) --- Cargo.lock | 382 +++++++++++++++++------------- runtime/rococo/Cargo.toml | 4 + runtime/rococo/src/lib.rs | 48 +++- runtime/rococo/src/weights/mod.rs | 1 + 4 files changed, 262 insertions(+), 173 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a6e91548bf0..dee8078a1dfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -433,7 +433,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "beefy-primitives", "fnv", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -487,12 +487,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -2136,7 +2136,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", ] @@ -2154,7 +2154,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "Inflector", "chrono", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2237,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "bitflags", "frame-metadata", @@ -2311,7 +2311,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2323,7 +2323,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2335,7 +2335,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro2", "quote", @@ -2345,7 +2345,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2368,7 +2368,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -2379,7 +2379,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "log", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -2411,7 +2411,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "sp-api", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "sp-api", @@ -2599,7 +2599,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "chrono", "frame-election-provider-support", @@ -4910,7 +4910,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -4924,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -4940,7 +4940,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -4955,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -4979,7 +4979,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4999,7 +4999,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-election-provider-support", "frame-support", @@ -5018,7 +5018,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "beefy-primitives", "frame-support", @@ -5049,7 +5049,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5072,7 +5072,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5173,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5190,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5260,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5298,7 +5298,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5334,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5351,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5368,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5386,7 +5386,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5401,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5416,7 +5416,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5430,10 +5430,11 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -5445,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5464,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5504,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5535,7 +5536,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5550,7 +5551,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5566,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5587,7 +5588,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5603,7 +5604,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5617,7 +5618,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5640,7 +5641,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5651,16 +5652,33 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "sp-arithmetic", ] +[[package]] +name = "pallet-state-trie-migration" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5674,7 +5692,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5692,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5711,7 +5729,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-support", "frame-system", @@ -5728,7 +5746,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5743,7 +5761,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5754,7 +5772,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5771,7 +5789,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -5787,7 +5805,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-benchmarking", "frame-support", @@ -8295,7 +8313,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8445,6 +8463,7 @@ dependencies = [ "pallet-proxy", "pallet-session", "pallet-staking", + "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -8673,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "sp-core", @@ -8684,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -8711,7 +8730,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8734,7 +8753,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8750,7 +8769,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8767,7 +8786,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8778,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "chrono", "clap", @@ -8817,7 +8836,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "fnv", "futures 0.3.21", @@ -8845,7 +8864,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "hash-db", "kvdb", @@ -8870,7 +8889,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -8894,7 +8913,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "fork-tree", @@ -8937,7 +8956,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -8959,7 +8978,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8972,7 +8991,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -8997,7 +9016,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "sc-client-api", "sp-authorship", @@ -9008,7 +9027,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "lazy_static", "lru 0.7.5", @@ -9035,7 +9054,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "environmental", "parity-scale-codec", @@ -9052,7 +9071,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "parity-scale-codec", @@ -9067,7 +9086,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9085,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ahash", "async-trait", @@ -9125,7 +9144,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9146,7 +9165,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9163,7 +9182,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "hex", @@ -9178,7 +9197,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "asynchronous-codec", @@ -9207,6 +9226,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-network-common", + "sc-network-light", "sc-network-sync", "sc-peerset", "sc-utils", @@ -9229,7 +9249,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "libp2p", @@ -9242,7 +9262,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ahash", "futures 0.3.21", @@ -9256,10 +9276,30 @@ dependencies = [ "tracing", ] +[[package]] +name = "sc-network-light" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" +dependencies = [ + "futures 0.3.21", + "libp2p", + "log", + "parity-scale-codec", + "prost", + "prost-build", + "sc-client-api", + "sc-network-common", + "sc-peerset", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "bitflags", "either", @@ -9288,7 +9328,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "bytes", "fnv", @@ -9316,7 +9356,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "libp2p", @@ -9329,7 +9369,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9338,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "hash-db", @@ -9368,7 +9408,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9391,7 +9431,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9404,7 +9444,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "directories", @@ -9469,7 +9509,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "parity-scale-codec", @@ -9483,7 +9523,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9502,7 +9542,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "libc", @@ -9521,7 +9561,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "chrono", "futures 0.3.21", @@ -9539,7 +9579,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ansi_term", "atty", @@ -9570,7 +9610,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9581,7 +9621,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9608,7 +9648,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "log", @@ -9621,7 +9661,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10098,7 +10138,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "hash-db", "log", @@ -10115,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "blake2", "proc-macro-crate", @@ -10127,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10140,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "integer-sqrt", "num-traits", @@ -10155,7 +10195,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10168,7 +10208,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "parity-scale-codec", @@ -10180,7 +10220,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "sp-api", @@ -10192,7 +10232,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "log", @@ -10210,7 +10250,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -10229,7 +10269,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "merlin", @@ -10252,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10266,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10279,7 +10319,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "base58", "bitflags", @@ -10325,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "blake2", "byteorder", @@ -10339,7 +10379,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro2", "quote", @@ -10350,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10359,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10409,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "environmental", "parity-scale-codec", @@ -10380,7 +10420,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "finality-grandpa", "log", @@ -10398,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10412,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "hash-db", @@ -10437,7 +10477,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "lazy_static", "sp-core", @@ -10448,7 +10488,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -10465,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "thiserror", "zstd", @@ -10474,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "parity-scale-codec", @@ -10489,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10503,7 +10543,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "sp-api", "sp-core", @@ -10513,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "backtrace", "lazy_static", @@ -10523,7 +10563,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "rustc-hash", "serde", @@ -10533,7 +10573,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "either", "hash256-std-hasher", @@ -10555,7 +10595,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10572,7 +10612,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "Inflector", "proc-macro-crate", @@ -10584,7 +10624,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "parity-scale-codec", @@ -10598,7 +10638,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "serde", "serde_json", @@ -10607,7 +10647,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10621,7 +10661,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "scale-info", @@ -10632,7 +10672,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "hash-db", "log", @@ -10654,12 +10694,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10672,7 +10712,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "log", "sp-core", @@ -10685,7 +10725,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures-timer", @@ -10701,7 +10741,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "sp-std", @@ -10713,7 +10753,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "sp-api", "sp-runtime", @@ -10722,7 +10762,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "log", @@ -10738,7 +10778,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "hash-db", "memory-db", @@ -10754,7 +10794,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10771,7 +10811,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10782,7 +10822,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "impl-trait-for-tuples", "log", @@ -10974,7 +11014,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "platforms", ] @@ -10982,7 +11022,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11003,7 +11043,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures-util", "hyper", @@ -11016,7 +11056,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "jsonrpsee", "log", @@ -11037,7 +11077,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "async-trait", "futures 0.3.21", @@ -11063,7 +11103,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11073,7 +11113,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11084,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "ansi_term", "build-helper", @@ -11810,7 +11850,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#76a6cc3ca66926fa88569c2b5bfe2b311ef335ae" +source = "git+https://github.com/paritytech/substrate?branch=master#73ca2dacd2bcfd300d270b4e0211621200c0c596" dependencies = [ "clap", "jsonrpsee", diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 5d89fe43725b..8e2b7e16aa32 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -46,6 +46,7 @@ pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "ma pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-state-trie-migration = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -122,6 +123,7 @@ std = [ "pallet-im-online/std", "pallet-session/std", "pallet-staking/std", + "pallet-state-trie-migration/std", "pallet-offences/std", "pallet-proxy/std", "pallet-timestamp/std", @@ -177,6 +179,7 @@ runtime-benchmarks = [ "pallet-membership/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-staking/runtime-benchmarks", + "pallet-state-trie-migration/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", @@ -202,6 +205,7 @@ try-runtime = [ "pallet-im-online/try-runtime", "pallet-membership/try-runtime", "pallet-session/try-runtime", + "pallet-state-trie-migration/try-runtime", "pallet-proxy/try-runtime", "pallet-staking/try-runtime", "pallet-offences/try-runtime", diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 2a820d265a67..2ea667bcb4f8 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -27,7 +27,7 @@ use beefy_primitives::{ }; use frame_support::{ construct_runtime, parameter_types, - traits::{Contains, InstanceFilter, KeyOwnerProofSystem}, + traits::{Contains, InstanceFilter, KeyOwnerProofSystem, SortedMembers}, PalletId, }; use frame_system::EnsureRoot; @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], transaction_version: 0, - state_version: 0, + state_version: 1, }; /// The BABE epoch configuration at genesis. @@ -219,6 +219,7 @@ construct_runtime! { Slots: slots::{Pallet, Call, Storage, Event}, ParasSudoWrapper: paras_sudo_wrapper::{Pallet, Call}, AssignedSlots: assigned_slots::{Pallet, Call, Storage, Event}, + StateTrieMigration: pallet_state_trie_migration, // Sudo Sudo: pallet_sudo, @@ -1066,6 +1067,48 @@ impl pallet_multisig::Config for Runtime { type WeightInfo = weights::pallet_multisig::WeightInfo; } +use pallet_state_trie_migration::MigrationLimits; +parameter_types! { + // The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high) + pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS; + pub const MigrationSignedDepositBase: Balance = 20 * DOLLARS; +} + +impl pallet_state_trie_migration::Config for Runtime { + type Event = Event; + type Currency = Balances; + type SignedDepositPerItem = MigrationSignedDepositPerItem; + type SignedDepositBase = MigrationSignedDepositBase; + // An origin that can control the whole pallet: should be Root, or a part of your council. + type ControlOrigin = EnsureRoot; + // specific account for the migration, can trigger the signed migrations. + type SignedFilter = frame_system::EnsureSignedBy; + //type SignedFilter = frame_system::EnsureSigned; + + // Replace this with weight based on your runtime. + type WeightInfo = weights::pallet_state_trie_migration::WeightInfo; +} + +pub struct MigController; + +const KEY_MIG_CONTROLLER: [u8; 32] = [78, 108, 243, 247, 41, 70, 156, 34, 206, 222, 31, 148, 224, 84, 205, 43, 243, 75, 111, 97, 51, 182, 220, 160, 160, 143, 140, 250, 146, 252, 199, 114]; + +impl SortedMembers for MigController { + fn sorted_members() -> Vec { + // hardcoded key of controller for manual migration + vec![KEY_MIG_CONTROLLER.into()] + } +} + +#[test] +fn ensure_key_ss58() { + use sp_core::crypto::Ss58Codec; + let acc = AccountId::from_ss58check("5DqXxWrJPv9QX8GDY227fb1f8gbEfrabi9bvBK4htA7idHR5").unwrap(); + let acc: &[u8] = acc.as_ref(); + assert_eq!(acc, &KEY_MIG_CONTROLLER[..]); +// panic!("{:?}", acc); +} + #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; @@ -1095,6 +1138,7 @@ mod benches { [pallet_indices, Indices] [pallet_membership, Membership] [pallet_multisig, Multisig] + [pallet_state_trie_migration, StateTrieMigration] [pallet_proxy, Proxy] [frame_system, SystemBench::] [pallet_timestamp, Timestamp] diff --git a/runtime/rococo/src/weights/mod.rs b/runtime/rococo/src/weights/mod.rs index ca5a5673e375..a7b47ed4211f 100644 --- a/runtime/rococo/src/weights/mod.rs +++ b/runtime/rococo/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod pallet_membership; pub mod pallet_multisig; pub mod pallet_proxy; pub mod pallet_session; +pub mod pallet_state_trie_migration; pub mod pallet_timestamp; pub mod pallet_utility; pub mod runtime_common_auctions; From 04bc8ead9d526c5919fe8cf2573252868a153e90 Mon Sep 17 00:00:00 2001 From: cheme Date: Mon, 4 Jul 2022 14:13:50 +0200 Subject: [PATCH 02/10] rococo root --- runtime/rococo/src/lib.rs | 42 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 5ee06f1cefb5..c2bdcb48faea 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1070,35 +1070,36 @@ impl pallet_multisig::Config for Runtime { type WeightInfo = weights::pallet_multisig::WeightInfo; } -use pallet_state_trie_migration::MigrationLimits; parameter_types! { - // The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high) - pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS; - pub const MigrationSignedDepositBase: Balance = 20 * DOLLARS; + // The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high) + pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS; + pub const MigrationSignedDepositBase: Balance = 20 * DOLLARS; pub const MigrationMaxKeyLen: u32 = 512; } impl pallet_state_trie_migration::Config for Runtime { - type Event = Event; - type Currency = Balances; - type SignedDepositPerItem = MigrationSignedDepositPerItem; - type SignedDepositBase = MigrationSignedDepositBase; - // An origin that can control the whole pallet: should be Root, or a part of your council. - type ControlOrigin = EnsureRoot; - // specific account for the migration, can trigger the signed migrations. - type SignedFilter = frame_system::EnsureSignedBy; - //type SignedFilter = frame_system::EnsureSigned; + type Event = Event; + type Currency = Balances; + type SignedDepositPerItem = MigrationSignedDepositPerItem; + type SignedDepositBase = MigrationSignedDepositBase; + // An origin that can control the whole pallet: should be Root, or a part of your council. + type ControlOrigin = EnsureRoot; + // specific account for the migration, can trigger the signed migrations. + type SignedFilter = frame_system::EnsureSignedBy; + //type SignedFilter = frame_system::EnsureSigned; - // Replace this with weight based on your runtime. - type WeightInfo = weights::pallet_state_trie_migration::WeightInfo; + // Replace this with weight based on your runtime. + type WeightInfo = weights::pallet_state_trie_migration::WeightInfo; - type MaxKeyLen = MigrationMaxKeyLen; + type MaxKeyLen = MigrationMaxKeyLen; } pub struct MigController; -const KEY_MIG_CONTROLLER: [u8; 32] = [78, 108, 243, 247, 41, 70, 156, 34, 206, 222, 31, 148, 224, 84, 205, 43, 243, 75, 111, 97, 51, 182, 220, 160, 160, 143, 140, 250, 146, 252, 199, 114]; - +const KEY_MIG_CONTROLLER: [u8; 32] = [ + 82, 188, 113, 193, 236, 165, 53, 55, 73, 84, 45, 253, 240, 175, 151, 191, 118, 79, 156, 47, 68, + 232, 96, 205, 72, 95, 28, 216, 100, 0, 246, 73, +]; impl SortedMembers for MigController { fn sorted_members() -> Vec { // hardcoded key of controller for manual migration @@ -1109,10 +1110,11 @@ impl SortedMembers for MigController { #[test] fn ensure_key_ss58() { use sp_core::crypto::Ss58Codec; - let acc = AccountId::from_ss58check("5DqXxWrJPv9QX8GDY227fb1f8gbEfrabi9bvBK4htA7idHR5").unwrap(); + let acc = + AccountId::from_ss58check("5DwBmEFPXRESyEam5SsQF1zbWSCn2kCjyLW51hJHXe9vW4xs").unwrap(); let acc: &[u8] = acc.as_ref(); assert_eq!(acc, &KEY_MIG_CONTROLLER[..]); -// panic!("{:?}", acc); + // panic!("{:?}", acc); } #[cfg(feature = "runtime-benchmarks")] From 71e2c1203ffd5512196459dca948ea22e4327586 Mon Sep 17 00:00:00 2001 From: cheme Date: Fri, 7 Oct 2022 17:45:39 +0200 Subject: [PATCH 03/10] restore master benchs (weights from substrate are used). --- runtime/rococo/src/lib.rs | 89 +++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 45 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 1b40feb35023..588de858cab9 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1518,51 +1518,50 @@ extern crate frame_benchmarking; #[cfg(feature = "runtime-benchmarks")] mod benches { define_benchmarks!( - // Polkadot - // NOTE: Make sure to prefix these with `runtime_common::` so - // the that path resolves correctly in the generated file. - [runtime_common::auctions, Auctions] - [runtime_common::crowdloan, Crowdloan] - [runtime_common::claims, Claims] - [runtime_common::slots, Slots] - [runtime_common::paras_registrar, Registrar] - [runtime_parachains::configuration, Configuration] - [runtime_parachains::hrmp, Hrmp] - [runtime_parachains::disputes, ParasDisputes] - [runtime_parachains::initializer, Initializer] - [runtime_parachains::paras_inherent, ParaInherent] - [runtime_parachains::paras, Paras] - [runtime_parachains::ump, Ump] - // Substrate - [pallet_balances, Balances] - [frame_benchmarking::baseline, Baseline::] - [pallet_bounties, Bounties] - [pallet_child_bounties, ChildBounties] - [pallet_collective, Council] - [pallet_collective, TechnicalCommittee] - [pallet_democracy, Democracy] - [pallet_elections_phragmen, PhragmenElection] - [pallet_gilt, Gilt] - [pallet_identity, Identity] - [pallet_im_online, ImOnline] - [pallet_indices, Indices] - [pallet_membership, TechnicalMembership] - [pallet_multisig, Multisig] - [pallet_preimage, Preimage] - [pallet_state_trie_migration, StateTrieMigration] - [pallet_proxy, Proxy] - [pallet_recovery, Recovery] - [pallet_scheduler, Scheduler] - [frame_system, SystemBench::] - [pallet_timestamp, Timestamp] - [pallet_tips, Tips] - [pallet_treasury, Treasury] - [pallet_utility, Utility] - [pallet_vesting, Vesting] - // XCM - [pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::] - [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] - ); + // Polkadot + // NOTE: Make sure to prefix these with `runtime_common::` so + // the that path resolves correctly in the generated file. + [runtime_common::auctions, Auctions] + [runtime_common::crowdloan, Crowdloan] + [runtime_common::claims, Claims] + [runtime_common::slots, Slots] + [runtime_common::paras_registrar, Registrar] + [runtime_parachains::configuration, Configuration] + [runtime_parachains::hrmp, Hrmp] + [runtime_parachains::disputes, ParasDisputes] + [runtime_parachains::initializer, Initializer] + [runtime_parachains::paras_inherent, ParaInherent] + [runtime_parachains::paras, Paras] + [runtime_parachains::ump, Ump] + // Substrate + [pallet_balances, Balances] + [frame_benchmarking::baseline, Baseline::] + [pallet_bounties, Bounties] + [pallet_child_bounties, ChildBounties] + [pallet_collective, Council] + [pallet_collective, TechnicalCommittee] + [pallet_democracy, Democracy] + [pallet_elections_phragmen, PhragmenElection] + [pallet_gilt, Gilt] + [pallet_identity, Identity] + [pallet_im_online, ImOnline] + [pallet_indices, Indices] + [pallet_membership, TechnicalMembership] + [pallet_multisig, Multisig] + [pallet_preimage, Preimage] + [pallet_proxy, Proxy] + [pallet_recovery, Recovery] + [pallet_scheduler, Scheduler] + [frame_system, SystemBench::] + [pallet_timestamp, Timestamp] + [pallet_tips, Tips] + [pallet_treasury, Treasury] + [pallet_utility, Utility] + [pallet_vesting, Vesting] + // XCM + [pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::] + [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] + ); } pub type MmrHashing = ::Hashing; From 3532ccd7869274c823d4ab17f2d97c66d00d821c Mon Sep 17 00:00:00 2001 From: cheme Date: Fri, 7 Oct 2022 18:44:51 +0200 Subject: [PATCH 04/10] use ord_parameter macro. --- runtime/rococo/Cargo.toml | 4 +--- runtime/rococo/src/lib.rs | 21 ++++++--------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 9ea10123c850..2199ba2a3644 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -78,7 +78,7 @@ pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-feat frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -hex-literal = { version = "0.3.4", optional = true } +hex-literal = { version = "0.3.4" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false } @@ -90,7 +90,6 @@ xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", defa xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } [dev-dependencies] -hex-literal = "0.3.4" tiny-keccak = { version = "2.0.2", features = ["keccak"] } keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -209,7 +208,6 @@ runtime-benchmarks = [ "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", - "hex-literal", "xcm-builder/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 588de858cab9..8a72f1c2ea66 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -55,7 +55,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ Contains, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, - PrivilegeCmp, SortedMembers, + PrivilegeCmp, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -1488,27 +1488,18 @@ impl pallet_state_trie_migration::Config for Runtime { type MaxKeyLen = MigrationMaxKeyLen; } -pub struct MigController; - -const KEY_MIG_CONTROLLER: [u8; 32] = [ - 82, 188, 113, 193, 236, 165, 53, 55, 73, 84, 45, 253, 240, 175, 151, 191, 118, 79, 156, 47, 68, - 232, 96, 205, 72, 95, 28, 216, 100, 0, 246, 73, -]; -impl SortedMembers for MigController { - fn sorted_members() -> Vec { - // hardcoded key of controller for manual migration - vec![KEY_MIG_CONTROLLER.into()] - } +frame_support::ord_parameter_types! { + pub const MigController: AccountId = AccountId::from(hex_literal::hex!("52bc71c1eca5353749542dfdf0af97bf764f9c2f44e860cd485f1cd86400f649")); } #[test] fn ensure_key_ss58() { + use frame_support::traits::SortedMembers; use sp_core::crypto::Ss58Codec; let acc = AccountId::from_ss58check("5DwBmEFPXRESyEam5SsQF1zbWSCn2kCjyLW51hJHXe9vW4xs").unwrap(); - let acc: &[u8] = acc.as_ref(); - assert_eq!(acc, &KEY_MIG_CONTROLLER[..]); - // panic!("{:?}", acc); + //panic!("{:x?}", acc); + assert_eq!(acc, MigController::sorted_members()[0]); } #[cfg(feature = "runtime-benchmarks")] From 627f2ce5f78fb5f7cc60ea5fe98c0fb2a685b940 Mon Sep 17 00:00:00 2001 From: cheme Date: Wed, 12 Oct 2022 19:05:08 +0200 Subject: [PATCH 05/10] do not upgrade runtime version yet --- runtime/rococo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 8a72f1c2ea66..beb143e26cfa 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -108,7 +108,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9291, + spec_version: 9290, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, From 5ec823ab8a6d20bced60a17c01a336f81740de7c Mon Sep 17 00:00:00 2001 From: Emeric Chevalier Date: Tue, 25 Oct 2022 08:44:42 +0200 Subject: [PATCH 06/10] apply review changes --- runtime/rococo/src/lib.rs | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index beb143e26cfa..17296c966197 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1375,9 +1375,6 @@ construct_runtime! { // Gilts pallet. Gilt: pallet_gilt::{Pallet, Call, Storage, Event, Config} = 38, - // State trie migration pallet, only temporary. - StateTrieMigration: pallet_state_trie_migration = 41, - // Parachains pallets. Start indices at 50 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 50, Configuration: parachains_configuration::{Pallet, Call, Storage, Config} = 51, @@ -1416,6 +1413,9 @@ construct_runtime! { // Validator Manager pallet. ValidatorManager: validator_manager::{Pallet, Call, Storage, Event} = 252, + // State trie migration pallet, only temporary. + StateTrieMigration: pallet_state_trie_migration = 254, + // Sudo. Sudo: pallet_sudo::{Pallet, Call, Storage, Event, Config} = 255, } @@ -1478,7 +1478,6 @@ impl pallet_state_trie_migration::Config for Runtime { type Currency = Balances; type SignedDepositPerItem = MigrationSignedDepositPerItem; type SignedDepositBase = MigrationSignedDepositBase; - // An origin that can control the whole pallet: should be Root, or a part of your council. type ControlOrigin = EnsureRoot; // specific account for the migration, can trigger the signed migrations. type SignedFilter = frame_system::EnsureSignedBy; @@ -1492,16 +1491,6 @@ frame_support::ord_parameter_types! { pub const MigController: AccountId = AccountId::from(hex_literal::hex!("52bc71c1eca5353749542dfdf0af97bf764f9c2f44e860cd485f1cd86400f649")); } -#[test] -fn ensure_key_ss58() { - use frame_support::traits::SortedMembers; - use sp_core::crypto::Ss58Codec; - let acc = - AccountId::from_ss58check("5DwBmEFPXRESyEam5SsQF1zbWSCn2kCjyLW51hJHXe9vW4xs").unwrap(); - //panic!("{:x?}", acc); - assert_eq!(acc, MigController::sorted_members()[0]); -} - #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; From 5df6c5c74c5d172f254579cbb76caeb44af80ec2 Mon Sep 17 00:00:00 2001 From: cheme Date: Thu, 10 Nov 2022 14:17:13 +0100 Subject: [PATCH 07/10] to test ci --- runtime/rococo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index b230832b7454..98928c1001f1 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], transaction_version: 15, - state_version: 1, + state_version: 0, }; /// The BABE epoch configuration at genesis. From a7f7eff6ee001cf6923852352f1cc160f6fc60d5 Mon Sep 17 00:00:00 2001 From: cheme Date: Thu, 10 Nov 2022 14:18:18 +0100 Subject: [PATCH 08/10] Revert "to test ci" This reverts commit 5df6c5c74c5d172f254579cbb76caeb44af80ec2. --- runtime/rococo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 98928c1001f1..b230832b7454 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], transaction_version: 15, - state_version: 0, + state_version: 1, }; /// The BABE epoch configuration at genesis. From 0747761644ba566f9756e195e5304758370dc52c Mon Sep 17 00:00:00 2001 From: cheme Date: Thu, 10 Nov 2022 15:27:59 +0100 Subject: [PATCH 09/10] test ci --- runtime/rococo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index b230832b7454..50066d13611e 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -108,7 +108,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9310, + spec_version: 9311, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, From aba9881eabc4708befaad8b94556d878ea7574cb Mon Sep 17 00:00:00 2001 From: cheme Date: Thu, 10 Nov 2022 15:36:01 +0100 Subject: [PATCH 10/10] Revert "test ci" This reverts commit 0747761644ba566f9756e195e5304758370dc52c. --- runtime/rococo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 50066d13611e..b230832b7454 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -108,7 +108,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9311, + spec_version: 9310, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS,