From 1c5f9b09ba14e4087954ec2a27eb19d9d8d7485d Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 9 Jul 2020 16:59:58 +0200 Subject: [PATCH] Companion PR for ' Simplify a few chain components creation APIs related to the service' (#1384) * Switch branch * Fix service creation * Revert "Switch branch" This reverts commit a706335821eb1553e48f86e0b0c5b3c11d589a1d. * Switch branch again * Revert "Switch branch again" This reverts commit 04afc5095e408ff9a116c526ef84f6b101482ee1. * Update substrate branch --- polkadot/Cargo.lock | 276 ++++++++++++++++--------------- polkadot/node/service/src/lib.rs | 10 +- polkadot/service/src/lib.rs | 10 +- 3 files changed, 151 insertions(+), 145 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 894eeab6f4..0c344600c2 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1285,7 +1285,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", ] @@ -1293,7 +1293,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -1310,7 +1310,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "Inflector", "frame-benchmarking", @@ -1329,7 +1329,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -1344,7 +1344,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "serde", @@ -1355,7 +1355,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "bitmask", "frame-metadata", @@ -1380,7 +1380,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1391,7 +1391,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1403,7 +1403,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1413,7 +1413,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -1443,7 +1443,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-api", @@ -3409,7 +3409,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3425,7 +3425,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3440,7 +3440,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3465,7 +3465,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3479,7 +3479,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3495,7 +3495,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3510,7 +3510,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3525,7 +3525,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3541,7 +3541,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3561,7 +3561,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3577,7 +3577,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3597,7 +3597,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3613,7 +3613,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3627,7 +3627,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3642,7 +3642,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3656,7 +3656,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3671,7 +3671,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3692,7 +3692,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3707,7 +3707,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3720,7 +3720,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "enumflags2", "frame-support", @@ -3735,7 +3735,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3750,7 +3750,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3770,7 +3770,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3786,7 +3786,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3800,7 +3800,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3822,7 +3822,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -3833,7 +3833,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3847,7 +3847,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3865,7 +3865,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "frame-system", @@ -3880,7 +3880,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3898,7 +3898,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-support", "parity-scale-codec", @@ -3911,7 +3911,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-benchmarking", "frame-support", @@ -3942,7 +3942,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5874,7 +5874,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "bytes 0.5.4", "derive_more 0.99.8", @@ -5901,7 +5901,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5925,7 +5925,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5942,7 +5942,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5958,7 +5958,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -5969,7 +5969,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6010,7 +6010,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "fnv", @@ -6046,7 +6046,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "blake2-rfc", "hash-db", @@ -6075,7 +6075,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6086,7 +6086,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "fork-tree", @@ -6128,7 +6128,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -6152,7 +6152,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6165,7 +6165,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6188,7 +6188,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "log 0.4.8", "sc-client-api", @@ -6202,7 +6202,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "lazy_static", @@ -6230,7 +6230,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "log 0.4.8", @@ -6247,7 +6247,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6262,7 +6262,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -6283,7 +6283,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "assert_matches", "derive_more 0.99.8", @@ -6321,7 +6321,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "finality-grandpa", @@ -6338,7 +6338,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -6356,7 +6356,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "hex", @@ -6372,7 +6372,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "hash-db", "lazy_static", @@ -6391,7 +6391,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "bitflags", "bs58", @@ -6443,7 +6443,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6458,7 +6458,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "env_logger", "futures 0.3.5", @@ -6485,7 +6485,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "bytes 0.5.4", "fnv", @@ -6512,7 +6512,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "libp2p", @@ -6525,7 +6525,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -6534,7 +6534,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "hash-db", @@ -6566,7 +6566,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -6590,7 +6590,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -6606,7 +6606,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "directories", @@ -6669,7 +6669,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6683,7 +6683,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6704,7 +6704,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "erased-serde", "log 0.4.8", @@ -6721,7 +6721,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -6741,7 +6741,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -7148,7 +7148,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "log 0.4.8", @@ -7160,7 +7160,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "hash-db", "parity-scale-codec", @@ -7175,7 +7175,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7187,7 +7187,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "serde", @@ -7199,7 +7199,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7212,7 +7212,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-api", @@ -7224,7 +7224,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7235,7 +7235,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-api", @@ -7247,7 +7247,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "log 0.4.8", @@ -7256,6 +7256,7 @@ dependencies = [ "parking_lot 0.10.2", "sp-block-builder", "sp-consensus", + "sp-database", "sp-runtime", "sp-state-machine", ] @@ -7263,7 +7264,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "serde", "serde_json", @@ -7272,7 +7273,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -7287,6 +7288,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-std", + "sp-trie", "sp-utils", "sp-version", "substrate-prometheus-endpoint", @@ -7296,7 +7298,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-api", @@ -7310,7 +7312,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "merlin", "parity-scale-codec", @@ -7329,7 +7331,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7338,7 +7340,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -7350,7 +7352,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "base58", "blake2-rfc", @@ -7393,7 +7395,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -7402,7 +7404,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -7412,7 +7414,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "environmental", "parity-scale-codec", @@ -7423,7 +7425,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -7439,7 +7441,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7449,7 +7451,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "parity-scale-codec", @@ -7461,7 +7463,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "hash-db", @@ -7482,7 +7484,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "lazy_static", "sp-core", @@ -7493,7 +7495,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "serde", @@ -7505,7 +7507,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -7516,7 +7518,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "sp-api", "sp-core", @@ -7526,7 +7528,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "backtrace", "log 0.4.8", @@ -7535,7 +7537,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "serde", "sp-core", @@ -7544,7 +7546,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "either", "hash256-std-hasher", @@ -7566,7 +7568,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "primitive-types", @@ -7581,7 +7583,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "Inflector", "proc-macro-crate", @@ -7593,7 +7595,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "serde", "serde_json", @@ -7602,7 +7604,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-api", @@ -7615,7 +7617,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7625,7 +7627,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "hash-db", "itertools 0.9.0", @@ -7646,12 +7648,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" [[package]] name = "sp-storage" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -7663,7 +7665,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7677,7 +7679,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "log 0.4.8", "rental", @@ -7687,7 +7689,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "derive_more 0.99.8", "futures 0.3.5", @@ -7703,7 +7705,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "hash-db", "memory-db", @@ -7717,7 +7719,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "futures-core", @@ -7729,7 +7731,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -7741,7 +7743,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7881,7 +7883,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "chrono", "clear_on_drop", @@ -7908,7 +7910,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "platforms", ] @@ -7916,7 +7918,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -7939,7 +7941,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "async-std", "derive_more 0.99.8", @@ -7953,7 +7955,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -7979,7 +7981,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "cfg-if", "frame-executive", @@ -8019,7 +8021,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-rc4" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -8040,7 +8042,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#b9d96fabd2462cb42862fd0a117ed42bb98401aa" +source = "git+https://github.com/paritytech/substrate#efbac7be80c6e8988a25339061078d3e300f132d" [[package]] name = "substrate-wasm-builder-runner" diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index 23a6dbfd41..772481672a 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -172,10 +172,12 @@ macro_rules! new_full_start { builder.client().clone(), builder.prometheus_registry(), ); - let pool = sc_transaction_pool::BasicPool::new( + let pool = sc_transaction_pool::BasicPool::new_full( builder.config().transaction_pool.clone(), std::sync::Arc::new(pool_api), builder.prometheus_registry(), + builder.spawn_handle(), + builder.client().clone(), ); Ok(pool) })? @@ -509,12 +511,12 @@ macro_rules! new_light { builder.client().clone(), fetcher, ); - let pool = sc_transaction_pool::BasicPool::with_revalidation_type( + let pool = Arc::new(sc_transaction_pool::BasicPool::new_light( builder.config().transaction_pool.clone(), Arc::new(pool_api), builder.prometheus_registry(), - sc_transaction_pool::RevalidationType::Light, - ); + builder.spawn_handle(), + )); Ok(pool) })? .with_import_queue_and_fprb(| diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index 313791611b..eaa5f9682f 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -160,10 +160,12 @@ macro_rules! new_full_start { builder.client().clone(), builder.prometheus_registry(), ); - let pool = sc_transaction_pool::BasicPool::new( + let pool = sc_transaction_pool::BasicPool::new_full( builder.config().transaction_pool.clone(), std::sync::Arc::new(pool_api), builder.prometheus_registry(), + builder.spawn_handle(), + builder.client().clone(), ); Ok(pool) })? @@ -626,12 +628,12 @@ macro_rules! new_light { builder.client().clone(), fetcher, ); - let pool = sc_transaction_pool::BasicPool::with_revalidation_type( + let pool = Arc::new(sc_transaction_pool::BasicPool::new_light( builder.config().transaction_pool.clone(), Arc::new(pool_api), builder.prometheus_registry(), - sc_transaction_pool::RevalidationType::Light, - ); + builder.spawn_handle(), + )); Ok(pool) })? .with_import_queue_and_fprb(|