diff --git a/Cargo.lock b/Cargo.lock index d034906a741c..0aebf5b5413a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1429,7 +1429,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", ] @@ -1437,7 +1437,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -1455,7 +1455,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1473,7 +1473,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -1488,8 +1488,8 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +version = "12.0.0-rc6" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "serde", @@ -1500,7 +1500,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "bitmask", "frame-metadata", @@ -1525,7 +1525,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1536,7 +1536,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1548,7 +1548,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1558,7 +1558,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1574,7 +1574,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -1588,7 +1588,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-api", @@ -3756,7 +3756,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3772,7 +3772,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3812,7 +3812,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3826,7 +3826,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3857,7 +3857,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3872,7 +3872,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3888,7 +3888,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3910,7 +3910,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -3946,7 +3946,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3962,7 +3962,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3976,7 +3976,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -3991,7 +3991,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4005,7 +4005,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4020,7 +4020,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4041,7 +4041,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4056,7 +4056,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4069,7 +4069,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "enumflags2", "frame-support", @@ -4084,7 +4084,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4099,7 +4099,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4119,7 +4119,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4135,7 +4135,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4149,7 +4149,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4171,7 +4171,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -4182,7 +4182,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4196,7 +4196,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4214,7 +4214,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "frame-system", @@ -4231,7 +4231,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4249,7 +4249,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-support", "parity-scale-codec", @@ -4262,7 +4262,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4277,7 +4277,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4293,7 +4293,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6480,7 +6480,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "bytes 0.5.6", "derive_more 0.99.9", @@ -6508,7 +6508,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6532,7 +6532,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6549,7 +6549,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6566,7 +6566,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6577,7 +6577,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6626,7 +6626,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6662,7 +6662,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "blake2-rfc", "hash-db", @@ -6692,7 +6692,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6703,7 +6703,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6747,7 +6747,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6771,7 +6771,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6784,7 +6784,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6807,7 +6807,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "sc-client-api", @@ -6821,7 +6821,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6849,7 +6849,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -6866,7 +6866,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6881,7 +6881,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6899,7 +6899,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6936,7 +6936,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6960,7 +6960,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6978,7 +6978,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "hex", @@ -6994,7 +6994,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "hash-db", "lazy_static", @@ -7013,7 +7013,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "async-std", "async-trait", @@ -7067,7 +7067,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7082,7 +7082,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "bytes 0.5.6", "fnv", @@ -7109,7 +7109,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "libp2p", @@ -7122,7 +7122,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "substrate-prometheus-endpoint", @@ -7131,7 +7131,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "hash-db", @@ -7163,7 +7163,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7187,7 +7187,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -7205,7 +7205,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "directories", @@ -7267,7 +7267,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -7281,7 +7281,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7302,7 +7302,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "erased-serde", "log 0.4.11", @@ -7321,7 +7321,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7342,7 +7342,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7809,7 +7809,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -7821,7 +7821,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "hash-db", "parity-scale-codec", @@ -7836,7 +7836,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7848,7 +7848,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "serde", @@ -7860,7 +7860,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7873,7 +7873,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-api", @@ -7885,7 +7885,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7896,7 +7896,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-api", @@ -7908,7 +7908,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -7925,7 +7925,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "serde", "serde_json", @@ -7934,7 +7934,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7960,7 +7960,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "merlin", "parity-scale-codec", @@ -7979,7 +7979,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7988,7 +7988,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8000,7 +8000,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "base58", "blake2-rfc", @@ -8044,7 +8044,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -8053,7 +8053,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -8063,7 +8063,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "environmental", "parity-scale-codec", @@ -8074,7 +8074,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "finality-grandpa", "log 0.4.11", @@ -8090,7 +8090,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8100,7 +8100,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -8112,7 +8112,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "hash-db", @@ -8135,7 +8135,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "lazy_static", "sp-core", @@ -8146,7 +8146,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "serde", @@ -8158,7 +8158,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -8169,7 +8169,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "sp-api", "sp-core", @@ -8179,7 +8179,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "backtrace", "log 0.4.11", @@ -8188,7 +8188,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "serde", "sp-core", @@ -8197,7 +8197,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "either", "hash256-std-hasher", @@ -8219,7 +8219,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "primitive-types", @@ -8235,7 +8235,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "Inflector", "proc-macro-crate", @@ -8247,7 +8247,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "serde", "serde_json", @@ -8256,7 +8256,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-api", @@ -8269,7 +8269,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8279,7 +8279,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "hash-db", "log 0.4.11", @@ -8300,12 +8300,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" [[package]] name = "sp-storage" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8318,7 +8318,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8332,7 +8332,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -8345,7 +8345,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8360,7 +8360,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "hash-db", "memory-db", @@ -8374,7 +8374,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "futures-core", @@ -8386,7 +8386,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8398,7 +8398,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "chrono", "console_error_panic_hook", @@ -8565,7 +8565,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "platforms", ] @@ -8573,7 +8573,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8596,7 +8596,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8636,7 +8636,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "futures 0.3.5", "substrate-test-utils-derive", @@ -8646,7 +8646,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#5ca3777c47eb268faab5cda61a222c4bfdbec058" +source = "git+https://github.com/paritytech/substrate#c1e5905ddc54961e5ba69fa3718788077bb2d1ad" dependencies = [ "proc-macro-crate", "quote 1.0.7", diff --git a/runtime/common/src/dummy.rs b/runtime/common/src/dummy.rs deleted file mode 100644 index 21908b0cb136..000000000000 --- a/runtime/common/src/dummy.rs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2020 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . - -//! A dummy module for holding place of modules in a runtime. - -use frame_support::{decl_module, decl_storage, decl_event}; - -pub trait Trait: frame_system::Trait { - type Event: Into<::Event>; -} - -decl_module! { - pub struct Module, I: Instance = DefaultInstance> for enum Call where origin: T::Origin { - } -} - -decl_storage! { - trait Store for Module, I: Instance = DefaultInstance> as Dummy { } -} - -decl_event!{ - pub enum Event where - ::AccountId - { - Dummy(AccountId), - } -} diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index cdd2aa8f204e..f2cabd877b94 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -26,8 +26,6 @@ pub mod purchase; pub mod impls; pub mod paras_sudo_wrapper; -pub mod dummy; - use primitives::v1::{BlockNumber, ValidatorId}; use sp_runtime::{Perquintill, Perbill, FixedPointNumber, traits::Saturating}; use frame_support::{ diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index e7accaafdf62..70a091c9f387 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -29,7 +29,7 @@ use primitives::v1::{ CommittedCandidateReceipt, PersistedValidationData, GroupRotationInfo, ValidationCode, }; use runtime_common::{ - dummy, claims, SlowAdjustingFeeUpdate, + claims, SlowAdjustingFeeUpdate, impls::{CurrencyToVoteHandler, ToAuthor}, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, @@ -786,10 +786,6 @@ parameter_types! { pub const MaxPending: u16 = 32; } -impl dummy::Trait for Runtime { - type Event = Event; -} - /// The type used to represent the kinds of proxying allowed. #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug)] pub enum ProxyType { @@ -828,10 +824,6 @@ impl InstanceFilter for ProxyType { Call::TechnicalMembership(..) | Call::Treasury(..) | Call::Claims(..) | - Call::DummyParachains(..) | - Call::DummyAttestations(..) | - Call::DummySlots(..) | - Call::DummyRegistrar(..) | Call::Utility(..) | Call::Identity(..) | Call::Society(..) | @@ -891,11 +883,34 @@ impl pallet_proxy::Trait for Runtime { pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { - if pallet_scheduler::Module::::migrate_v1_to_t2() { - ::MaximumBlockWeight::get() - } else { - ::DbWeight::get().reads(1) + 500_000_000 + // Update scheduler origin usage + #[derive(Encode, Decode)] + #[allow(non_camel_case_types)] + pub enum OldOriginCaller { + system(frame_system::Origin), + pallet_collective_Instance1( + pallet_collective::Origin + ), + pallet_collective_Instance2( + pallet_collective::Origin + ), } + + impl Into for OldOriginCaller { + fn into(self) -> OriginCaller { + match self { + OldOriginCaller::system(o) => OriginCaller::system(o), + OldOriginCaller::pallet_collective_Instance1(o) => + OriginCaller::pallet_collective_Instance1(o), + OldOriginCaller::pallet_collective_Instance2(o) => + OriginCaller::pallet_collective_Instance2(o), + } + } + } + + pallet_scheduler::Module::::migrate_origin::(); + + ::MaximumBlockWeight::get() } } @@ -906,68 +921,62 @@ construct_runtime! { UncheckedExtrinsic = UncheckedExtrinsic { // Basic stuff; balances is uncallable initially. - System: frame_system::{Module, Call, Storage, Config, Event}, - RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage}, + System: frame_system::{Module, Call, Storage, Config, Event} = 0, + RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage} = 32, // Must be before session. - Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned}, + Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned} = 1, - Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent}, - Indices: pallet_indices::{Module, Call, Storage, Config, Event}, - Balances: pallet_balances::{Module, Call, Storage, Config, Event}, - TransactionPayment: pallet_transaction_payment::{Module, Storage}, + Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent} = 2, + Indices: pallet_indices::{Module, Call, Storage, Config, Event} = 3, + Balances: pallet_balances::{Module, Call, Storage, Config, Event} = 4, + TransactionPayment: pallet_transaction_payment::{Module, Storage} = 33, // Consensus support. - Authorship: pallet_authorship::{Module, Call, Storage}, - Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - Offences: pallet_offences::{Module, Call, Storage, Event}, - Historical: session_historical::{Module}, - Session: pallet_session::{Module, Call, Storage, Event, Config}, - FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent}, - Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config}, - AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config}, + Authorship: pallet_authorship::{Module, Call, Storage} = 5, + Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 6, + Offences: pallet_offences::{Module, Call, Storage, Event} = 7, + Historical: session_historical::{Module} = 34, + Session: pallet_session::{Module, Call, Storage, Event, Config} = 8, + FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent} = 9, + Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 10, + ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config} = 11, + AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config} = 12, // Governance stuff; uncallable initially. - Democracy: pallet_democracy::{Module, Call, Storage, Config, Event}, - Council: pallet_collective::::{Module, Call, Storage, Origin, Event, Config}, - TechnicalCommittee: pallet_collective::::{Module, Call, Storage, Origin, Event, Config}, - ElectionsPhragmen: pallet_elections_phragmen::{Module, Call, Storage, Event, Config}, - TechnicalMembership: pallet_membership::::{Module, Call, Storage, Event, Config}, - Treasury: pallet_treasury::{Module, Call, Storage, Event}, + Democracy: pallet_democracy::{Module, Call, Storage, Config, Event} = 13, + Council: pallet_collective::::{Module, Call, Storage, Origin, Event, Config} = 14, + TechnicalCommittee: pallet_collective::::{Module, Call, Storage, Origin, Event, Config} = 15, + ElectionsPhragmen: pallet_elections_phragmen::{Module, Call, Storage, Event, Config} = 16, + TechnicalMembership: pallet_membership::::{Module, Call, Storage, Event, Config} = 17, + Treasury: pallet_treasury::{Module, Call, Storage, Event} = 18, // Claims. Usable initially. - Claims: claims::{Module, Call, Storage, Event, Config, ValidateUnsigned}, - - // Old parachains stuff. All dummies to avoid messing up the transaction indices. - DummyParachains: dummy::::{Module, Call}, - DummyAttestations: dummy::::{Module, Call}, - DummySlots: dummy::::{Module, Call, Event}, - DummyRegistrar: dummy::::{Module, Call, Event}, + Claims: claims::{Module, Call, Storage, Event, Config, ValidateUnsigned} = 19, // Utility module. - Utility: pallet_utility::{Module, Call, Event}, + Utility: pallet_utility::{Module, Call, Event} = 24, // Less simple identity module. - Identity: pallet_identity::{Module, Call, Storage, Event}, + Identity: pallet_identity::{Module, Call, Storage, Event} = 25, // Society module. - Society: pallet_society::{Module, Call, Storage, Event}, + Society: pallet_society::{Module, Call, Storage, Event} = 26, // Social recovery module. - Recovery: pallet_recovery::{Module, Call, Storage, Event}, + Recovery: pallet_recovery::{Module, Call, Storage, Event} = 27, // Vesting. Usable initially, but removed once all vesting is finished. - Vesting: pallet_vesting::{Module, Call, Storage, Event, Config}, + Vesting: pallet_vesting::{Module, Call, Storage, Event, Config} = 28, // System scheduler. - Scheduler: pallet_scheduler::{Module, Call, Storage, Event}, + Scheduler: pallet_scheduler::{Module, Call, Storage, Event} = 29, // Proxy module. Late addition. - Proxy: pallet_proxy::{Module, Call, Storage, Event}, + Proxy: pallet_proxy::{Module, Call, Storage, Event} = 30, // Multisig module. Late addition. - Multisig: pallet_multisig::{Module, Call, Storage, Event}, + Multisig: pallet_multisig::{Module, Call, Storage, Event} = 31, } } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 255cb51a43f6..f629cef9f1eb 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -21,7 +21,7 @@ #![recursion_limit="256"] use runtime_common::{ - dummy, claims, SlowAdjustingFeeUpdate, + claims, SlowAdjustingFeeUpdate, impls::{CurrencyToVoteHandler, ToAuthor}, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, @@ -112,11 +112,6 @@ pub struct BaseFilter; impl Filter for BaseFilter { fn filter(call: &Call) -> bool { match call { - // Parachains stuff - Call::DummyParachains(_) | Call::DummyAttestations(_) | Call::DummySlots(_) | Call::DummyRegistrar(_) | - Call::DummyPurchase(_) => - false, - // These modules are all allowed to be called by transactions: Call::Democracy(_) | Call::Council(_) | Call::TechnicalCommittee(_) | Call::TechnicalMembership(_) | Call::Treasury(_) | Call::ElectionsPhragmen(_) | @@ -778,10 +773,6 @@ parameter_types! { pub const MaxPending: u16 = 32; } -impl dummy::Trait for Runtime { - type Event = Event; -} - /// The type used to represent the kinds of proxying allowed. #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug)] pub enum ProxyType { @@ -851,10 +842,6 @@ impl InstanceFilter for ProxyType { Call::ElectionsPhragmen(..) | Call::TechnicalMembership(..) | Call::Treasury(..) | - Call::DummyParachains(..) | - Call::DummyAttestations(..) | - Call::DummySlots(..) | - Call::DummyRegistrar(..) | Call::Claims(..) | Call::Vesting(pallet_vesting::Call::vest(..)) | Call::Vesting(pallet_vesting::Call::vest_other(..)) | @@ -906,7 +893,36 @@ impl pallet_proxy::Trait for Runtime { pub struct CustomOnRuntimeUpgrade; impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade { fn on_runtime_upgrade() -> frame_support::weights::Weight { - purchase::remove_pallet::() + purchase::remove_pallet::(); + + // Update scheduler origin usage + #[derive(Encode, Decode)] + #[allow(non_camel_case_types)] + pub enum OldOriginCaller { + system(frame_system::Origin), + pallet_collective_Instance1( + pallet_collective::Origin + ), + pallet_collective_Instance2( + pallet_collective::Origin + ), + } + + impl Into for OldOriginCaller { + fn into(self) -> OriginCaller { + match self { + OldOriginCaller::system(o) => OriginCaller::system(o), + OldOriginCaller::pallet_collective_Instance1(o) => + OriginCaller::pallet_collective_Instance1(o), + OldOriginCaller::pallet_collective_Instance2(o) => + OriginCaller::pallet_collective_Instance2(o), + } + } + } + + pallet_scheduler::Module::::migrate_origin::(); + + ::MaximumBlockWeight::get() } } @@ -917,61 +933,52 @@ construct_runtime! { UncheckedExtrinsic = UncheckedExtrinsic { // Basic stuff; balances is uncallable initially. - System: frame_system::{Module, Call, Storage, Config, Event}, - RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage}, - Scheduler: pallet_scheduler::{Module, Call, Storage, Event}, + System: frame_system::{Module, Call, Storage, Config, Event} = 0, + RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage} = 31, + Scheduler: pallet_scheduler::{Module, Call, Storage, Event} = 1, // Must be before session. - Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned}, + Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned} = 2, - Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent}, - Indices: pallet_indices::{Module, Call, Storage, Config, Event}, - Balances: pallet_balances::{Module, Call, Storage, Config, Event}, - TransactionPayment: pallet_transaction_payment::{Module, Storage}, + Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent} = 3, + Indices: pallet_indices::{Module, Call, Storage, Config, Event} = 4, + Balances: pallet_balances::{Module, Call, Storage, Config, Event} = 5, + TransactionPayment: pallet_transaction_payment::{Module, Storage} = 32, // Consensus support. - Authorship: pallet_authorship::{Module, Call, Storage}, - Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - Offences: pallet_offences::{Module, Call, Storage, Event}, - Historical: session_historical::{Module}, - Session: pallet_session::{Module, Call, Storage, Event, Config}, - FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent}, - Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config}, - AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config}, + Authorship: pallet_authorship::{Module, Call, Storage} = 6, + Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 7, + Offences: pallet_offences::{Module, Call, Storage, Event} = 8, + Historical: session_historical::{Module} = 33, + Session: pallet_session::{Module, Call, Storage, Event, Config} = 9, + FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent} = 10, + Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 11, + ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config} = 12, + AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config} = 13, // Governance stuff. - Democracy: pallet_democracy::{Module, Call, Storage, Config, Event}, - Council: pallet_collective::::{Module, Call, Storage, Origin, Event, Config}, - TechnicalCommittee: pallet_collective::::{Module, Call, Storage, Origin, Event, Config}, - ElectionsPhragmen: pallet_elections_phragmen::{Module, Call, Storage, Event, Config}, - TechnicalMembership: pallet_membership::::{Module, Call, Storage, Event, Config}, - Treasury: pallet_treasury::{Module, Call, Storage, Event}, - - // Old parachains stuff. All dummies to avoid messing up the transaction indices. - DummyParachains: dummy::::{Module, Call}, - DummyAttestations: dummy::::{Module, Call}, - DummySlots: dummy::::{Module, Call, Event}, - DummyRegistrar: dummy::::{Module, Call, Event}, + Democracy: pallet_democracy::{Module, Call, Storage, Config, Event} = 14, + Council: pallet_collective::::{Module, Call, Storage, Origin, Event, Config} = 15, + TechnicalCommittee: pallet_collective::::{Module, Call, Storage, Origin, Event, Config} = 16, + ElectionsPhragmen: pallet_elections_phragmen::{Module, Call, Storage, Event, Config} = 17, + TechnicalMembership: pallet_membership::::{Module, Call, Storage, Event, Config} = 18, + Treasury: pallet_treasury::{Module, Call, Storage, Event} = 19, // Claims. Usable initially. - Claims: claims::{Module, Call, Storage, Event, Config, ValidateUnsigned}, + Claims: claims::{Module, Call, Storage, Event, Config, ValidateUnsigned} = 24, // Vesting. Usable initially, but removed once all vesting is finished. - Vesting: pallet_vesting::{Module, Call, Storage, Event, Config}, + Vesting: pallet_vesting::{Module, Call, Storage, Event, Config} = 25, // Cunning utilities. Usable initially. - Utility: pallet_utility::{Module, Call, Event}, - - // Old spot for the purchase pallet. Can be replaced later by a new pallet. - DummyPurchase: dummy::::{Module, Call, Event}, + Utility: pallet_utility::{Module, Call, Event} = 26, // Identity. Late addition. - Identity: pallet_identity::{Module, Call, Storage, Event}, + Identity: pallet_identity::{Module, Call, Storage, Event} = 28, // Proxy module. Late addition. - Proxy: pallet_proxy::{Module, Call, Storage, Event}, + Proxy: pallet_proxy::{Module, Call, Storage, Event} = 29, // Multisig dispatch. Late addition. - Multisig: pallet_multisig::{Module, Call, Storage, Event}, + Multisig: pallet_multisig::{Module, Call, Storage, Event} = 30, } } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 05a653fe72f0..1780787a3d39 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -28,7 +28,7 @@ use primitives::v1::{ CommittedCandidateReceipt, PersistedValidationData, GroupRotationInfo, ValidationCode, }; use runtime_common::{ - dummy, purchase, SlowAdjustingFeeUpdate, + purchase, SlowAdjustingFeeUpdate, impls::{CurrencyToVoteHandler, ToAuthor}, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, MaximumExtrinsicWeight, @@ -590,9 +590,6 @@ impl InstanceFilter for ProxyType { Call::Grandpa(..) | Call::ImOnline(..) | Call::AuthorityDiscovery(..) | - Call::DummyParachains(..) | - Call::DummyAttestations(..) | - Call::DummyRegistrar(..) | Call::Utility(..) | Call::Identity(..) | Call::Recovery(pallet_recovery::Call::as_recovered(..)) | @@ -650,10 +647,6 @@ impl pallet_proxy::Trait for Runtime { type AnnouncementDepositFactor = AnnouncementDepositFactor; } -impl dummy::Trait for Runtime { - type Event = Event; -} - construct_runtime! { pub enum Runtime where Block = Block, @@ -661,56 +654,51 @@ construct_runtime! { UncheckedExtrinsic = UncheckedExtrinsic { // Basic stuff; balances is uncallable initially. - System: frame_system::{Module, Call, Storage, Config, Event}, - RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage}, + System: frame_system::{Module, Call, Storage, Config, Event} = 0, + RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Storage} = 25, // Must be before session. - Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned}, + Babe: pallet_babe::{Module, Call, Storage, Config, Inherent, ValidateUnsigned} = 1, - Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent}, - Indices: pallet_indices::{Module, Call, Storage, Config, Event}, - Balances: pallet_balances::{Module, Call, Storage, Config, Event}, - TransactionPayment: pallet_transaction_payment::{Module, Storage}, + Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent} = 2, + Indices: pallet_indices::{Module, Call, Storage, Config, Event} = 3, + Balances: pallet_balances::{Module, Call, Storage, Config, Event} = 4, + TransactionPayment: pallet_transaction_payment::{Module, Storage} = 26, // Consensus support. - Authorship: pallet_authorship::{Module, Call, Storage}, - Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - Offences: pallet_offences::{Module, Call, Storage, Event}, - Historical: session_historical::{Module}, - Session: pallet_session::{Module, Call, Storage, Event, Config}, - FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent}, - Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned}, - ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config}, - AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config}, - - // Old Parachains stuff. All dummies to avoid messing up the transaction indices. - DummyParachains: dummy::::{Module, Call}, - DummyAttestations: dummy::::{Module, Call}, - DummyRegistrar: dummy::::{Module, Call, Event}, + Authorship: pallet_authorship::{Module, Call, Storage} = 5, + Staking: pallet_staking::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 6, + Offences: pallet_offences::{Module, Call, Storage, Event} = 7, + Historical: session_historical::{Module} = 27, + Session: pallet_session::{Module, Call, Storage, Event, Config} = 8, + FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent} = 9, + Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 10, + ImOnline: pallet_im_online::{Module, Call, Storage, Event, ValidateUnsigned, Config} = 11, + AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config} = 12, // Utility module. - Utility: pallet_utility::{Module, Call, Event}, + Utility: pallet_utility::{Module, Call, Event} = 16, // Less simple identity module. - Identity: pallet_identity::{Module, Call, Storage, Event}, + Identity: pallet_identity::{Module, Call, Storage, Event} = 17, // Social recovery module. - Recovery: pallet_recovery::{Module, Call, Storage, Event}, + Recovery: pallet_recovery::{Module, Call, Storage, Event} = 18, // Vesting. Usable initially, but removed once all vesting is finished. - Vesting: pallet_vesting::{Module, Call, Storage, Event, Config}, + Vesting: pallet_vesting::{Module, Call, Storage, Event, Config} = 19, // System scheduler. - Scheduler: pallet_scheduler::{Module, Call, Storage, Event}, + Scheduler: pallet_scheduler::{Module, Call, Storage, Event} = 20, // Sudo. - Sudo: pallet_sudo::{Module, Call, Storage, Event, Config}, + Sudo: pallet_sudo::{Module, Call, Storage, Event, Config} = 21, // Proxy module. Late addition. - Proxy: pallet_proxy::{Module, Call, Storage, Event}, + Proxy: pallet_proxy::{Module, Call, Storage, Event} = 22, // Multisig module. Late addition. - Multisig: pallet_multisig::{Module, Call, Storage, Event}, + Multisig: pallet_multisig::{Module, Call, Storage, Event} = 23, } }