From c5d041041f0240e6f5bcdaccd7e9c0893898bb31 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 8 Oct 2020 17:10:21 +0200 Subject: [PATCH] Companion for substrate/pull/6896 (#1610) * make polkadot work again, * Fix build * "Update Substrate" Co-authored-by: parity-processbot <> --- polkadot/Cargo.lock | 268 +++++++++--------- polkadot/runtime/common/src/impls.rs | 31 -- polkadot/runtime/common/src/lib.rs | 8 +- .../runtime/common/src/paras_registrar.rs | 2 +- polkadot/runtime/kusama/src/lib.rs | 8 +- polkadot/runtime/polkadot/src/lib.rs | 8 +- polkadot/runtime/rococo-v1/src/lib.rs | 4 +- polkadot/runtime/test-runtime/src/lib.rs | 4 +- polkadot/runtime/westend/src/lib.rs | 6 +- 9 files changed, 157 insertions(+), 182 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 315cd3558a..462baf5962 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1429,7 +1429,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", ] @@ -1437,7 +1437,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -1455,7 +1455,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "chrono", "frame-benchmarking", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -1490,7 +1490,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "12.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "serde", @@ -1501,7 +1501,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "bitmask", "frame-metadata", @@ -1526,7 +1526,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1537,7 +1537,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1549,7 +1549,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1559,7 +1559,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1575,7 +1575,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -1589,7 +1589,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-api", @@ -3757,7 +3757,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -3773,7 +3773,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -3788,7 +3788,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3813,7 +3813,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3827,7 +3827,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3843,7 +3843,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3858,7 +3858,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3873,7 +3873,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -3889,7 +3889,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3911,7 +3911,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3927,7 +3927,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3947,7 +3947,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3964,7 +3964,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -3978,7 +3978,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -3994,7 +3994,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4008,7 +4008,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4023,7 +4023,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4044,7 +4044,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4060,7 +4060,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4073,7 +4073,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "enumflags2", "frame-support", @@ -4088,7 +4088,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4103,7 +4103,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4123,7 +4123,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4139,7 +4139,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4153,7 +4153,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4175,7 +4175,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -4186,7 +4186,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4200,7 +4200,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4218,7 +4218,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "frame-system", @@ -4235,7 +4235,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4253,7 +4253,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-support", "parity-scale-codec", @@ -4266,7 +4266,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4281,7 +4281,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4297,7 +4297,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6440,7 +6440,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "bytes 0.5.6", "derive_more 0.99.11", @@ -6468,7 +6468,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6492,7 +6492,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6509,7 +6509,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6526,7 +6526,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6537,7 +6537,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6586,7 +6586,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "fnv", @@ -6622,7 +6622,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "blake2-rfc", "hash-db", @@ -6652,7 +6652,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6663,7 +6663,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "fork-tree", @@ -6707,7 +6707,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -6731,7 +6731,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6744,7 +6744,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6767,7 +6767,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "sc-client-api", @@ -6781,7 +6781,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "lazy_static", @@ -6809,7 +6809,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "log 0.4.11", @@ -6826,7 +6826,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6841,7 +6841,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6859,7 +6859,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "finality-grandpa", @@ -6896,7 +6896,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "finality-grandpa", @@ -6920,7 +6920,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6938,7 +6938,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "hex", @@ -6954,7 +6954,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "hash-db", "lazy_static", @@ -6973,7 +6973,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "async-std", "async-trait", @@ -7027,7 +7027,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7042,7 +7042,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "bytes 0.5.6", "fnv", @@ -7069,7 +7069,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "libp2p", @@ -7082,7 +7082,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "substrate-prometheus-endpoint", @@ -7091,7 +7091,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "hash-db", @@ -7123,7 +7123,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -7147,7 +7147,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -7165,7 +7165,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "directories", @@ -7227,7 +7227,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -7241,7 +7241,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7262,7 +7262,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "erased-serde", "log 0.4.11", @@ -7281,7 +7281,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -7302,7 +7302,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -7769,7 +7769,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "log 0.4.11", @@ -7781,7 +7781,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "hash-db", "parity-scale-codec", @@ -7796,7 +7796,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7808,7 +7808,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "serde", @@ -7820,7 +7820,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7833,7 +7833,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-api", @@ -7845,7 +7845,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7856,7 +7856,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-api", @@ -7868,7 +7868,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "log 0.4.11", @@ -7885,7 +7885,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "serde", "serde_json", @@ -7894,7 +7894,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -7920,7 +7920,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "merlin", "parity-scale-codec", @@ -7939,7 +7939,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7948,7 +7948,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7960,7 +7960,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "base58", "blake2-rfc", @@ -8004,7 +8004,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -8013,7 +8013,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -8023,7 +8023,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "environmental", "parity-scale-codec", @@ -8034,7 +8034,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "finality-grandpa", "log 0.4.11", @@ -8050,7 +8050,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8060,7 +8060,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "parity-scale-codec", @@ -8072,7 +8072,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "hash-db", @@ -8095,7 +8095,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "lazy_static", "sp-core", @@ -8106,7 +8106,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "serde", @@ -8118,7 +8118,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -8129,7 +8129,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "sp-api", "sp-core", @@ -8139,7 +8139,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "backtrace", "log 0.4.11", @@ -8148,7 +8148,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "serde", "sp-core", @@ -8157,7 +8157,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "either", "hash256-std-hasher", @@ -8179,7 +8179,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "primitive-types", @@ -8195,7 +8195,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "Inflector", "proc-macro-crate", @@ -8207,7 +8207,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "serde", "serde_json", @@ -8216,7 +8216,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-api", @@ -8229,7 +8229,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8239,7 +8239,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "hash-db", "log 0.4.11", @@ -8260,12 +8260,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" [[package]] name = "sp-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8278,7 +8278,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8292,7 +8292,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -8305,7 +8305,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "derive_more 0.99.11", "futures 0.3.5", @@ -8320,7 +8320,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "hash-db", "memory-db", @@ -8334,7 +8334,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "futures-core", @@ -8346,7 +8346,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8499,7 +8499,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "chrono", "console_error_panic_hook", @@ -8525,7 +8525,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "platforms", ] @@ -8533,7 +8533,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8556,7 +8556,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "async-std", "derive_more 0.99.11", @@ -8570,7 +8570,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8596,7 +8596,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "futures 0.3.5", "substrate-test-utils-derive", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate#81f3e7caf351c27aab518ee3b640c06b1a4392bf" +source = "git+https://github.com/paritytech/substrate#90e8abfac4f3b81a0faa1bf37a79a09d740e18f0" dependencies = [ "proc-macro-crate", "quote 1.0.7", diff --git a/polkadot/runtime/common/src/impls.rs b/polkadot/runtime/common/src/impls.rs index 111fc00e24..f371972cca 100644 --- a/polkadot/runtime/common/src/impls.rs +++ b/polkadot/runtime/common/src/impls.rs @@ -16,7 +16,6 @@ //! Auxillary struct/enums for polkadot runtime. -use sp_runtime::traits::Convert; use frame_support::traits::{OnUnbalanced, Imbalance, Currency}; use crate::NegativeImbalance; @@ -41,33 +40,3 @@ where >::deposit_event(pallet_balances::RawEvent::Deposit(author, numeric_amount)); } } - -/// Converter for currencies to votes. -pub struct CurrencyToVoteHandler(sp_std::marker::PhantomData); - -impl CurrencyToVoteHandler -where - R: pallet_balances::Trait, - R::Balance: Into, -{ - fn factor() -> u128 { - let issuance: u128 = >::total_issuance().into(); - (issuance / u64::max_value() as u128).max(1) - } -} - -impl Convert for CurrencyToVoteHandler -where - R: pallet_balances::Trait, - R::Balance: Into, -{ - fn convert(x: u128) -> u64 { (x / Self::factor()) as u64 } -} - -impl Convert for CurrencyToVoteHandler -where - R: pallet_balances::Trait, - R::Balance: Into, -{ - fn convert(x: u128) -> u128 { x * Self::factor() } -} diff --git a/polkadot/runtime/common/src/lib.rs b/polkadot/runtime/common/src/lib.rs index 77d7dfd7b6..132ef5da64 100644 --- a/polkadot/runtime/common/src/lib.rs +++ b/polkadot/runtime/common/src/lib.rs @@ -45,7 +45,7 @@ pub use pallet_timestamp::Call as TimestampCall; pub use pallet_balances::Call as BalancesCall; /// Implementations of some helper traits passed into runtime modules as associated types. -pub use impls::{CurrencyToVoteHandler, ToAuthor}; +pub use impls::ToAuthor; pub type NegativeImbalance = as Currency<::AccountId>>::NegativeImbalance; @@ -89,6 +89,12 @@ pub type SlowAdjustingFeeUpdate = TargetedFeeAdjustment< MinimumMultiplier >; +/// The type used for currency conversion. +/// +/// This must only be used as long as the balance type is u128. +pub type CurrencyToVote = frame_support::traits::U128CurrencyToVote; +static_assertions::assert_eq_size!(primitives::v1::Balance, u128); + /// A placeholder since there is currently no provided session key handler for parachain validator /// keys. pub struct ParachainSessionKeyPlaceholder(sp_std::marker::PhantomData); diff --git a/polkadot/runtime/common/src/paras_registrar.rs b/polkadot/runtime/common/src/paras_registrar.rs index f6d3d7998e..7c9ed36a97 100644 --- a/polkadot/runtime/common/src/paras_registrar.rs +++ b/polkadot/runtime/common/src/paras_registrar.rs @@ -395,7 +395,7 @@ mod tests { impl pallet_staking::Trait for Test { type RewardRemainder = (); - type CurrencyToVote = (); + type CurrencyToVote = frame_support::traits::SaturatingCurrencyToVote; type Event = (); type Currency = pallet_balances::Module; type Slash = (); diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 0177aaab76..d97e734890 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -29,8 +29,8 @@ use primitives::v1::{ PersistedValidationData, Signature, ValidationCode, ValidationData, ValidatorId, ValidatorIndex, }; use runtime_common::{ - claims, SlowAdjustingFeeUpdate, - impls::{CurrencyToVoteHandler, ToAuthor}, + claims, SlowAdjustingFeeUpdate, CurrencyToVote, + impls::ToAuthor, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, MaximumExtrinsicWeight, ParachainSessionKeyPlaceholder, @@ -346,7 +346,7 @@ type SlashCancelOrigin = EnsureOneOf< impl pallet_staking::Trait for Runtime { type Currency = Balances; type UnixTime = Timestamp; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = CurrencyToVote; type RewardRemainder = Treasury; type Event = Event; type Slash = Treasury; @@ -469,7 +469,7 @@ impl pallet_elections_phragmen::Trait for Runtime { type Currency = Balances; type ChangeMembers = Council; type InitializeMembers = Council; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = frame_support::traits::U128CurrencyToVote; type CandidacyBond = CandidacyBond; type VotingBond = VotingBond; type LoserCandidate = Treasury; diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 72fba1e7ee..6e9626a6f9 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -21,8 +21,8 @@ #![recursion_limit="256"] use runtime_common::{ - claims, SlowAdjustingFeeUpdate, - impls::{CurrencyToVoteHandler, ToAuthor}, + claims, SlowAdjustingFeeUpdate, CurrencyToVote, + impls::ToAuthor, NegativeImbalance, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, MaximumExtrinsicWeight, ParachainSessionKeyPlaceholder, @@ -353,7 +353,7 @@ type SlashCancelOrigin = EnsureOneOf< impl pallet_staking::Trait for Runtime { type Currency = Balances; type UnixTime = Timestamp; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = CurrencyToVote; type RewardRemainder = Treasury; type Event = Event; type Slash = Treasury; @@ -516,7 +516,7 @@ impl pallet_elections_phragmen::Trait for Runtime { type Currency = Balances; type ChangeMembers = Council; type InitializeMembers = Council; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = frame_support::traits::U128CurrencyToVote; type CandidacyBond = CandidacyBond; type VotingBond = VotingBond; type LoserCandidate = Treasury; diff --git a/polkadot/runtime/rococo-v1/src/lib.rs b/polkadot/runtime/rococo-v1/src/lib.rs index 6c3dd7bf4a..a011734123 100644 --- a/polkadot/runtime/rococo-v1/src/lib.rs +++ b/polkadot/runtime/rococo-v1/src/lib.rs @@ -30,7 +30,7 @@ use primitives::v1::{ }; use runtime_common::{ SlowAdjustingFeeUpdate, - impls::{CurrencyToVoteHandler, ToAuthor}, + impls::ToAuthor, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, MaximumExtrinsicWeight, }; @@ -560,7 +560,7 @@ impl pallet_im_online::Trait for Runtime { impl pallet_staking::Trait for Runtime { type Currency = Balances; type UnixTime = Timestamp; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = frame_support::traits::U128CurrencyToVote; type RewardRemainder = (); type Event = Event; type Slash = (); diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index 9c65949383..942e38940f 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -37,7 +37,7 @@ use primitives::v1::{ PersistedValidationData, Signature, ValidationCode, ValidationData, ValidatorId, ValidatorIndex, }; use runtime_common::{ - claims, SlowAdjustingFeeUpdate, impls::CurrencyToVoteHandler, + claims, SlowAdjustingFeeUpdate, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, ParachainSessionKeyPlaceholder, }; @@ -297,7 +297,7 @@ parameter_types! { impl pallet_staking::Trait for Runtime { type Currency = Balances; type UnixTime = Timestamp; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = frame_support::traits::U128CurrencyToVote; type RewardRemainder = (); type Event = Event; type Slash = (); diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index aa33a92e80..6efa06f6a9 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -28,8 +28,8 @@ use primitives::v1::{ PersistedValidationData, Signature, ValidationCode, ValidationData, ValidatorId, ValidatorIndex, }; use runtime_common::{ - SlowAdjustingFeeUpdate, - impls::{CurrencyToVoteHandler, ToAuthor}, + SlowAdjustingFeeUpdate, CurrencyToVote, + impls::ToAuthor, BlockHashCount, MaximumBlockWeight, AvailableBlockRatio, MaximumBlockLength, BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, MaximumExtrinsicWeight, ParachainSessionKeyPlaceholder, @@ -318,7 +318,7 @@ parameter_types! { impl pallet_staking::Trait for Runtime { type Currency = Balances; type UnixTime = Timestamp; - type CurrencyToVote = CurrencyToVoteHandler; + type CurrencyToVote = CurrencyToVote; type RewardRemainder = (); type Event = Event; type Slash = ();