diff --git a/Cargo.lock b/Cargo.lock index 60fc04871de7..0f6f83ad8295 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1485,7 +1485,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", ] @@ -1493,7 +1493,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -1511,7 +1511,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1529,7 +1529,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -1544,7 +1544,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "serde", @@ -1555,7 +1555,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "bitmask", "frame-metadata", @@ -1580,7 +1580,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1591,7 +1591,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1603,7 +1603,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -1643,7 +1643,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-api", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -3858,7 +3858,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -3873,7 +3873,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3898,7 +3898,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3912,7 +3912,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3928,7 +3928,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3943,7 +3943,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3958,7 +3958,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -3974,7 +3974,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -3996,7 +3996,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4012,7 +4012,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4032,7 +4032,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4048,7 +4048,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4062,7 +4062,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4077,7 +4077,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4091,7 +4091,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4127,7 +4127,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4142,7 +4142,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4155,7 +4155,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "enumflags2", "frame-support", @@ -4170,7 +4170,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4185,7 +4185,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4205,7 +4205,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4221,7 +4221,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4235,7 +4235,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4257,7 +4257,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -4268,7 +4268,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4282,7 +4282,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4300,7 +4300,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "frame-system", @@ -4317,7 +4317,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4335,7 +4335,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-support", "parity-scale-codec", @@ -4348,7 +4348,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4363,7 +4363,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-benchmarking", "frame-support", @@ -4379,7 +4379,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5873,14 +5873,15 @@ dependencies = [ [[package]] name = "prometheus" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0ced56dee39a6e960c15c74dc48849d614586db2eaada6497477af7c7811cd" +checksum = "30d70cf4412832bcac9cffe27906f4a66e450d323525e977168c70d1b36120ae" dependencies = [ "cfg-if", "fnv", "lazy_static", - "spin", + "parking_lot 0.11.0", + "regex", "thiserror", ] @@ -6566,7 +6567,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "bytes 0.5.5", "derive_more 0.99.9", @@ -6594,7 +6595,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6618,7 +6619,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6635,7 +6636,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6652,7 +6653,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -6663,7 +6664,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6710,7 +6711,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "fnv", @@ -6746,7 +6747,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "blake2-rfc", "hash-db", @@ -6776,7 +6777,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6787,7 +6788,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "fork-tree", @@ -6831,7 +6832,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -6855,7 +6856,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "fork-tree", "parity-scale-codec", @@ -6868,7 +6869,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6891,7 +6892,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "sc-client-api", @@ -6905,7 +6906,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "lazy_static", @@ -6933,7 +6934,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -6950,7 +6951,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6965,7 +6966,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -6983,7 +6984,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -7020,7 +7021,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "finality-grandpa", @@ -7042,7 +7043,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -7060,7 +7061,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "hex", @@ -7076,7 +7077,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "hash-db", "lazy_static", @@ -7095,7 +7096,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "async-std", "async-trait", @@ -7149,7 +7150,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7164,7 +7165,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "bytes 0.5.5", "fnv", @@ -7191,7 +7192,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "libp2p", @@ -7204,7 +7205,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "substrate-prometheus-endpoint", @@ -7213,7 +7214,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "hash-db", @@ -7245,7 +7246,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7269,7 +7270,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -7285,7 +7286,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "directories", @@ -7346,7 +7347,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "parity-scale-codec", @@ -7360,7 +7361,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -7381,7 +7382,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "erased-serde", "log 0.4.11", @@ -7399,7 +7400,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7420,7 +7421,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -7893,7 +7894,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -7905,7 +7906,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "hash-db", "parity-scale-codec", @@ -7920,7 +7921,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7932,7 +7933,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "serde", @@ -7944,7 +7945,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -7957,7 +7958,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-api", @@ -7969,7 +7970,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7980,7 +7981,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-api", @@ -7992,7 +7993,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "log 0.4.11", @@ -8009,7 +8010,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "serde", "serde_json", @@ -8018,7 +8019,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8044,7 +8045,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "merlin", "parity-scale-codec", @@ -8063,7 +8064,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8072,7 +8073,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8084,7 +8085,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "base58", "blake2-rfc", @@ -8128,7 +8129,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -8137,7 +8138,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -8147,7 +8148,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "environmental", "parity-scale-codec", @@ -8158,7 +8159,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "finality-grandpa", "log 0.4.11", @@ -8174,7 +8175,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8184,7 +8185,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "parity-scale-codec", @@ -8196,7 +8197,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "hash-db", @@ -8217,7 +8218,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "lazy_static", "sp-core", @@ -8228,7 +8229,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "serde", @@ -8240,7 +8241,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -8251,7 +8252,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "sp-api", "sp-core", @@ -8261,7 +8262,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "backtrace", "log 0.4.11", @@ -8270,7 +8271,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "serde", "sp-core", @@ -8279,7 +8280,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "either", "hash256-std-hasher", @@ -8301,7 +8302,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "primitive-types", @@ -8317,7 +8318,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "Inflector", "proc-macro-crate", @@ -8329,7 +8330,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "serde", "serde_json", @@ -8338,7 +8339,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-api", @@ -8351,7 +8352,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8361,10 +8362,9 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "hash-db", - "itertools 0.9.0", "log 0.4.11", "num-traits 0.2.12", "parity-scale-codec", @@ -8374,6 +8374,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-panic-handler", + "sp-std", "sp-trie", "trie-db", "trie-root", @@ -8382,12 +8383,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" [[package]] name = "sp-storage" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8400,7 +8401,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8414,7 +8415,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "log 0.4.11", "rental", @@ -8424,7 +8425,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "derive_more 0.99.9", "futures 0.3.5", @@ -8439,7 +8440,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "hash-db", "memory-db", @@ -8453,7 +8454,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "futures-core", @@ -8465,7 +8466,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8477,7 +8478,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8618,7 +8619,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "chrono", "console_error_panic_hook", @@ -8644,7 +8645,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "platforms", ] @@ -8652,7 +8653,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -8675,7 +8676,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "async-std", "derive_more 0.99.9", @@ -8689,7 +8690,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.1.29", "futures 0.3.5", @@ -8715,7 +8716,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "futures 0.3.5", "substrate-test-utils-derive", @@ -8725,7 +8726,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.0-rc6" -source = "git+https://github.com/paritytech/substrate#e473c5bb6525f0480f415bf58ed5a03f20367d6c" +source = "git+https://github.com/paritytech/substrate#5fa2fddec607f27de2b480feaeb2e068ac5f4f34" dependencies = [ "proc-macro-crate", "quote 1.0.7", diff --git a/cli/src/cli.rs b/cli/src/cli.rs index dacabfec9009..154aaa14dc22 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -24,6 +24,9 @@ pub enum Subcommand { /// Build a chain specification. BuildSpec(sc_cli::BuildSpecCmd), + /// Build a chain specification with a light client sync state. + BuildSyncSpec(sc_cli::BuildSyncSpecCmd), + /// Validate blocks. CheckBlock(sc_cli::CheckBlockCmd), diff --git a/cli/src/command.rs b/cli/src/command.rs index 150d025e8481..5ea0319c832d 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -21,6 +21,7 @@ use service::{IdentifyVariant, self}; use service_new::{IdentifyVariant, self as service}; use sc_cli::{SubstrateCli, Result, RuntimeVersion, Role}; use crate::cli::{Cli, Subcommand}; +use std::sync::Arc; fn get_exec_name() -> Option { std::env::current_exe() @@ -154,6 +155,39 @@ pub fn run() -> Result<()> { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| cmd.run(config.chain_spec, config.network)) }, + Some(Subcommand::BuildSyncSpec(cmd)) => { + let runner = cli.create_runner(cmd)?; + let chain_spec = &runner.config().chain_spec; + + set_default_ss58_version(chain_spec); + + let authority_discovery_enabled = cli.run.authority_discovery_enabled; + let grandpa_pause = if cli.run.grandpa_pause.is_empty() { + None + } else { + Some((cli.run.grandpa_pause[0], cli.run.grandpa_pause[1])) + }; + + if chain_spec.is_kusama() { + info!("----------------------------"); + info!("This chain is not in any way"); + info!(" endorsed by the "); + info!(" KUSAMA FOUNDATION "); + info!("----------------------------"); + } + + runner.async_run(|config| { + let chain_spec = config.chain_spec.cloned_box(); + let network_config = config.network.clone(); + let service::NewFull { task_manager, client, network_status_sinks, .. } + = service::new_full_nongeneric( + config, None, authority_discovery_enabled, grandpa_pause, false, + )?; + let client = Arc::new(client); + + Ok((cmd.run(chain_spec, network_config, client, network_status_sinks), task_manager)) + }) + }, Some(Subcommand::CheckBlock(cmd)) => { let runner = cli.create_runner(cmd)?; let chain_spec = &runner.config().chain_spec; diff --git a/node/test-service/src/lib.rs b/node/test-service/src/lib.rs index 1f6e45879c78..f05b96c18600 100644 --- a/node/test-service/src/lib.rs +++ b/node/test-service/src/lib.rs @@ -27,7 +27,7 @@ use polkadot_primitives::v0::{ }; use polkadot_runtime_common::BlockHashCount; use polkadot_service::{ - new_full, FullNodeHandles, AbstractClient, ClientHandle, ExecuteWithClient, + new_full, NewFull, FullNodeHandles, AbstractClient, ClientHandle, ExecuteWithClient, }; use polkadot_test_runtime::{Runtime, SignedExtra, SignedPayload, VERSION}; use sc_chain_spec::ChainSpec; @@ -74,7 +74,7 @@ pub fn polkadot_test_new_full( ), ServiceError, > { - let (task_manager, client, handles, network, rpc_handlers) = + let NewFull { task_manager, client, node_handles, network, rpc_handlers, .. } = new_full::( config, collating_for, @@ -83,7 +83,7 @@ pub fn polkadot_test_new_full( true, )?; - Ok((task_manager, client, handles, network, rpc_handlers)) + Ok((task_manager, client, node_handles, network, rpc_handlers)) } /// A wrapper for the test client that implements `ClientHandle`. diff --git a/service/src/client.rs b/service/src/client.rs index c6dad04aa667..20e924078ddf 100644 --- a/service/src/client.rs +++ b/service/src/client.rs @@ -349,3 +349,48 @@ impl sc_client_api::StorageProvider for Client { } } } + +impl sp_blockchain::HeaderBackend for Client { + fn header(&self, id: BlockId) -> sp_blockchain::Result::Header>> { + match self { + Self::Polkadot(client) => client.header(&id), + Self::Westend(client) => client.header(&id), + Self::Kusama(client) => client.header(&id), + } + } + + fn info(&self) -> sp_blockchain::Info { + match self { + Self::Polkadot(client) => client.info(), + Self::Westend(client) => client.info(), + Self::Kusama(client) => client.info(), + } + } + + fn status(&self, id: BlockId) -> sp_blockchain::Result { + match self { + Self::Polkadot(client) => client.status(id), + Self::Westend(client) => client.status(id), + Self::Kusama(client) => client.status(id), + } + } + + fn number( + &self, + hash: ::Hash + ) -> sp_blockchain::Result>> { + match self { + Self::Polkadot(client) => client.number(hash), + Self::Westend(client) => client.number(hash), + Self::Kusama(client) => client.number(hash), + } + } + + fn hash(&self, number: NumberFor) -> sp_blockchain::Result::Hash>> { + match self { + Self::Polkadot(client) => client.hash(number), + Self::Westend(client) => client.hash(number), + Self::Kusama(client) => client.hash(number), + } + } +} diff --git a/service/src/lib.rs b/service/src/lib.rs index 49924eaf4be3..e322f4ce8519 100644 --- a/service/src/lib.rs +++ b/service/src/lib.rs @@ -243,6 +243,30 @@ pub fn new_partial(config: &mut Configuration, test: bool) }) } +#[cfg(feature = "full-node")] +pub struct NewFull { + pub task_manager: TaskManager, + pub client: C, + pub node_handles: FullNodeHandles, + pub network: Arc::Hash>>, + pub network_status_sinks: service::NetworkStatusSinks, + pub rpc_handlers: RpcHandlers, +} + +#[cfg(feature = "full-node")] +impl NewFull { + fn with_client(self, func: impl FnOnce(C) -> Client) -> NewFull { + NewFull { + client: func(self.client), + task_manager: self.task_manager, + node_handles: self.node_handles, + network: self.network, + network_status_sinks: self.network_status_sinks, + rpc_handlers: self.rpc_handlers, + } + } +} + #[cfg(feature = "full-node")] pub fn new_full( mut config: Configuration, @@ -250,13 +274,7 @@ pub fn new_full( authority_discovery_enabled: bool, grandpa_pause: Option<(u32, u32)>, test: bool, -) -> Result<( - TaskManager, - Arc>, - FullNodeHandles, - Arc::Hash>>, - RpcHandlers, -), Error> +) -> Result>>, Error> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: @@ -318,7 +336,8 @@ pub fn new_full( on_demand: None, remote_blockchain: None, telemetry_connection_sinks: telemetry_connection_sinks.clone(), - network_status_sinks, system_rpc_tx, + network_status_sinks: network_status_sinks.clone(), + system_rpc_tx, })?; let (block_import, link_half, babe_link) = import_setup; @@ -457,7 +476,45 @@ pub fn new_full( network_starter.start_network(); - Ok((task_manager, client, FullNodeHandles, network, rpc_handlers)) + Ok(NewFull { + task_manager, client, node_handles: FullNodeHandles, network, network_status_sinks, + rpc_handlers, + }) +} + +#[cfg(feature = "full-node")] +pub fn new_full_nongeneric( + config: Configuration, + collating_for: Option<(CollatorId, parachain::Id)>, + authority_discovery_enabled: bool, + grandpa_pause: Option<(u32, u32)>, + test: bool, +) -> Result, Error> { + if config.chain_spec.is_kusama() { + new_full::( + config, + collating_for, + authority_discovery_enabled, + grandpa_pause, + test, + ).map(|full| full.with_client(Client::Kusama)) + } else if config.chain_spec.is_westend() { + new_full::( + config, + collating_for, + authority_discovery_enabled, + grandpa_pause, + false, + ).map(|full| full.with_client(Client::Westend)) + } else { + new_full::( + config, + collating_for, + authority_discovery_enabled, + grandpa_pause, + false, + ).map(|full| full.with_client(Client::Polkadot)) + } } /// Builds a new service for a light client. @@ -607,7 +664,9 @@ pub fn polkadot_new_full( FullNodeHandles, ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let NewFull { + task_manager, client, node_handles, .. + } = new_full::( config, collating_for, authority_discovery_enabled, @@ -615,7 +674,7 @@ pub fn polkadot_new_full( false, )?; - Ok((service, client, handles)) + Ok((task_manager, client, node_handles)) } /// Create a new Kusama service for a full node. @@ -631,7 +690,9 @@ pub fn kusama_new_full( FullNodeHandles ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let NewFull { + task_manager, client, node_handles, .. + } = new_full::( config, collating_for, authority_discovery_enabled, @@ -639,7 +700,7 @@ pub fn kusama_new_full( false, )?; - Ok((service, client, handles)) + Ok((task_manager, client, node_handles)) } /// Create a new Westend service for a full node. @@ -656,7 +717,9 @@ pub fn westend_new_full( FullNodeHandles, ), ServiceError> { - let (service, client, handles, _, _) = new_full::( + let NewFull { + task_manager, client, node_handles, .. + } = new_full::( config, collating_for, authority_discovery_enabled, @@ -664,7 +727,7 @@ pub fn westend_new_full( false, )?; - Ok((service, client, handles)) + Ok((task_manager, client, node_handles)) } /// Handles to other sub-services that full nodes instantiate, which consumers @@ -692,29 +755,11 @@ pub fn build_full( authority_discovery_enabled: bool, grandpa_pause: Option<(u32, u32)>, ) -> Result<(TaskManager, Client, FullNodeHandles), ServiceError> { - if config.chain_spec.is_kusama() { - new_full::( - config, - collating_for, - authority_discovery_enabled, - grandpa_pause, - false, - ).map(|(task_manager, client, handles, _, _)| (task_manager, Client::Kusama(client), handles)) - } else if config.chain_spec.is_westend() { - new_full::( - config, - collating_for, - authority_discovery_enabled, - grandpa_pause, - false, - ).map(|(task_manager, client, handles, _, _)| (task_manager, Client::Westend(client), handles)) - } else { - new_full::( - config, - collating_for, - authority_discovery_enabled, - grandpa_pause, - false, - ).map(|(task_manager, client, handles, _, _)| (task_manager, Client::Polkadot(client), handles)) - } + new_full_nongeneric( + config, + collating_for, + authority_discovery_enabled, + grandpa_pause, + false, + ).map(|NewFull { task_manager, client, node_handles, .. }| (task_manager, client, node_handles)) }