diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index a2177bf180..41c4a1d5c4 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1370,7 +1370,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", ] @@ -1378,7 +1378,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -1395,7 +1395,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "Inflector", "frame-benchmarking", @@ -1414,7 +1414,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "serde", @@ -1440,7 +1440,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "bitmask", "frame-metadata", @@ -1465,7 +1465,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1476,7 +1476,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1488,7 +1488,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1498,7 +1498,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1514,7 +1514,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -1528,7 +1528,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-api", @@ -3542,7 +3542,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3558,7 +3558,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3573,7 +3573,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3598,7 +3598,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3612,7 +3612,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3628,7 +3628,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3643,7 +3643,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3658,7 +3658,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3674,7 +3674,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3696,7 +3696,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3712,7 +3712,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3732,7 +3732,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3748,7 +3748,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3762,7 +3762,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3777,7 +3777,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3791,7 +3791,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3806,7 +3806,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3827,7 +3827,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3855,7 +3855,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "enumflags2", "frame-support", @@ -3870,7 +3870,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3885,7 +3885,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3905,7 +3905,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3921,7 +3921,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3935,7 +3935,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -3957,7 +3957,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -3968,7 +3968,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -3982,7 +3982,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4000,7 +4000,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "frame-system", @@ -4017,7 +4017,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4035,7 +4035,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-support", "parity-scale-codec", @@ -4048,7 +4048,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4063,7 +4063,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4079,7 +4079,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6149,7 +6149,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "bytes 0.5.5", "derive_more 0.99.9", @@ -6176,7 +6176,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6200,7 +6200,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6217,7 +6217,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -6233,7 +6233,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6244,7 +6244,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6285,7 +6285,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6321,7 +6321,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "blake2-rfc", "hash-db", @@ -6337,6 +6337,7 @@ dependencies = [ "sc-client-api", "sc-executor", "sc-state-db", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-core", @@ -6350,7 +6351,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6361,7 +6362,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6405,7 +6406,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6429,7 +6430,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6442,7 +6443,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6465,7 +6466,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "log 0.4.8", "sc-client-api", @@ -6479,7 +6480,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6507,7 +6508,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -6524,7 +6525,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6539,7 +6540,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -6560,7 +6561,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "assert_matches", "derive_more 0.99.9", @@ -6598,7 +6599,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -6615,7 +6616,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6633,7 +6634,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "hex", @@ -6649,7 +6650,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "hash-db", "lazy_static", @@ -6668,7 +6669,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "bitflags", "bs58", @@ -6720,7 +6721,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6735,7 +6736,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "env_logger", "futures 0.3.5", @@ -6762,7 +6763,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "bytes 0.5.5", "fnv", @@ -6789,7 +6790,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "libp2p", @@ -6802,7 +6803,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -6811,7 +6812,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "hash-db", @@ -6843,7 +6844,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6867,7 +6868,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -6883,7 +6884,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "directories", @@ -6946,7 +6947,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6960,7 +6961,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6981,7 +6982,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "erased-serde", "log 0.4.8", @@ -6998,7 +6999,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7019,7 +7020,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7474,7 +7475,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7486,7 +7487,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "hash-db", "parity-scale-codec", @@ -7501,7 +7502,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7513,7 +7514,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "serde", @@ -7525,7 +7526,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7538,7 +7539,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-api", @@ -7550,7 +7551,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7561,7 +7562,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-api", @@ -7573,7 +7574,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "log 0.4.8", @@ -7590,7 +7591,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "serde", "serde_json", @@ -7599,7 +7600,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7625,7 +7626,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-api", @@ -7639,7 +7640,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "merlin", "parity-scale-codec", @@ -7658,7 +7659,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7667,7 +7668,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7679,7 +7680,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "base58", "blake2-rfc", @@ -7723,7 +7724,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -7732,7 +7733,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -7742,7 +7743,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "environmental", "parity-scale-codec", @@ -7753,7 +7754,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -7769,7 +7770,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7779,7 +7780,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -7791,7 +7792,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "hash-db", @@ -7812,7 +7813,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "lazy_static", "sp-core", @@ -7823,7 +7824,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "serde", @@ -7835,7 +7836,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -7846,7 +7847,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "sp-api", "sp-core", @@ -7856,7 +7857,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "backtrace", "log 0.4.8", @@ -7865,7 +7866,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "serde", "sp-core", @@ -7874,7 +7875,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "either", "hash256-std-hasher", @@ -7896,7 +7897,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "primitive-types", @@ -7911,7 +7912,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "Inflector", "proc-macro-crate", @@ -7923,7 +7924,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "serde", "serde_json", @@ -7932,7 +7933,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-api", @@ -7945,7 +7946,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7955,7 +7956,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "hash-db", "itertools 0.9.0", @@ -7976,12 +7977,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" [[package]] name = "sp-storage" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -7993,7 +7994,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8007,7 +8008,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "log 0.4.8", "rental", @@ -8017,7 +8018,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8032,7 +8033,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "hash-db", "memory-db", @@ -8046,7 +8047,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "futures-core", @@ -8058,7 +8059,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -8070,7 +8071,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8201,7 +8202,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "chrono", "console_error_panic_hook", @@ -8227,7 +8228,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "platforms", ] @@ -8235,7 +8236,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8258,7 +8259,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8272,7 +8273,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8298,7 +8299,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "cfg-if", "frame-executive", @@ -8338,7 +8339,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-rc5" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -8359,7 +8360,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#87063c3c00da34213379330bae3174aa0da7ad0f" +source = "git+https://github.com/paritytech/substrate#54e6298523ea896f2129546c26dd7a47dbbeedc9" [[package]] name = "substrate-wasm-builder-runner" diff --git a/polkadot/cli/src/command.rs b/polkadot/cli/src/command.rs index ab57fc4489..31880768a1 100644 --- a/polkadot/cli/src/command.rs +++ b/polkadot/cli/src/command.rs @@ -153,7 +153,6 @@ pub fn run() -> Result<()> { service::new_chain_ops::< service::kusama_runtime::RuntimeApi, service::KusamaExecutor, - service::kusama_runtime::UncheckedExtrinsic, >(config) ) } else if chain_spec.is_westend() { @@ -161,7 +160,6 @@ pub fn run() -> Result<()> { service::new_chain_ops::< service::westend_runtime::RuntimeApi, service::WestendExecutor, - service::westend_runtime::UncheckedExtrinsic, >(config) ) } else { @@ -169,7 +167,6 @@ pub fn run() -> Result<()> { service::new_chain_ops::< service::polkadot_runtime::RuntimeApi, service::PolkadotExecutor, - service::polkadot_runtime::UncheckedExtrinsic, >(config) ) } diff --git a/polkadot/collator/src/lib.rs b/polkadot/collator/src/lib.rs index 37a56afd9d..3eee4aba1e 100644 --- a/polkadot/collator/src/lib.rs +++ b/polkadot/collator/src/lib.rs @@ -121,7 +121,7 @@ pub trait BuildParachainContext { type ParachainContext: self::ParachainContext; /// Build the `ParachainContext`. - fn build( + fn build( self, client: Arc, spawner: SP, @@ -129,9 +129,8 @@ pub trait BuildParachainContext { ) -> Result where Client: ProvideRuntimeApi + HeaderBackend + BlockchainEvents + Send + Sync + 'static, - Client::Api: RuntimeApiCollection, + Client::Api: RuntimeApiCollection, >::StateBackend: StateBackend>, - Extrinsic: codec::Codec + Send + Sync + 'static, SP: SpawnNamed + Clone + Send + Sync + 'static; } @@ -203,7 +202,7 @@ pub async fn collate

