From 960748744217ddb27c3067baba72827b096892d1 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 18 Aug 2021 00:54:10 +0200 Subject: [PATCH] Companion PR for 'Remove substrate-in-the-browser #9541' (#3652) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove telemetry external transport member * Make it compile * Remove more Co-authored-by: Bastian Köcher --- polkadot/Cargo.lock | 367 +++++++++++--------------- polkadot/cli/Cargo.toml | 9 - polkadot/cli/browser-demo/.gitignore | 1 - polkadot/cli/browser-demo/README.md | 9 - polkadot/cli/browser-demo/build.sh | 3 - polkadot/cli/browser-demo/favicon.png | Bin 4824 -> 0 bytes polkadot/cli/browser-demo/index.html | 41 --- polkadot/cli/src/browser.rs | 50 ---- polkadot/cli/src/command.rs | 13 +- polkadot/cli/src/lib.rs | 2 - polkadot/node/test/service/src/lib.rs | 1 - 11 files changed, 157 insertions(+), 339 deletions(-) delete mode 100644 polkadot/cli/browser-demo/.gitignore delete mode 100644 polkadot/cli/browser-demo/README.md delete mode 100755 polkadot/cli/browser-demo/build.sh delete mode 100644 polkadot/cli/browser-demo/favicon.png delete mode 100644 polkadot/cli/browser-demo/index.html delete mode 100644 polkadot/cli/src/browser.rs diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 9423beb0f8..2b60be8e4b 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1039,12 +1039,10 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" dependencies = [ - "js-sys", "libc", "num-integer", "num-traits", "time", - "wasm-bindgen", "winapi 0.3.9", ] @@ -1143,16 +1141,6 @@ dependencies = [ "cache-padded", ] -[[package]] -name = "console_error_panic_hook" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211" -dependencies = [ - "cfg-if 0.1.10", - "wasm-bindgen", -] - [[package]] name = "constant_time_eq" version = "0.1.5" @@ -1935,7 +1923,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", ] @@ -1953,7 +1941,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -1972,7 +1960,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "Inflector", "chrono", @@ -1998,7 +1986,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -2011,7 +1999,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -2026,7 +2014,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "serde", @@ -2037,7 +2025,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "bitflags", "frame-metadata", @@ -2063,7 +2051,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2075,7 +2063,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2087,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro2", "quote", @@ -2097,7 +2085,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-metadata", "frame-support", @@ -2118,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -2128,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "log", @@ -2144,7 +2132,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -2158,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -2167,7 +2155,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "sp-api", @@ -2354,10 +2342,6 @@ name = "futures-timer" version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" -dependencies = [ - "gloo-timers", - "send_wrapper", -] [[package]] name = "futures-util" @@ -2428,7 +2412,6 @@ dependencies = [ "cfg-if 0.1.10", "libc", "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -2438,10 +2421,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6" dependencies = [ "cfg-if 1.0.0", - "js-sys", "libc", "wasi 0.10.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -4573,7 +4554,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -4588,7 +4569,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -4602,7 +4583,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4606,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4661,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4758,7 +4739,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4774,7 +4755,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4789,7 +4770,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4810,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4808,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4863,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4878,7 +4859,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4897,7 +4878,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4913,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4909,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4945,7 +4926,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -4961,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4978,7 +4959,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5005,7 +4986,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5021,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5043,7 +5024,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5057,7 +5038,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5070,7 +5051,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5085,7 +5066,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5105,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5121,7 +5102,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5134,7 +5115,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5156,7 +5137,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5167,7 +5148,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "sp-arithmetic", @@ -5176,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5189,7 +5170,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5206,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5202,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-support", "frame-system", @@ -5237,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5254,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5265,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5281,7 +5262,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5277,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -5820,12 +5801,9 @@ dependencies = [ "sp-core", "sp-trie", "structopt", - "substrate-browser-utils", "substrate-build-script-utils", "thiserror", "try-runtime-cli", - "wasm-bindgen", - "wasm-bindgen-futures", ] [[package]] @@ -7832,7 +7810,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "env_logger 0.9.0", "jsonrpsee-proc-macros", @@ -8114,7 +8092,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "sp-core", @@ -8125,7 +8103,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "derive_more", @@ -8152,7 +8130,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8175,7 +8153,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8191,7 +8169,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8207,7 +8185,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8218,7 +8196,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "chrono", "fdlimit", @@ -8256,7 +8234,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "fnv", "futures 0.3.16", @@ -8284,7 +8262,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "hash-db", "kvdb", @@ -8309,7 +8287,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "futures 0.3.16", @@ -8328,13 +8306,12 @@ dependencies = [ "sp-utils", "substrate-prometheus-endpoint", "thiserror", - "wasm-timer", ] [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "derive_more", @@ -8377,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "derive_more", "futures 0.3.16", @@ -8401,7 +8378,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8414,7 +8391,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "assert_matches", "async-trait", @@ -8448,7 +8425,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "futures 0.3.16", @@ -8474,7 +8451,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "sc-client-api", "sp-authorship", @@ -8485,7 +8462,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "lazy_static", "libsecp256k1 0.6.0", @@ -8511,7 +8488,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "derive_more", "parity-scale-codec", @@ -8528,7 +8505,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "parity-scale-codec", @@ -8543,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8562,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "derive_more", @@ -8594,13 +8571,12 @@ dependencies = [ "sp-runtime", "sp-utils", "substrate-prometheus-endpoint", - "wasm-timer", ] [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "derive_more", "finality-grandpa", @@ -8624,7 +8600,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "ansi_term 0.12.1", "futures 0.3.16", @@ -8636,13 +8612,12 @@ dependencies = [ "sc-transaction-pool-api", "sp-blockchain", "sp-runtime", - "wasm-timer", ] [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "derive_more", @@ -8657,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "hash-db", "parity-scale-codec", @@ -8675,7 +8650,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-std", "async-trait", @@ -8720,14 +8695,13 @@ dependencies = [ "thiserror", "unsigned-varint 0.6.0", "void", - "wasm-timer", "zeroize", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8738,13 +8712,12 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "tracing", - "wasm-timer", ] [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "bytes 1.0.1", "fnv", @@ -8771,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "libp2p", @@ -8784,7 +8757,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8793,7 +8766,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "hash-db", @@ -8824,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "derive_more", "futures 0.3.16", @@ -8849,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "jsonrpc-core", @@ -8865,7 +8838,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "directories", @@ -8924,13 +8897,12 @@ dependencies = [ "thiserror", "tracing", "tracing-futures", - "wasm-timer", ] [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "parity-scale-codec", @@ -8944,7 +8916,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8966,7 +8938,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "chrono", "futures 0.3.16", @@ -8984,7 +8956,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "ansi_term 0.12.1", "atty", @@ -9015,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9026,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "intervalier", @@ -9048,13 +9020,12 @@ dependencies = [ "sp-utils", "substrate-prometheus-endpoint", "thiserror", - "wasm-timer", ] [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "derive_more", "futures 0.3.16", @@ -9215,12 +9186,6 @@ dependencies = [ "pest", ] -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - [[package]] name = "separator" version = "0.4.1" @@ -9494,7 +9459,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "hash-db", "log", @@ -9511,7 +9476,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9523,7 +9488,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "serde", @@ -9535,7 +9500,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "integer-sqrt", "num-traits", @@ -9549,7 +9514,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -9561,7 +9526,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "parity-scale-codec", @@ -9573,7 +9538,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -9585,7 +9550,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "log", @@ -9603,7 +9568,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "futures 0.3.16", @@ -9622,7 +9587,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "merlin", @@ -9644,7 +9609,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9654,7 +9619,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9666,7 +9631,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "base58", "blake2-rfc", @@ -9710,7 +9675,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9719,7 +9684,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro2", "quote", @@ -9729,7 +9694,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "environmental", "parity-scale-codec", @@ -9740,7 +9705,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "finality-grandpa", "log", @@ -9757,7 +9722,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9771,7 +9736,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "hash-db", @@ -9796,7 +9761,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "lazy_static", "sp-core", @@ -9807,7 +9772,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "derive_more", @@ -9824,7 +9789,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "ruzstd", "zstd", @@ -9833,7 +9798,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "serde", @@ -9846,7 +9811,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9857,7 +9822,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "sp-api", "sp-core", @@ -9867,7 +9832,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "backtrace", ] @@ -9875,7 +9840,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "rustc-hash", "serde", @@ -9885,7 +9850,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "either", "hash256-std-hasher", @@ -9906,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9923,7 +9888,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9935,7 +9900,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "serde", "serde_json", @@ -9944,7 +9909,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -9957,7 +9922,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9967,7 +9932,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "hash-db", "log", @@ -9990,12 +9955,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10008,7 +9973,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "sp-core", @@ -10021,7 +9986,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10032,13 +9997,12 @@ dependencies = [ "sp-runtime", "sp-std", "thiserror", - "wasm-timer", ] [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "erased-serde", "log", @@ -10056,7 +10020,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "sp-api", "sp-runtime", @@ -10065,7 +10029,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "log", @@ -10080,7 +10044,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "hash-db", "memory-db", @@ -10094,7 +10058,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -10105,7 +10069,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10120,7 +10084,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10131,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10305,35 +10269,10 @@ dependencies = [ "zeroize", ] -[[package]] -name = "substrate-browser-utils" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" -dependencies = [ - "chrono", - "console_error_panic_hook", - "futures 0.3.16", - "futures-timer 3.0.2", - "getrandom 0.2.1", - "js-sys", - "kvdb-memorydb", - "libp2p-wasm-ext", - "log", - "rand 0.7.3", - "sc-chain-spec", - "sc-informant", - "sc-network", - "sc-service", - "sc-tracing", - "sp-database", - "wasm-bindgen", - "wasm-bindgen-futures", -] - [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "platforms", ] @@ -10341,7 +10280,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.16", @@ -10363,7 +10302,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-std", "derive_more", @@ -10377,7 +10316,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "async-trait", "futures 0.3.16", @@ -10404,7 +10343,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "futures 0.3.16", "substrate-test-utils-derive", @@ -10414,7 +10353,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10424,7 +10363,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "ansi_term 0.12.1", "build-helper", @@ -10579,7 +10518,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "frame-system", "futures 0.3.16", @@ -11030,7 +10969,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#67f28cdba85c362da17909c69c19952e3ef931c7" +source = "git+https://github.com/paritytech/substrate?branch=master#d2a43d47ab7339e70c3448b4553073584cfd61ab" dependencies = [ "log", "parity-scale-codec", diff --git a/polkadot/cli/Cargo.toml b/polkadot/cli/Cargo.toml index 140a99b04c..dd7b554306 100644 --- a/polkadot/cli/Cargo.toml +++ b/polkadot/cli/Cargo.toml @@ -17,8 +17,6 @@ crate-type = ["cdylib", "rlib"] log = "0.4.13" thiserror = "1.0.26" structopt = { version = "0.3.21", optional = true } -wasm-bindgen = { version = "0.2.70", optional = true } -wasm-bindgen-futures = { version = "0.4.25", optional = true } futures = "0.3.15" service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true } @@ -29,7 +27,6 @@ frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", bran try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true } # this crate is used only to enable `trie-memory-tracker` feature # see https://github.com/paritytech/substrate/pull/6745 @@ -57,12 +54,6 @@ cli = [ # is resolved. "service/memory-stats", ] -browser = [ - "wasm-bindgen", - "wasm-bindgen-futures", - "browser-utils", - "service/light-node", -] runtime-benchmarks = [ "service/runtime-benchmarks" ] trie-memory-tracker = [ "sp-trie/memory-tracker" ] full-node = [ "service/full-node" ] diff --git a/polkadot/cli/browser-demo/.gitignore b/polkadot/cli/browser-demo/.gitignore deleted file mode 100644 index 0c6117d9fb..0000000000 --- a/polkadot/cli/browser-demo/.gitignore +++ /dev/null @@ -1 +0,0 @@ -pkg \ No newline at end of file diff --git a/polkadot/cli/browser-demo/README.md b/polkadot/cli/browser-demo/README.md deleted file mode 100644 index 2ff1cc54f5..0000000000 --- a/polkadot/cli/browser-demo/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# How to run this demo - -```sh -cargo install wasm-pack # If necessary - -wasm-pack build --target web --out-dir ./browser-demo/pkg --no-typescript --release ./.. -- --no-default-features --features "browser" - -xdg-open index.html -``` diff --git a/polkadot/cli/browser-demo/build.sh b/polkadot/cli/browser-demo/build.sh deleted file mode 100755 index 059ed9fe42..0000000000 --- a/polkadot/cli/browser-demo/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh -wasm-pack build --target web --out-dir ./browser-demo/pkg --no-typescript --release ./.. -- --no-default-features --features "browser" -python -m http.server 8000 diff --git a/polkadot/cli/browser-demo/favicon.png b/polkadot/cli/browser-demo/favicon.png deleted file mode 100644 index 5e36153e4df3ddaf66019fdfc886feaeb20d3124..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4824 zcmd^Di9b}|`)BN=EU6G$X-H(r$Ce=(yUEyhrDAM-WF*UsCE6?%6UH{SF$PUy>`U<} z8DyD3Su6W6_%LH&-lJx_q?9-yzjZ^dCoo0dG7nU&tcY3VL>TD4h{}sGgD(* z4h~McKaHOkKqBA#Lk5Jv15@XR92_Su{%M?MwinhoIK*C<85`P#=P)L0!j400`F_55 zr1w-dg1ZG&%{47i(+rxH(9^r;_4w!C-AcYyaS9F`6*zAmlk<&Vw(PiWnj`}9{-@=@?`R!uPfF#a5gYfX5gK@_FFRAMop{_x5 zaOxO5{QLDy{ZU5P))*W8oe>uNF6z*I@B5I8XG7NIGMdW-#~{XbrS3sg^U0hk`GfJ1 zNJHI(bmx<|5dTB<$;X@H_{`&5n)Vp91CRMDM zk6S7K0!+IfyIC5?EW&$57b?Y+U)G^{%Lm8vys=TFL2KCocnZ`FG?!&b{!Z(~clb%eF~enVs$92SdtUug<2d7yEN5V5q)!H!=>D7;#6$oRV5+n z2;(^QQ3iW53_f4`gVhnn@pHD#U%<7X@hS*;!$AbEvU#+tDdKb};TjS37~<7eE&YU^ z$WKdNsPAL$OnQgsBic*p`^)8WjH*Uq5Ryyh2(>OSKc-q%p{8z$Rb2g!v!Ia^gq(Gm zWubGMU(7QeG}-r%0}e=?GRU;3;5s5woS;-&2SO~$FK>itd{wj&U|e!4?P8}^?`3qI zhdB}}d(qWv@(L=W4#@1kf*R7ia>IxbJ`A=_*7r7#`$CC}Og#JDa70Z>^-}4`pvicf z|G`I#@ctELr3)}eLZDC`Ery~(9)9ZTk#@bM)@6y7yAJnH>|?mPvMbZ%*_4`IYmX~y z6;ri=3yJh8{|OHG=k4B43LDY))iFp>g3{ow)s(U-zvh0GY~}6!ouA?jc=~q1A&u2P zR=Z3rk+N{&$uidCrtH?^E@C;JajNhXcQCb(b7zqmkK0~F7~){%$2@-0&$P! z!R`jTW+D(CMH8ux>WM@=+uV1Z)KR6%fHqxA9n%}v9`|qK3bjrcZODSM5*C$vn>#XY zvA>nU_Ou-Dp0jL&xbm+>;pIxr895M!)0l)`iokw5Gbry{%?G+`XDQPvt?f=p`Xlwr zD&#P|k4aqi^Hg(kJajQmkPNRB>pDv9E=o>Vlp*_vYjo%h@eygLGMKI=9Em{Pd7s5A zYG0OXTM*`pr!%#@rAW!`?DYLRcK?qh(wTu{R?jb#q&s$Ty&%$#0uQR+Kt>Gg?taBg z)*c$DD%`=ZREQP2_9M@Cz{AGq97x)&o6sM|ke0!crcv z6&9CGaaUBzSC__{sfRU@A$iPym_=7C0c^<%r^9d@ZV@F2sRtswOVW>-S)u%!busn# zJ8o984nGz3m?SjfHos8#sdeo&o{UMK)AUEA1M4c0*v5(qL+<-^TPjPkl9?{AAnp#s zDs9M#gYHHs2x$mHI)mf+8E)rw-iD_hu~Y^;P%3I$VtqQ#R4kISm!rqEN^N4c&Q32A zKF{UV3PVy{FrlnueSMPp&;~l|-DfSn)JdyNzlNwdh`Z@;-{o_$F6P=nO`Yg~;r7rY zU)gVM@n#Gg?jJ(Oe)=1b*MZ9tz@q|N$R26yT49qN!)>Q#U7 z-R~|{MIz3EkgoTZ3<9I^qFjm!m4h-EXG!UEupQf5ohPRr9#?Zc3(H8m${G2Vvnb4LLu^rtY4gwT*%3OfZCQYwCE6hFfQ4^Qi}Q0nJgKfE_Yv?WK`Zx_>w0%5 zeyelSjS!X27-xqBEGwFo&ug*&ANb*$I4Z(HU2SPEWq+=ZpO!QQ4*GAeNlO0HZ_>5U zmB^Vnzb`F==*BZZ$fVB&4Suxyl8yd8hx#3pZgwCfM(CyxO<6qz67c=>s!zJKHlAblPj0kT{{c8?l+#>?i&xQ>wuai=>oumL&+# zX79EL6cWwFce%)Os4sGaT!?!f#NFw)HS1QlvDHE1FIQi(_r4qHLZ7@zYQ_yas8{Rx{MjXfFJGP7mb(k>%hV9^Crb zBZiT;b<}hq;90-h$VPF(fe0bj*Q)lJ=+BoQU;F4_+4x6T;aNrdu?<@Ze@glI8>Tjy&9PcPDx#zQ-F$ZeusKDXjX7e7rj zCF#1w_!9FCz2*)Gv*e?(Q|FPJC$IdZ-W)l4HI{;|>Yy=tRSVIJ%~oYaa1f^4a-l6j zvLjS$E8tj=4KBo!R3B!V1cl!?C%)I9c*pCmdhfwC zO?m*HlVH(#KJOFRMA7cBGH~v-w>WUak3H1mt)t1ZN^=p2rCe7kzFw%T5UtsvM~%kr zDiwA0wN}XB9md=Ot@hI-_bj#&mIJ$^xE1%*u>0kKD|J_1QD>$tuFpMQ3rp&Oq~#l2 zSWzW6&K-s-k6t?LPH1OVYL_lufHll~T`=efb$QMVDv&>1`7lLWA4Cq$%n$Y}6_4Vm z{~Adwwkj0mAl}~uVJtcrszZ(1DLMj!?z-YV2!ez-!Hwd({>a&nEbNt63pV=^nK7Ae zNDvkw_^hZ7S+V^hlcCDS^Enm~;_ystFu-Xr6ApVeV>P9n%BGP*0~YO}H@Fp>$g8SD zyGErWYY$dKziVeaMS;BmCWUdg#kJ~(&m_8R?Eji{Ty^Z((rLyOSKC>gPq_XAx{ zc7!|B@xH5?|DuUxSpjO*!VQ`1IaG69SdvtRATj`?ISh~`XnUyJE{xB?e5ZdP$ijcK z(Y|El$~~{siZsKEE2^4rHYS3$qAOWds&`9|A$_rXo-2j9Pa-AuNFZC
    ~6Hd_kbs45yJFhiBXF$ml0_c_v+Bn z!A6emrSshzK{QTHxa3-FB=fah*YZHL*!sW+;L%QR5i2&*Dgb8@ls*sZRNIP4pN5=z zA&l=-yPvRID3gELQZmu7EViezUn=Rb&lQ9xUW9dCg|f?3@A`s} zr+-M$H8@zzpSMmugUCSd;jGK^QY>lrLqPz^e_9qS=DAoUYzD!loU7J}cK6rU4nNL& z0oM6S`^;UQ;~F635oZayzqD2dI`g|h43HdK#R+S2AmsGuQFxm|GX=2T0a*9K?vG^* zjX%1l?{*eer{WKxwBjEmKqgv~1X=A@Y#*57f~M*ONd1uGZXLW->9>I20Yi&>>j4qM z(8{IT=+7gw4SUpw+Ix+Mh>{a8)hTTNtMRLT1DI%MF50ekS1SY#e2kB`@mSqqvf?lo z1!%%bC6-)JgA2{=Z9aid)?4+OrtXPE`8j@8@f`82oV+c%3#(Hu>SABJYAHvS-*?}Q zMx#9QvSL4;1L_nYlrV$nQAMg_o$qfn<(LuXB0r5mk$Od;>*@=6$m%8#g-KZ$$i%w} zfrDQX2_@R>pV&JU^zv5oGMvAerJU+YGA=E?A|vQbGl zxU!NV6F{ihnV8;X=HJWzvWx4LjRD?y_Hd06BISMdG=HE7L7I#gJxuyUC_iF(RVbEX zm8&Z+b=?XV0h=vZfdnlQq3>81nfGo06Bz`N%8r%nS~ zLpez+T}P-TABNX$hROo>GXam^53lY_%Xs`sB@Z(*mnJBU3b&rc=Ub&pfMWqJdo0?+v^GKQs_0bWZ`cIJmdI>@8iP z)A(uN(maFT&mR0zj1amC7^+9|=>^C&)t>RfMz5LQG*{tPgowo3av1)Rv4SGTI1sle h;eS$n0whIt6J@|eeZ2$^{Ho$GyJ>Cw&d4k7{{R=14*&oF diff --git a/polkadot/cli/browser-demo/index.html b/polkadot/cli/browser-demo/index.html deleted file mode 100644 index 10e53ef433..0000000000 --- a/polkadot/cli/browser-demo/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Polkadot node - - - - - diff --git a/polkadot/cli/src/browser.rs b/polkadot/cli/src/browser.rs deleted file mode 100644 index d85bf4fc31..0000000000 --- a/polkadot/cli/src/browser.rs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2019-2020 Parity Technologies (UK) Ltd. -// This file is part of Substrate. - -// Substrate is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Substrate is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Substrate. If not, see . - -use browser_utils::{browser_configuration, init_logging, set_console_error_panic_hook, Client}; -use log::info; -use wasm_bindgen::prelude::*; - -/// Starts the client. -#[wasm_bindgen] -pub fn start_client(chain_spec: String, log_level: String) -> Result { - start_inner(chain_spec, log_level).map_err(|err| JsValue::from_str(&err.to_string())) -} - -fn start_inner( - chain_spec: String, - log_directives: String, -) -> Result> { - set_console_error_panic_hook(); - init_logging(&log_directives)?; - - let chain_spec = service::PolkadotChainSpec::from_json_bytes(chain_spec.as_bytes().to_vec()) - .map_err(|e| format!("{:?}", e))?; - let config = browser_configuration(chain_spec)?; - - info!("Polkadot browser node"); - info!(" version {}", config.impl_version); - info!(" by Parity Technologies, 2017-2020"); - info!("📋 Chain specification: {}", config.chain_spec.name()); - info!("🏷 Node name: {}", config.network.node_name); - info!("👤 Role: {}", config.display_role()); - - // Create the service. This is the most heavy initialization step. - let (task_manager, rpc_handlers) = - service::build_light(config).map_err(|e| format!("{:?}", e))?; - - Ok(browser_utils::start_client(task_manager, rpc_handlers)) -} diff --git a/polkadot/cli/src/command.rs b/polkadot/cli/src/command.rs index 3d4532c091..cadfe2e015 100644 --- a/polkadot/cli/src/command.rs +++ b/polkadot/cli/src/command.rs @@ -240,11 +240,6 @@ fn run_node_inner(cli: Cli, overseer_gen: impl service::OverseerGen) -> Result<( let role = config.role.clone(); match role { - #[cfg(feature = "browser")] - Role::Light => service::build_light(config) - .map(|(task_manager, _)| task_manager) - .map_err(Into::into), - #[cfg(not(feature = "browser"))] Role::Light => Err(Error::Other("Light client not enabled".into())), _ => service::build_full( config, @@ -338,7 +333,7 @@ pub fn run() -> Result<()> { builder.with_colors(false); let _ = builder.init(); - #[cfg(any(target_os = "android", feature = "browser"))] + #[cfg(target_os = "android")] { return Err(sc_cli::Error::Input( "PVF preparation workers are not supported under this platform".into(), @@ -346,7 +341,7 @@ pub fn run() -> Result<()> { .into()) } - #[cfg(not(any(target_os = "android", feature = "browser")))] + #[cfg(not(target_os = "android"))] { polkadot_node_core_pvf::prepare_worker_entrypoint(&cmd.socket_path); Ok(()) @@ -357,7 +352,7 @@ pub fn run() -> Result<()> { builder.with_colors(false); let _ = builder.init(); - #[cfg(any(target_os = "android", feature = "browser"))] + #[cfg(target_os = "android")] { return Err(sc_cli::Error::Input( "PVF execution workers are not supported under this platform".into(), @@ -365,7 +360,7 @@ pub fn run() -> Result<()> { .into()) } - #[cfg(not(any(target_os = "android", feature = "browser")))] + #[cfg(not(target_os = "android"))] { polkadot_node_core_pvf::execute_worker_entrypoint(&cmd.socket_path); Ok(()) diff --git a/polkadot/cli/src/lib.rs b/polkadot/cli/src/lib.rs index cacd9abf99..bdd230fa2b 100644 --- a/polkadot/cli/src/lib.rs +++ b/polkadot/cli/src/lib.rs @@ -18,8 +18,6 @@ #![warn(missing_docs)] -#[cfg(feature = "browser")] -mod browser; #[cfg(feature = "cli")] mod cli; #[cfg(feature = "cli")] diff --git a/polkadot/node/test/service/src/lib.rs b/polkadot/node/test/service/src/lib.rs index 9a5959e247..12b51e2a0c 100644 --- a/polkadot/node/test/service/src/lib.rs +++ b/polkadot/node/test/service/src/lib.rs @@ -181,7 +181,6 @@ pub fn node_config( rpc_methods: Default::default(), prometheus_config: None, telemetry_endpoints: None, - telemetry_external_transport: None, default_heap_pages: None, offchain_worker: Default::default(), force_authoring: false,