From 0696615e2b825c6033016e22b6a7d39be474074e Mon Sep 17 00:00:00 2001 From: Squirrel Date: Sat, 30 Oct 2021 15:18:14 +0200 Subject: [PATCH] companion PR to removal of light client (#4105) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * not needed * cargo fmt * remove light-node * make full-node feature mandatory? * cargo fmt * Revert "cargo fmt" This reverts commit 5a2c7d850047466ed902faf673b779a2e02dfed2. * Revert "make full-node feature mandatory?" This reverts commit c35eb4fa399e43d29a10c83187cc39b9c74f1feb. * bump versionn numbers * Update bridges/primitives/chain-westend/src/lib.rs * fix typo + expand dictionary * update lockfile for substrate Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 323 +++++++++--------- bridges/.config/lingua.dic | 2 + .../src/requester/fetch_task/mod.rs | 2 +- node/service/Cargo.toml | 2 - node/service/src/lib.rs | 199 +---------- 5 files changed, 165 insertions(+), 363 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a76c34f86d9e..5be48f7b6271 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "beefy-primitives", "fnv", @@ -495,7 +495,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -515,12 +515,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -1910,7 +1910,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", ] @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -1948,7 +1948,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "Inflector", "chrono", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -2016,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "bitflags", "frame-metadata", @@ -2043,7 +2043,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2055,7 +2055,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro2", "quote", @@ -2077,7 +2077,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -2111,7 +2111,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "log", @@ -2128,7 +2128,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -2143,7 +2143,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "sp-api", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "sp-api", @@ -2365,7 +2365,7 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "generate-bags" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "chrono", "frame-election-provider-support", @@ -4606,7 +4606,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4620,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4695,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4710,7 +4710,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "beefy-primitives", "frame-support", @@ -4726,7 +4726,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4751,7 +4751,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4836,7 +4836,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4853,7 +4853,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4893,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4926,7 +4926,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4949,7 +4949,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4965,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -4985,7 +4985,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5019,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5037,7 +5037,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5053,7 +5053,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5070,7 +5070,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5085,7 +5085,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5139,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5168,7 +5168,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5184,7 +5184,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5205,7 +5205,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "sp-arithmetic", @@ -5278,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5292,7 +5292,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-support", "frame-system", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5363,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -5407,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-benchmarking", "frame-support", @@ -7779,7 +7779,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "env_logger 0.9.0", "jsonrpsee-proc-macros", @@ -8042,7 +8042,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "sp-core", @@ -8053,7 +8053,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "derive_more", @@ -8080,7 +8080,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8103,7 +8103,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8119,7 +8119,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8135,7 +8135,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8146,7 +8146,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "chrono", "fdlimit", @@ -8184,7 +8184,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "fnv", "futures 0.3.17", @@ -8212,7 +8212,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "hash-db", "kvdb", @@ -8237,7 +8237,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "futures 0.3.17", @@ -8261,7 +8261,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "derive_more", @@ -8304,7 +8304,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "derive_more", "futures 0.3.17", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8341,7 +8341,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "assert_matches", "async-trait", @@ -8375,7 +8375,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "futures 0.3.17", @@ -8401,7 +8401,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "sc-client-api", "sp-authorship", @@ -8412,7 +8412,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "lazy_static", "libsecp256k1 0.6.0", @@ -8438,7 +8438,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "derive_more", "environmental", @@ -8456,7 +8456,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "parity-scale-codec", @@ -8472,7 +8472,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8490,7 +8490,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "derive_more", @@ -8527,7 +8527,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "derive_more", "finality-grandpa", @@ -8551,7 +8551,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "ansi_term 0.12.1", "futures 0.3.17", @@ -8568,7 +8568,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "derive_more", @@ -8583,7 +8583,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "hash-db", "parity-scale-codec", @@ -8601,7 +8601,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-std", "async-trait", @@ -8652,7 +8652,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8668,7 +8668,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "bytes 1.0.1", "fnv", @@ -8695,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "libp2p", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "hash-db", @@ -8748,7 +8748,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "jsonrpc-core", @@ -8773,7 +8773,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "jsonrpc-core", @@ -8790,7 +8790,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "directories", @@ -8814,7 +8814,6 @@ dependencies = [ "sc-executor", "sc-informant", "sc-keystore", - "sc-light", "sc-network", "sc-offchain", "sc-rpc", @@ -8855,7 +8854,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "parity-scale-codec", @@ -8869,7 +8868,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8891,7 +8890,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "chrono", "futures 0.3.17", @@ -8909,7 +8908,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8940,7 +8939,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8951,7 +8950,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "intervalier", @@ -8978,7 +8977,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "derive_more", "futures 0.3.17", @@ -8992,7 +8991,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -9415,7 +9414,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "hash-db", "log", @@ -9432,7 +9431,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -9444,7 +9443,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9457,7 +9456,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "integer-sqrt", "num-traits", @@ -9472,7 +9471,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9485,7 +9484,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "parity-scale-codec", @@ -9497,7 +9496,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "sp-api", @@ -9509,7 +9508,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "log", @@ -9527,7 +9526,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "futures 0.3.17", @@ -9546,7 +9545,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "merlin", @@ -9569,7 +9568,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9580,7 +9579,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9592,7 +9591,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "base58", "blake2-rfc", @@ -9638,7 +9637,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "kvdb", "parking_lot", @@ -9647,7 +9646,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro2", "quote", @@ -9657,7 +9656,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "environmental", "parity-scale-codec", @@ -9668,7 +9667,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "finality-grandpa", "log", @@ -9686,7 +9685,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9700,7 +9699,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "hash-db", @@ -9724,7 +9723,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "lazy_static", "sp-core", @@ -9735,7 +9734,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "derive_more", @@ -9752,7 +9751,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "zstd", ] @@ -9760,7 +9759,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9775,7 +9774,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9786,7 +9785,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "sp-api", "sp-core", @@ -9796,7 +9795,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "backtrace", ] @@ -9804,7 +9803,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "rustc-hash", "serde", @@ -9814,7 +9813,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "either", "hash256-std-hasher", @@ -9836,7 +9835,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9853,7 +9852,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -9865,7 +9864,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "serde", "serde_json", @@ -9874,7 +9873,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9888,7 +9887,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "scale-info", @@ -9899,7 +9898,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "hash-db", "log", @@ -9922,12 +9921,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9940,7 +9939,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "log", "sp-core", @@ -9953,7 +9952,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9969,7 +9968,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "sp-std", @@ -9981,7 +9980,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "sp-api", "sp-runtime", @@ -9990,7 +9989,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "log", @@ -10006,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "hash-db", "memory-db", @@ -10021,7 +10020,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10037,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10048,7 +10047,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10276,7 +10275,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "platforms", ] @@ -10284,7 +10283,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.17", @@ -10306,7 +10305,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-std", "derive_more", @@ -10320,7 +10319,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "async-trait", "futures 0.3.17", @@ -10347,7 +10346,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "futures 0.3.17", "substrate-test-utils-derive", @@ -10357,7 +10356,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -10368,7 +10367,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "ansi_term 0.12.1", "build-helper", @@ -10521,7 +10520,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "frame-system", "futures 0.3.17", @@ -10963,7 +10962,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#945377f35fd6ba265d6bd2b808e97749471dec0b" +source = "git+https://github.com/paritytech/substrate?branch=master#1d818f38a3198f21b4ae68bac3dc98219fccc669" dependencies = [ "jsonrpsee-ws-client", "log", diff --git a/bridges/.config/lingua.dic b/bridges/.config/lingua.dic index ee369c0f1095..1fc67a5a5d24 100644 --- a/bridges/.config/lingua.dic +++ b/bridges/.config/lingua.dic @@ -18,6 +18,7 @@ BFT/M bitfield/MS blake2/MS blockchain/MS +boolean borked BridgeStorage BlockNumber @@ -30,6 +31,7 @@ ChainTime chain_getBlock choosen config/MS +cooldown crypto/MS customizable/B Debian/M diff --git a/node/network/availability-distribution/src/requester/fetch_task/mod.rs b/node/network/availability-distribution/src/requester/fetch_task/mod.rs index 0c5dd6e684c1..93b5d14f8171 100644 --- a/node/network/availability-distribution/src/requester/fetch_task/mod.rs +++ b/node/network/availability-distribution/src/requester/fetch_task/mod.rs @@ -103,7 +103,7 @@ struct RunningTask { /// Index of validator group to fetch the chunk from. /// - /// Needef for reporting bad validators. + /// Needed for reporting bad validators. group_index: GroupIndex, /// Validators to request the chunk from. diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index ba15a841e8a5..0c71830a07b8 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -152,8 +152,6 @@ full-node = [ "kvdb-rocksdb" ] -light-node = [] - # Configure the native runtimes to use. Polkadot is enabled by default. # # Validators require the native runtime currently diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 7f004c49f211..2fa529eaa8ef 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -101,8 +101,7 @@ pub use sc_executor::NativeExecutionDispatch; pub use service::{ config::{DatabaseSource, PrometheusConfig}, ChainSpec, Configuration, Error as SubstrateServiceError, PruningMode, Role, RuntimeGenesis, - TFullBackend, TFullCallExecutor, TFullClient, TLightBackend, TLightCallExecutor, TLightClient, - TaskManager, TransactionPoolOptions, + TFullBackend, TFullCallExecutor, TFullClient, TaskManager, TransactionPoolOptions, }; pub use sp_api::{ApiRef, ConstructRuntimeApi, Core as CoreApi, ProvideRuntimeApi, StateBackend}; pub use sp_runtime::{ @@ -313,13 +312,6 @@ type FullGrandpaBlockImport; -#[cfg(feature = "light-node")] -type LightBackend = service::TLightBackendWithHash; - -#[cfg(feature = "light-node")] -type LightClient = - service::TLightClientWithBackend; - #[cfg(feature = "full-node")] struct Basics where @@ -1127,168 +1119,6 @@ where Ok(NewFull { task_manager, client, overseer_handle, network, rpc_handlers, backend }) } -/// Builds a new service for a light client. -#[cfg(feature = "light-node")] -fn new_light( - mut config: Configuration, -) -> Result<(TaskManager, RpcHandlers), Error> -where - Runtime: 'static + Send + Sync + ConstructRuntimeApi>, - >>::RuntimeApi: - RuntimeApiCollection>, - Dispatch: NativeExecutionDispatch + 'static, -{ - set_prometheus_registry(&mut config)?; - use sc_client_api::backend::RemoteBackend; - - let telemetry = config - .telemetry_endpoints - .clone() - .filter(|x| !x.is_empty()) - .map(|endpoints| -> Result<_, telemetry::Error> { - let worker = TelemetryWorker::new(16)?; - let telemetry = worker.handle().new_telemetry(endpoints); - Ok((worker, telemetry)) - }) - .transpose()?; - - let (client, backend, keystore_container, mut task_manager, on_demand) = - service::new_light_parts::( - &config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - )?; - - let mut telemetry = telemetry.map(|(worker, telemetry)| { - task_manager.spawn_handle().spawn("telemetry", worker.run()); - telemetry - }); - - config.network.extra_sets.push(grandpa::grandpa_peers_set_config()); - - let select_chain = sc_consensus::LongestChain::new(backend.clone()); - - let transaction_pool = Arc::new(sc_transaction_pool::BasicPool::new_light( - config.transaction_pool.clone(), - config.prometheus_registry(), - task_manager.spawn_essential_handle(), - client.clone(), - on_demand.clone(), - )); - - let (grandpa_block_import, grandpa_link) = grandpa::block_import( - client.clone(), - &(client.clone() as Arc<_>), - select_chain.clone(), - telemetry.as_ref().map(|x| x.handle()), - )?; - let justification_import = grandpa_block_import.clone(); - - let (babe_block_import, babe_link) = babe::block_import( - babe::Config::get_or_compute(&*client)?, - grandpa_block_import, - client.clone(), - )?; - - // FIXME: pruning task isn't started since light client doesn't do `AuthoritySetup`. - let slot_duration = babe_link.config().slot_duration(); - let import_queue = babe::import_queue( - babe_link, - babe_block_import, - Some(Box::new(justification_import)), - client.clone(), - select_chain.clone(), - move |_, ()| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration, - ); - - Ok((timestamp, slot)) - }, - &task_manager.spawn_essential_handle(), - config.prometheus_registry(), - consensus_common::NeverCanAuthor, - telemetry.as_ref().map(|x| x.handle()), - )?; - - let warp_sync = Arc::new(grandpa::warp_proof::NetworkProvider::new( - backend.clone(), - grandpa_link.shared_authority_set().clone(), - )); - - let (network, system_rpc_tx, network_starter) = - service::build_network(service::BuildNetworkParams { - config: &config, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - spawn_handle: task_manager.spawn_handle(), - import_queue, - on_demand: Some(on_demand.clone()), - block_announce_validator_builder: None, - warp_sync: Some(warp_sync), - })?; - - let enable_grandpa = !config.disable_grandpa; - if enable_grandpa { - let name = config.network.node_name.clone(); - - let config = grandpa::Config { - gossip_duration: Duration::from_millis(1000), - justification_period: 512, - name: Some(name), - observer_enabled: false, - keystore: None, - local_role: config.role.clone(), - telemetry: telemetry.as_ref().map(|x| x.handle()), - }; - - task_manager.spawn_handle().spawn_blocking( - "grandpa-observer", - grandpa::run_grandpa_observer(config, grandpa_link, network.clone())?, - ); - } - - if config.offchain_worker.enabled { - let _ = service::build_offchain_workers( - &config, - task_manager.spawn_handle(), - client.clone(), - network.clone(), - ); - } - - let light_deps = polkadot_rpc::LightDeps { - remote_blockchain: backend.remote_blockchain(), - fetcher: on_demand.clone(), - client: client.clone(), - pool: transaction_pool.clone(), - }; - - let rpc_extensions = polkadot_rpc::create_light(light_deps); - - let rpc_handlers = service::spawn_tasks(service::SpawnTasksParams { - on_demand: Some(on_demand), - remote_blockchain: Some(backend.remote_blockchain()), - rpc_extensions_builder: Box::new(service::NoopRpcExtensionBuilder(rpc_extensions)), - task_manager: &mut task_manager, - config, - keystore: keystore_container.sync_keystore(), - backend, - transaction_pool, - client, - network, - system_rpc_tx, - telemetry: telemetry.as_mut(), - })?; - - network_starter.start_network(); - - Ok((task_manager, rpc_handlers)) -} - #[cfg(feature = "full-node")] macro_rules! chain_ops { ($config:expr, $jaeger_agent:expr, $telemetry_worker_handle:expr; $scope:ident, $executor:ident, $variant:ident) => {{ @@ -1356,33 +1186,6 @@ pub fn new_chain_ops( Err(Error::NoRuntime) } -/// Build a new light node. -#[cfg(feature = "light-node")] -pub fn build_light(config: Configuration) -> Result<(TaskManager, RpcHandlers), Error> { - #[cfg(feature = "rococo-native")] - if config.chain_spec.is_rococo() || config.chain_spec.is_wococo() { - return new_light::(config) - } - - #[cfg(feature = "kusama-native")] - if config.chain_spec.is_kusama() { - return new_light::(config) - } - - #[cfg(feature = "westend-native")] - if config.chain_spec.is_westend() { - return new_light::(config) - } - - #[cfg(feature = "polkadot-native")] - { - return new_light::(config) - } - - #[cfg(not(feature = "polkadot-native"))] - Err(Error::NoRuntime) -} - #[cfg(feature = "full-node")] pub fn build_full( config: Configuration,