( } #[cfg(feature = "service-rewr")] -fn build_collator_service( +fn build_collator_service( _spawner: SP, _handles: FullNodeHandles, _client: Arc, @@ -224,14 +223,12 @@ fn build_collator_service( StateBackend = as service::Backend>::State, > + RuntimeApiCollection< - Extrinsic, StateBackend = as service::Backend>::State, > + Sync + Send, P: BuildParachainContext, P::ParachainContext: Send + 'static, ::ProduceCandidate: Send, - Extrinsic: service::Codec + Send + Sync + 'static, SP: SpawnNamed + Clone + Send + Sync + 'static, { Err("Collator is not functional with the new service yet".into()) @@ -239,7 +236,7 @@ fn build_collator_service( #[cfg(not(feature = "service-rewr"))] -fn build_collator_service( +fn build_collator_service( spawner: SpawnTaskHandle, handles: FullNodeHandles, client: Arc, @@ -260,14 +257,12 @@ fn build_collator_service( StateBackend = as service::Backend>::State, > + RuntimeApiCollection< - Extrinsic, StateBackend = as service::Backend>::State, > + Sync + Send, P: BuildParachainContext, P::ParachainContext: Send + 'static, ::ProduceCandidate: Send, - Extrinsic: service::Codec + Send + Sync + 'static, { let polkadot_network = handles.polkadot_network .ok_or_else(|| "Collator cannot run when Polkadot-specific networking has not been started")?; @@ -497,7 +492,7 @@ mod tests { impl BuildParachainContext for BuildDummyParachainContext { type ParachainContext = DummyParachainContext; - fn build( + fn build( self, _: Arc, _: SP, diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index c04e9a10b1..01c70f5785 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -78,24 +78,23 @@ native_executor_instance!( ); /// A set of APIs that polkadot-like runtimes must implement. -pub trait RuntimeApiCollection: +pub trait RuntimeApiCollection: sp_transaction_pool::runtime_api::TaggedTransactionQueue + sp_api::ApiExt + babe_primitives::BabeApi + grandpa_primitives::GrandpaApi + sp_block_builder::BlockBuilder + system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + authority_discovery_primitives::AuthorityDiscoveryApi where - Extrinsic: RuntimeExtrinsic, >::StateBackend: sp_api::StateBackend>, {} -impl RuntimeApiCollection for Api +impl RuntimeApiCollection for Api where Api: sp_transaction_pool::runtime_api::TaggedTransactionQueue @@ -104,19 +103,14 @@ where + grandpa_primitives::GrandpaApi + sp_block_builder::BlockBuilder + system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + authority_discovery_primitives::AuthorityDiscoveryApi, - Extrinsic: RuntimeExtrinsic, >::StateBackend: sp_api::StateBackend>, {} -pub trait RuntimeExtrinsic: codec::Codec + Send + Sync + 'static {} - -impl RuntimeExtrinsic for E where E: codec::Codec + Send + Sync + 'static {} - /// Can be called for a `Configuration` to check if it is a configuration for the `Kusama` network. pub trait IdentifyVariant { /// Returns if this is a configuration for the `Kusama` network. @@ -157,7 +151,7 @@ type LightClient = service::TLightClientWithBackend; #[cfg(feature = "full-node")] -fn new_partial(config: &mut Configuration) -> Result< +fn new_partial(config: &mut Configuration) -> Result< service::PartialComponents< FullClient, FullBackend, FullSelectChain, consensus_common::DefaultImportQueue>, @@ -179,9 +173,8 @@ fn new_partial(config: &mut Configuration) -> R where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Executor: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { set_prometheus_registry(config)?; @@ -303,7 +296,7 @@ fn real_overseer( } #[cfg(feature = "full-node")] -fn new_full( +fn new_full( mut config: Configuration, collating_for: Option<(CollatorId, ParaId)>, _max_block_data_size: Option, @@ -317,9 +310,8 @@ fn new_full( where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Executor: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { use sc_client_api::ExecutorProvider; use sp_core::traits::BareCryptoStorePtr; @@ -335,8 +327,8 @@ fn new_full( client, backend, mut task_manager, keystore, select_chain, import_queue, transaction_pool, inherent_data_providers, other: (rpc_extensions_builder, import_setup, rpc_setup) - } = new_partial::(&mut config)?; - + } = new_partial::(&mut config)?; + let prometheus_registry = config.prometheus_registry().cloned(); let finality_proof_provider = @@ -525,13 +517,12 @@ fn new_full( pub struct FullNodeHandles; /// Builds a new service for a light client. -fn new_light(mut config: Configuration) -> Result +fn new_light(mut config: Configuration) -> Result where Runtime: 'static + Send + Sync + ConstructRuntimeApi>, >>::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Dispatch: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { crate::set_prometheus_registry(&mut config)?; use sc_client_api::backend::RemoteBackend; @@ -594,7 +585,7 @@ fn new_light(mut config: Configuration) -> Result< finality_proof_request_builder: Some(finality_proof_request_builder), finality_proof_provider: Some(finality_proof_provider), })?; - + if config.offchain_worker.enabled { service::build_offchain_workers( &config, backend.clone(), task_manager.spawn_handle(), client.clone(), network.clone(), @@ -610,7 +601,7 @@ fn new_light(mut config: Configuration) -> Result< let rpc_extensions = polkadot_rpc::create_light(light_deps); - service::spawn_tasks(service::SpawnTasksParams { + service::spawn_tasks(service::SpawnTasksParams { on_demand: Some(on_demand), remote_blockchain: Some(backend.remote_blockchain()), rpc_extensions_builder: Box::new(service::NoopRpcExtensionBuilder(rpc_extensions)), @@ -619,13 +610,13 @@ fn new_light(mut config: Configuration) -> Result< config, keystore, backend, transaction_pool, client, network, network_status_sinks, system_rpc_tx, })?; - + Ok(task_manager) } /// Builds a new object suitable for chain operations. #[cfg(feature = "full-node")] -pub fn new_chain_ops(mut config: Configuration) -> Result< +pub fn new_chain_ops(mut config: Configuration) -> Result< ( Arc>, Arc, @@ -637,13 +628,12 @@ pub fn new_chain_ops(mut config: Configuration) -> where Runtime: ConstructRuntimeApi> + Send + Sync + 'static, Runtime::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Dispatch: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { config.keystore = service::config::KeystoreConfig::InMemory; let service::PartialComponents { client, backend, import_queue, task_manager, .. } - = new_partial::(&mut config)?; + = new_partial::(&mut config)?; Ok((client, backend, import_queue, task_manager)) } @@ -667,7 +657,7 @@ pub fn polkadot_new_full( FullNodeHandles, ), ServiceError> { - let (components, client) = new_full::( + let (components, client) = new_full::( config, collating_for, max_block_data_size, @@ -699,7 +689,7 @@ pub fn kusama_new_full( FullNodeHandles, ), ServiceError> { - let (components, client) = new_full::( + let (components, client) = new_full::( config, collating_for, max_block_data_size, @@ -731,7 +721,7 @@ pub fn westend_new_full( FullNodeHandles, ), ServiceError> { - let (components, client) = new_full::( + let (components, client) = new_full::( config, collating_for, max_block_data_size, @@ -746,17 +736,17 @@ pub fn westend_new_full( /// Create a new Polkadot service for a light client. pub fn polkadot_new_light(config: Configuration) -> Result { - new_light::(config) + new_light::(config) } /// Create a new Kusama service for a light client. pub fn kusama_new_light(config: Configuration) -> Result { - new_light::(config) + new_light::(config) } /// Create a new Westend service for a light client. pub fn westend_new_light(config: Configuration, ) -> Result { - new_light::(config) + new_light::(config) } diff --git a/polkadot/node/test-service/src/lib.rs b/polkadot/node/test-service/src/lib.rs index 3bdc741bac..e45b931464 100644 --- a/polkadot/node/test-service/src/lib.rs +++ b/polkadot/node/test-service/src/lib.rs @@ -77,7 +77,7 @@ pub fn polkadot_test_new_full( ServiceError, > { let (task_manager, client, handles, network, rpc_handlers) = - new_full::( + new_full::( config, collating_for, max_block_data_size, diff --git a/polkadot/parachain/test-parachains/adder/collator/src/main.rs b/polkadot/parachain/test-parachains/adder/collator/src/main.rs index a5d3bb6dc1..9136cc0ca9 100644 --- a/polkadot/parachain/test-parachains/adder/collator/src/main.rs +++ b/polkadot/parachain/test-parachains/adder/collator/src/main.rs @@ -100,7 +100,7 @@ impl ParachainContext for AdderContext { impl BuildParachainContext for AdderContext { type ParachainContext = Self; - fn build( + fn build( self, _: Arc, _: SP, diff --git a/polkadot/rpc/src/lib.rs b/polkadot/rpc/src/lib.rs index dbff9b0776..b09c1b5d42 100644 --- a/polkadot/rpc/src/lib.rs +++ b/polkadot/rpc/src/lib.rs @@ -81,16 +81,15 @@ pub struct FullDeps { } /// Instantiate all RPC extensions. -pub fn create_full(deps: FullDeps) -> RpcExtension where +pub fn create_full(deps: FullDeps) -> RpcExtension where C: ProvideRuntimeApi, C: HeaderBackend + HeaderMetadata, C: Send + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, P: TransactionPool + Sync + Send + 'static, - UE: codec::Codec + Send + Sync + 'static, SC: SelectChain + 'static, { use frame_rpc_system::{FullSystem, SystemApi}; @@ -145,16 +144,15 @@ pub fn create_full(deps: FullDeps) -> RpcExtension where } /// Instantiate all RPC extensions for light node. -pub fn create_light(deps: LightDeps) -> RpcExtension +pub fn create_light(deps: LightDeps) -> RpcExtension where C: ProvideRuntimeApi, C: HeaderBackend, C: Send + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, P: TransactionPool + Sync + Send + 'static, F: Fetcher + 'static, - UE: codec::Codec + Send + Sync + 'static, { use frame_rpc_system::{LightSystem, SystemApi}; diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 89507400a7..cacac8202b 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -1254,9 +1254,8 @@ sp_api::impl_runtime_apis! { impl transaction_payment_rpc_runtime_api::TransactionPaymentApi< Block, Balance, - UncheckedExtrinsic, > for Runtime { - fn query_info(uxt: UncheckedExtrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } } diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 1a922dc72e..ec3fa30434 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -1394,9 +1394,8 @@ sp_api::impl_runtime_apis! { impl transaction_payment_rpc_runtime_api::TransactionPaymentApi< Block, Balance, - UncheckedExtrinsic, > for Runtime { - fn query_info(uxt: UncheckedExtrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } } diff --git a/polkadot/runtime/rococo-v1/src/lib.rs b/polkadot/runtime/rococo-v1/src/lib.rs index 1f268daea1..7ca90c0399 100644 --- a/polkadot/runtime/rococo-v1/src/lib.rs +++ b/polkadot/runtime/rococo-v1/src/lib.rs @@ -313,9 +313,8 @@ sp_api::impl_runtime_apis! { impl transaction_payment_rpc_runtime_api::TransactionPaymentApi< Block, Balance, - UncheckedExtrinsic, > for Runtime { - fn query_info(uxt: UncheckedExtrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } } diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index 4704ff0fb0..d7238b6482 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -788,9 +788,8 @@ sp_api::impl_runtime_apis! { impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi< Block, Balance, - UncheckedExtrinsic, > for Runtime { - fn query_info(uxt: UncheckedExtrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } } diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 93742b02c5..c5d3669d0f 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1036,9 +1036,8 @@ sp_api::impl_runtime_apis! { impl transaction_payment_rpc_runtime_api::TransactionPaymentApi< Block, Balance, - UncheckedExtrinsic, > for Runtime { - fn query_info(uxt: UncheckedExtrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } } diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index 22a99d7be4..2aaa2971fd 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -76,7 +76,7 @@ native_executor_instance!( ); /// A set of APIs that polkadot-like runtimes must implement. -pub trait RuntimeApiCollection: +pub trait RuntimeApiCollection: sp_transaction_pool::runtime_api::TaggedTransactionQueue + sp_api::ApiExt + babe_primitives::BabeApi @@ -84,17 +84,16 @@ pub trait RuntimeApiCollection: + ParachainHost + sp_block_builder::BlockBuilder + system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + authority_discovery_primitives::AuthorityDiscoveryApi where - Extrinsic: RuntimeExtrinsic, >::StateBackend: sp_api::StateBackend, {} -impl RuntimeApiCollection for Api +impl RuntimeApiCollection for Api where Api: sp_transaction_pool::runtime_api::TaggedTransactionQueue @@ -104,19 +103,14 @@ where + ParachainHost + sp_block_builder::BlockBuilder + system_rpc_runtime_api::AccountNonceApi - + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + authority_discovery_primitives::AuthorityDiscoveryApi, - Extrinsic: RuntimeExtrinsic, >::StateBackend: sp_api::StateBackend, {} -pub trait RuntimeExtrinsic: codec::Codec + Send + Sync + 'static {} - -impl RuntimeExtrinsic for E where E: codec::Codec + Send + Sync + 'static {} - /// Can be called for a `Configuration` to check if it is a configuration for the `Kusama` network. pub trait IdentifyVariant { /// Returns if this is a configuration for the `Kusama` network. @@ -148,7 +142,7 @@ type LightClient = service::TLightClientWithBackend; #[cfg(feature = "full-node")] -pub fn new_partial(config: &mut Configuration, test: bool) -> Result< +pub fn new_partial(config: &mut Configuration, test: bool) -> Result< service::PartialComponents< FullClient, FullBackend, FullSelectChain, consensus_common::DefaultImportQueue>, @@ -170,9 +164,8 @@ pub fn new_partial(config: &mut Configuration, where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Executor: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { if !test { // If we're using prometheus, use a registry with a prefix of `polkadot`. @@ -274,7 +267,7 @@ pub fn new_partial(config: &mut Configuration, } #[cfg(feature = "full-node")] -pub fn new_full( +pub fn new_full( mut config: Configuration, collating_for: Option<(CollatorId, parachain::Id)>, max_block_data_size: Option, @@ -292,9 +285,8 @@ pub fn new_full( where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Executor: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { use sc_network::Event; use sc_client_api::ExecutorProvider; @@ -316,7 +308,7 @@ pub fn new_full( client, backend, mut task_manager, keystore, select_chain, import_queue, transaction_pool, inherent_data_providers, other: (rpc_extensions_builder, import_setup, rpc_setup) - } = new_partial::(&mut config, test)?; + } = new_partial::(&mut config, test)?; let prometheus_registry = config.prometheus_registry().cloned(); @@ -589,13 +581,12 @@ pub fn new_full( } /// Builds a new service for a light client. -fn new_light(mut config: Configuration) -> Result<(TaskManager, Arc), Error> +fn new_light(mut config: Configuration) -> Result<(TaskManager, Arc), Error> where Runtime: 'static + Send + Sync + ConstructRuntimeApi>, >>::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Dispatch: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { use sc_client_api::backend::RemoteBackend; @@ -662,7 +653,7 @@ fn new_light(mut config: Configuration) -> Result< finality_proof_request_builder: Some(finality_proof_request_builder), finality_proof_provider: Some(finality_proof_provider), })?; - + if config.offchain_worker.enabled { service::build_offchain_workers( &config, backend.clone(), task_manager.spawn_handle(), client.clone(), network.clone(), @@ -678,7 +669,7 @@ fn new_light(mut config: Configuration) -> Result< let rpc_extensions = polkadot_rpc::create_light(light_deps); - let rpc_handlers = service::spawn_tasks(service::SpawnTasksParams { + let rpc_handlers = service::spawn_tasks(service::SpawnTasksParams { on_demand: Some(on_demand), remote_blockchain: Some(backend.remote_blockchain()), rpc_extensions_builder: Box::new(service::NoopRpcExtensionBuilder(rpc_extensions)), @@ -693,7 +684,7 @@ fn new_light(mut config: Configuration) -> Result< /// Builds a new object suitable for chain operations. #[cfg(feature = "full-node")] -pub fn new_chain_ops(mut config: Configuration) -> Result< +pub fn new_chain_ops(mut config: Configuration) -> Result< ( Arc>, Arc, @@ -705,13 +696,12 @@ pub fn new_chain_ops(mut config: Configuration) -> where Runtime: ConstructRuntimeApi> + Send + Sync + 'static, Runtime::RuntimeApi: - RuntimeApiCollection>, + RuntimeApiCollection>, Dispatch: NativeExecutionDispatch + 'static, - Extrinsic: RuntimeExtrinsic, { config.keystore = service::config::KeystoreConfig::InMemory; let service::PartialComponents { client, backend, import_queue, task_manager, .. } - = new_partial::(&mut config, false)?; + = new_partial::(&mut config, false)?; Ok((client, backend, import_queue, task_manager)) } @@ -735,7 +725,7 @@ pub fn polkadot_new_full( FullNodeHandles, ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let (service, client, handles, _, _) = new_full::( config, collating_for, max_block_data_size, @@ -768,7 +758,7 @@ pub fn kusama_new_full( FullNodeHandles ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let (service, client, handles, _, _) = new_full::( config, collating_for, max_block_data_size, @@ -801,7 +791,7 @@ pub fn westend_new_full( FullNodeHandles, ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let (service, client, handles, _, _) = new_full::( config, collating_for, max_block_data_size, @@ -841,15 +831,15 @@ impl NodeBuilder { /// Build a new light node. pub fn build_light(self) -> Result<(TaskManager, Arc), ServiceError> { if self.config.chain_spec.is_kusama() { - new_light::( + new_light::( self.config, ) } else if self.config.chain_spec.is_westend() { - new_light::( + new_light::( self.config, ) } else { - new_light::( + new_light::( self.config, ) } @@ -866,7 +856,7 @@ impl NodeBuilder { grandpa_pause: Option<(u32, u32)>, ) -> Result { if self.config.chain_spec.is_kusama() { - new_full::( + new_full::( self.config, collating_for, max_block_data_size, @@ -876,7 +866,7 @@ impl NodeBuilder { false, ).map(|(task_manager, _, _, _, _)| task_manager) } else if self.config.chain_spec.is_westend() { - new_full::( + new_full::( self.config, collating_for, max_block_data_size, @@ -886,7 +876,7 @@ impl NodeBuilder { false, ).map(|(task_manager, _, _, _, _)| task_manager) } else { - new_full::( + new_full::( self.config, collating_for, max_block_data_size,