diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 81fc8855b7..c107d3399d 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1537,9 +1537,9 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd795898c348a8ec9edc66ec9e014031c764d4c88cc26d09b492cd93eb41339" +checksum = "c6447e2f8178843749e8c8003206def83ec124a7859475395777a28b5338647c" dependencies = [ "either", "futures 0.3.12", @@ -1590,7 +1590,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", ] @@ -1608,7 +1608,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -1626,7 +1626,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "Inflector", "chrono", @@ -1649,7 +1649,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -1665,7 +1665,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "serde", @@ -1676,7 +1676,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "bitflags", "frame-metadata", @@ -1702,7 +1702,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -1714,7 +1714,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1726,7 +1726,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1752,7 +1752,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -1766,7 +1766,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4049,7 +4049,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4064,7 +4064,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4089,7 +4089,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4103,7 +4103,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4118,7 +4118,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4134,7 +4134,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4149,7 +4149,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4164,7 +4164,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4185,7 +4185,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4220,7 +4220,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4237,7 +4237,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4251,7 +4251,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4267,7 +4267,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4281,7 +4281,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4296,7 +4296,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4317,7 +4317,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4333,7 +4333,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4346,7 +4346,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "enumflags2", "frame-support", @@ -4361,7 +4361,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4376,7 +4376,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4396,7 +4396,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4412,7 +4412,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4426,7 +4426,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4448,7 +4448,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -4459,7 +4459,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4473,7 +4473,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4491,7 +4491,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4506,7 +4506,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-support", "frame-system", @@ -4522,7 +4522,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4539,7 +4539,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -4550,7 +4550,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4566,7 +4566,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-benchmarking", "frame-support", @@ -4582,7 +4582,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6953,7 +6953,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "async-trait", "derive_more", @@ -6981,7 +6981,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -7004,7 +7004,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7021,7 +7021,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7042,7 +7042,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -7053,7 +7053,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "chrono", "fdlimit", @@ -7091,7 +7091,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "fnv", @@ -7125,7 +7125,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "blake2-rfc", "hash-db", @@ -7155,7 +7155,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "sc-client-api", "sp-blockchain", @@ -7166,7 +7166,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "fork-tree", @@ -7212,7 +7212,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "futures 0.3.12", @@ -7236,7 +7236,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7249,7 +7249,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -7275,7 +7275,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "sc-client-api", @@ -7289,7 +7289,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "lazy_static", @@ -7318,7 +7318,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "parity-scale-codec", @@ -7334,7 +7334,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "parity-scale-codec", @@ -7349,7 +7349,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "parity-scale-codec", @@ -7367,9 +7367,10 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", + "dyn-clone", "finality-grandpa", "fork-tree", "futures 0.3.12", @@ -7405,7 +7406,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "finality-grandpa", @@ -7429,7 +7430,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "futures 0.3.12", @@ -7449,7 +7450,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "ansi_term 0.12.1", "futures 0.3.12", @@ -7467,7 +7468,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "async-trait", "derive_more", @@ -7487,7 +7488,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "hash-db", "lazy_static", @@ -7506,7 +7507,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "async-std", "async-trait", @@ -7559,7 +7560,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -7575,7 +7576,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "bytes 0.5.6", "fnv", @@ -7602,7 +7603,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "libp2p", @@ -7615,7 +7616,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7624,7 +7625,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "hash-db", @@ -7658,7 +7659,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "futures 0.3.12", @@ -7682,7 +7683,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -7700,7 +7701,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "directories", "exit-future", @@ -7763,7 +7764,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "parity-scale-codec", @@ -7778,7 +7779,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7798,7 +7799,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "chrono", "futures 0.3.12", @@ -7820,7 +7821,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "ansi_term 0.12.1", "atty", @@ -7848,7 +7849,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -7859,7 +7860,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "futures 0.3.12", @@ -7881,7 +7882,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-diagnose", @@ -8303,7 +8304,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "sp-core", @@ -8315,7 +8316,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "hash-db", "parity-scale-codec", @@ -8331,7 +8332,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -8343,7 +8344,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "serde", @@ -8355,7 +8356,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "integer-sqrt", "num-traits 0.2.14", @@ -8368,7 +8369,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-api", @@ -8380,7 +8381,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8391,7 +8392,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-api", @@ -8403,7 +8404,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "log", @@ -8421,7 +8422,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "serde", "serde_json", @@ -8430,7 +8431,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-timer 3.0.2", @@ -8456,7 +8457,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "merlin", "parity-scale-codec", @@ -8476,7 +8477,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -8486,7 +8487,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8498,7 +8499,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "base58", "blake2-rfc", @@ -8542,7 +8543,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -8551,7 +8552,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -8561,7 +8562,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "environmental", "parity-scale-codec", @@ -8572,7 +8573,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "finality-grandpa", "log", @@ -8589,7 +8590,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", @@ -8601,7 +8602,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "hash-db", @@ -8625,7 +8626,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "lazy_static", "sp-core", @@ -8636,7 +8637,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "async-trait", "derive_more", @@ -8653,7 +8654,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "serde", @@ -8666,7 +8667,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -8677,7 +8678,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "sp-api", "sp-core", @@ -8687,7 +8688,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "backtrace", ] @@ -8695,7 +8696,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "serde", "sp-core", @@ -8704,7 +8705,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "either", "hash256-std-hasher", @@ -8725,7 +8726,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8742,7 +8743,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "Inflector", "proc-macro-crate", @@ -8754,7 +8755,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "serde", "serde_json", @@ -8763,7 +8764,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-api", @@ -8776,7 +8777,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8786,7 +8787,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "hash-db", "log", @@ -8808,12 +8809,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8826,7 +8827,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "sp-core", @@ -8839,7 +8840,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8853,7 +8854,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "log", "parity-scale-codec", @@ -8866,7 +8867,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "derive_more", "futures 0.3.12", @@ -8882,7 +8883,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "hash-db", "memory-db", @@ -8896,7 +8897,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "futures-core", @@ -8908,7 +8909,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8920,7 +8921,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9052,7 +9053,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "chrono", "console_error_panic_hook", @@ -9079,7 +9080,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "platforms", ] @@ -9087,7 +9088,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.12", @@ -9110,7 +9111,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "async-std", "derive_more", @@ -9124,7 +9125,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.1.29", "futures 0.3.12", @@ -9151,7 +9152,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "futures 0.3.12", "substrate-test-utils-derive", @@ -9161,7 +9162,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate#13b699868330fe60c272eeda1c9b326b0e222173" +source = "git+https://github.com/paritytech/substrate#e03ca38d45f438932ec92bf69a40b6b16b6ec643" dependencies = [ "proc-macro-crate", "quote 1.0.7", diff --git a/polkadot/node/service/src/grandpa_support.rs b/polkadot/node/service/src/grandpa_support.rs index f2acda3a6c..dc4a81a619 100644 --- a/polkadot/node/service/src/grandpa_support.rs +++ b/polkadot/node/service/src/grandpa_support.rs @@ -16,6 +16,8 @@ //! Polkadot-specific GRANDPA integration utilities. +use std::sync::Arc; + #[cfg(feature = "full-node")] use polkadot_primitives::v1::Hash; use sp_runtime::traits::{Block as BlockT, NumberFor}; @@ -24,6 +26,7 @@ use sp_runtime::traits::{Block as BlockT, NumberFor}; /// same last finalized block) after a given block at height `N` has been /// finalized and for a delay of `M` blocks, i.e. until the best block reaches /// `N` + `M`, the voter will keep voting for block `N`. +#[derive(Clone)] pub(crate) struct PauseAfterBlockFor(pub(crate) N, pub(crate) N); impl grandpa::VotingRule for PauseAfterBlockFor> @@ -33,59 +36,66 @@ where { fn restrict_vote( &self, - backend: &B, + backend: Arc, base: &Block::Header, best_target: &Block::Header, current_target: &Block::Header, - ) -> Option<(Block::Hash, NumberFor)> { - use sp_runtime::generic::BlockId; - use sp_runtime::traits::Header as _; + ) -> grandpa::VotingRuleResult { + let aux = || { + use sp_runtime::generic::BlockId; + use sp_runtime::traits::Header as _; - // walk backwards until we find the target block - let find_target = |target_number: NumberFor, current_header: &Block::Header| { - let mut target_hash = current_header.hash(); - let mut target_header = current_header.clone(); + // walk backwards until we find the target block + let find_target = |target_number: NumberFor, current_header: &Block::Header| { + let mut target_hash = current_header.hash(); + let mut target_header = current_header.clone(); - loop { - if *target_header.number() < target_number { - unreachable!( - "we are traversing backwards from a known block; \ - blocks are stored contiguously; \ - qed" + loop { + if *target_header.number() < target_number { + unreachable!( + "we are traversing backwards from a known block; \ + blocks are stored contiguously; \ + qed" + ); + } + + if *target_header.number() == target_number { + return Some((target_hash, target_number)); + } + + target_hash = *target_header.parent_hash(); + target_header = backend.header(BlockId::Hash(target_hash)).ok()?.expect( + "Header known to exist due to the existence of one of its descendents; qed", ); } + }; - if *target_header.number() == target_number { - return Some((target_hash, target_number)); + // only restrict votes targeting a block higher than the block + // we've set for the pause + if *current_target.number() > self.0 { + // if we're past the pause period (i.e. `self.0 + self.1`) + // then we no longer need to restrict any votes + if *best_target.number() > self.0 + self.1 { + return None; } - target_hash = *target_header.parent_hash(); - target_header = backend.header(BlockId::Hash(target_hash)).ok()? - .expect("Header known to exist due to the existence of one of its descendents; qed"); + // if we've finalized the pause block, just keep returning it + // until best number increases enough to pass the condition above + if *base.number() >= self.0 { + return Some((base.hash(), *base.number())); + } + + // otherwise find the target header at the pause block + // to vote on + return find_target(self.0, current_target); } + + None }; - // only restrict votes targeting a block higher than the block - // we've set for the pause - if *current_target.number() > self.0 { - // if we're past the pause period (i.e. `self.0 + self.1`) - // then we no longer need to restrict any votes - if *best_target.number() > self.0 + self.1 { - return None; - } + let target = aux(); - // if we've finalized the pause block, just keep returning it - // until best number increases enough to pass the condition above - if *base.number() >= self.0 { - return Some((base.hash(), *base.number())); - } - - // otherwise find the target header at the pause block - // to vote on - return find_target(self.0, current_target); - } - - None + Box::pin(async move { target }) } } @@ -276,7 +286,12 @@ mod tests { // we have not reached the pause block // therefore nothing should be restricted assert_eq!( - voting_rule.restrict_vote(&*client, &get_header(0), &get_header(10), &get_header(10)), + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), + &get_header(0), + &get_header(10), + &get_header(10) + )), None, ); @@ -287,7 +302,12 @@ mod tests { // we are targeting the pause block, // the vote should not be restricted assert_eq!( - voting_rule.restrict_vote(&*client, &get_header(10), &get_header(20), &get_header(20)), + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), + &get_header(10), + &get_header(20), + &get_header(20) + )), None, ); @@ -295,19 +315,24 @@ mod tests { // be limited to the pause block. let pause_block = get_header(20); assert_eq!( - voting_rule.restrict_vote(&*client, &get_header(10), &get_header(21), &get_header(21)), + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), + &get_header(10), + &get_header(21), + &get_header(21) + )), Some((pause_block.hash(), *pause_block.number())), ); // we've finalized the pause block, so we'll keep // restricting our votes to it. assert_eq!( - voting_rule.restrict_vote( - &*client, + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), &pause_block, // #20 &get_header(21), &get_header(21), - ), + )), Some((pause_block.hash(), *pause_block.number())), ); @@ -318,23 +343,23 @@ mod tests { // we're at the last block of the pause, this block // should still be considered in the pause period assert_eq!( - voting_rule.restrict_vote( - &*client, + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), &pause_block, // #20 &get_header(50), &get_header(50), - ), + )), Some((pause_block.hash(), *pause_block.number())), ); // we're past the pause period, no votes should be filtered assert_eq!( - voting_rule.restrict_vote( - &*client, + futures::executor::block_on(voting_rule.restrict_vote( + client.clone(), &pause_block, // #20 &get_header(51), &get_header(51), - ), + )), None, ); }