From 191045f3466c1839945c7e49908a5b640f535a6e Mon Sep 17 00:00:00 2001 From: tarikgul Date: Fri, 4 Jun 2021 15:25:46 -0400 Subject: [PATCH] update deps, add mut to register_overlay --- Cargo.lock | 223 ++++++++---------- bin/node-template-archive/Cargo.toml | 4 +- bin/polkadot-archive/Cargo.toml | 4 +- substrate-archive-backend/Cargo.toml | 30 +-- .../src/read_only_backend/state_backend.rs | 2 +- substrate-archive/Cargo.toml | 26 +- test-common/test-wasm/Cargo.toml | 8 +- 7 files changed, 133 insertions(+), 164 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8afa7533..80a2c175 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1419,12 +1419,6 @@ version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" -[[package]] -name = "downcast-rs" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" - [[package]] name = "dyn-clonable" version = "0.9.0" @@ -1727,7 +1721,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", ] @@ -3448,28 +3442,6 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" -[[package]] -name = "max-encoded-len" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" -dependencies = [ - "impl-trait-for-tuples", - "max-encoded-len-derive", - "parity-scale-codec", - "primitive-types", -] - -[[package]] -name = "max-encoded-len-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" -dependencies = [ - "proc-macro-crate 1.0.0", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "maybe-uninit" version = "2.0.0" @@ -4006,9 +3978,9 @@ dependencies = [ [[package]] name = "parity-wasm" -version = "0.42.2" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" +checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" [[package]] name = "parity-ws" @@ -4450,13 +4422,13 @@ dependencies = [ [[package]] name = "pwasm-utils" -version = "0.18.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e517f47d9964362883182404b68d0b6949382c0baa40aa5ffca94f5f1e3481" +checksum = "0f53bc2558e8376358ebdc28301546471d67336584f6438ed4b7c7457a055fd7" dependencies = [ "byteorder", "log", - "parity-wasm 0.42.2", + "parity-wasm 0.41.0", ] [[package]] @@ -4920,7 +4892,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -4936,7 +4908,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -4957,7 +4929,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4968,7 +4940,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "fnv", @@ -5002,7 +4974,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "blake2-rfc", "hash-db", @@ -5032,7 +5004,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -5044,7 +5016,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "derive_more", @@ -5090,7 +5062,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5103,7 +5075,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "futures 0.3.15", @@ -5131,7 +5103,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "sc-client-api", "sp-authorship", @@ -5142,14 +5114,14 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "lazy_static", "libsecp256k1", "log", "parity-scale-codec", - "parity-wasm 0.42.2", + "parity-wasm 0.41.0", "parking_lot 0.11.1", "sc-executor-common", "sc-executor-wasmi", @@ -5171,10 +5143,11 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "parity-scale-codec", + "parity-wasm 0.41.0", "pwasm-utils", "sp-allocator", "sp-core", @@ -5188,7 +5161,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "log", "parity-scale-codec", @@ -5203,11 +5176,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "log", "parity-scale-codec", - "parity-wasm 0.42.2", + "parity-wasm 0.41.0", + "pwasm-utils", "sc-executor-common", "scoped-tls", "sp-allocator", @@ -5220,7 +5194,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "derive_more", @@ -5255,17 +5229,15 @@ dependencies = [ "sp-runtime", "sp-utils", "substrate-prometheus-endpoint", - "wasm-timer", ] [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "ansi_term", "futures 0.3.15", - "futures-timer 3.0.2", "log", "parity-util-mem", "sc-client-api", @@ -5273,13 +5245,14 @@ dependencies = [ "sp-blockchain", "sp-runtime", "sp-transaction-pool", + "sp-utils", "wasm-timer", ] [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "derive_more", @@ -5299,7 +5272,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "hash-db", "lazy_static", @@ -5318,7 +5291,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-std", "async-trait", @@ -5371,7 +5344,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -5388,7 +5361,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "bytes 0.5.6", "fnv", @@ -5416,7 +5389,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "libp2p", @@ -5429,7 +5402,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "hash-db", @@ -5464,7 +5437,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "futures 0.3.15", @@ -5489,7 +5462,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -5507,7 +5480,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "directories", @@ -5571,7 +5544,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "log", "parity-scale-codec", @@ -5586,7 +5559,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "chrono", "futures 0.3.15", @@ -5606,7 +5579,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "ansi_term", "atty", @@ -5643,7 +5616,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5654,7 +5627,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "futures 0.3.15", @@ -5676,7 +5649,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "futures-diagnose", @@ -6085,7 +6058,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "log", "sp-core", @@ -6097,7 +6070,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "hash-db", "log", @@ -6114,7 +6087,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -6126,9 +6099,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ - "max-encoded-len", "parity-scale-codec", "serde", "sp-core", @@ -6139,7 +6111,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "integer-sqrt", "num-traits", @@ -6153,7 +6125,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "parity-scale-codec", @@ -6165,7 +6137,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "sp-api", @@ -6177,7 +6149,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "log", @@ -6195,7 +6167,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "serde", "serde_json", @@ -6204,7 +6176,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "futures 0.3.15", @@ -6231,7 +6203,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "merlin", @@ -6253,7 +6225,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -6263,7 +6235,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6275,7 +6247,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "base58", "blake2-rfc", @@ -6290,7 +6262,6 @@ dependencies = [ "lazy_static", "libsecp256k1", "log", - "max-encoded-len", "merlin", "num-traits", "parity-scale-codec", @@ -6320,7 +6291,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -6329,7 +6300,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "proc-macro2", "quote", @@ -6339,7 +6310,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "environmental", "parity-scale-codec", @@ -6350,7 +6321,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "finality-grandpa", "log", @@ -6367,7 +6338,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -6381,7 +6352,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "hash-db", @@ -6406,7 +6377,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "derive_more", @@ -6423,7 +6394,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "ruzstd", "zstd", @@ -6432,7 +6403,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "sp-api", "sp-core", @@ -6442,7 +6413,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "backtrace", ] @@ -6450,7 +6421,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "rustc-hash", "serde", @@ -6461,13 +6432,12 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", - "max-encoded-len", "parity-scale-codec", "parity-util-mem", "paste", @@ -6483,7 +6453,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6500,7 +6470,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -6512,7 +6482,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "serde", "serde_json", @@ -6521,7 +6491,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "sp-api", @@ -6534,7 +6504,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6544,7 +6514,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "hash-db", "log", @@ -6567,12 +6537,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -6585,7 +6555,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "log", "sp-core", @@ -6598,7 +6568,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -6615,7 +6585,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "erased-serde", "log", @@ -6633,7 +6603,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "derive_more", "futures 0.3.15", @@ -6649,7 +6619,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "hash-db", "memory-db", @@ -6663,7 +6633,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "futures 0.3.15", "futures-core", @@ -6675,7 +6645,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -6688,7 +6658,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -6700,7 +6670,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6889,7 +6859,7 @@ dependencies = [ [[package]] name = "substrate-archive" -version = "0.5.1" +version = "0.5.2" dependencies = [ "anyhow", "async-trait", @@ -6941,7 +6911,7 @@ dependencies = [ [[package]] name = "substrate-archive-backend" -version = "0.5.1" +version = "0.5.2" dependencies = [ "arc-swap", "futures 0.3.15", @@ -6989,7 +6959,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "async-std", "derive_more", @@ -7003,7 +6973,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9f621a936eb5c692ad8efea22a9bb9ecf3bd93d3" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.3#c94e0cdfe5556680dca1996004751eeb114755d7" dependencies = [ "ansi_term", "atty", @@ -7952,26 +7922,25 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.9.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ee05bba3d1d994652079893941a2ef9324d2b58a63c31b40678fb7eddd7a5a" +checksum = "bf617d864d25af3587aa745529f7aaa541066c876d57e050c0d0c85c61c92aff" dependencies = [ - "downcast-rs", "libc", "memory_units", "num-rational", "num-traits", - "parity-wasm 0.42.2", + "parity-wasm 0.41.0", "wasmi-validation", ] [[package]] name = "wasmi-validation" -version = "0.4.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb8e860796d8be48efef530b60eebf84e74a88bce107374fffb0da97d504b8" +checksum = "ea78c597064ba73596099281e2f4cfc019075122a65cdda3205af94f0b264d93" dependencies = [ - "parity-wasm 0.42.2", + "parity-wasm 0.41.0", ] [[package]] diff --git a/bin/node-template-archive/Cargo.toml b/bin/node-template-archive/Cargo.toml index 7096dcd0..767f7f53 100644 --- a/bin/node-template-archive/Cargo.toml +++ b/bin/node-template-archive/Cargo.toml @@ -13,7 +13,7 @@ serde = "1.0" structopt = { version = "0.3", features = ["suggestions", "color"] } toml = "0.5" -node-template-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -node-template = { git = "https://github.com/paritytech/substrate", branch = "master" } +node-template-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.3" } +node-template = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } substrate-archive = { path = "../../substrate-archive" } diff --git a/bin/polkadot-archive/Cargo.toml b/bin/polkadot-archive/Cargo.toml index 59a29085..84c4cbe8 100644 --- a/bin/polkadot-archive/Cargo.toml +++ b/bin/polkadot-archive/Cargo.toml @@ -14,7 +14,7 @@ serde = "1.0" structopt = { version = "0.3", features = ["suggestions", "color"] } toml = "0.5" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", tag = "v0.9.3" } substrate-archive = { path = "../../substrate-archive" } diff --git a/substrate-archive-backend/Cargo.toml b/substrate-archive-backend/Cargo.toml index 569e6263..1a809bb9 100644 --- a/substrate-archive-backend/Cargo.toml +++ b/substrate-archive-backend/Cargo.toml @@ -23,18 +23,18 @@ kvdb-rocksdb = "0.11" parity-util-mem = "0.9" # Substrate -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-database = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sc-executor = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "polkadot-v0.9.3" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-database = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } diff --git a/substrate-archive-backend/src/read_only_backend/state_backend.rs b/substrate-archive-backend/src/read_only_backend/state_backend.rs index 8e0a5ffd..5599dd72 100644 --- a/substrate-archive-backend/src/read_only_backend/state_backend.rs +++ b/substrate-archive-backend/src/read_only_backend/state_backend.rs @@ -174,7 +174,7 @@ impl StateBackend> for TrieState { self.state.as_trie_backend() } - fn register_overlay_stats(&self, stats: &StateMachineStats) { + fn register_overlay_stats(&mut self, stats: &StateMachineStats) { self.state.register_overlay_stats(stats); } diff --git a/substrate-archive/Cargo.toml b/substrate-archive/Cargo.toml index 35a6601e..0a0d5214 100644 --- a/substrate-archive/Cargo.toml +++ b/substrate-archive/Cargo.toml @@ -36,25 +36,25 @@ xtra = { version = "0.5.0-rc.1", features = ["with-smol-1"] } # Parity codec = { package = "parity-scale-codec", version = "2.0", default-features = false, features = ["derive", "full"] } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git ="https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git ="https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-tracing = { git ="https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-storage = { git ="https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } # Workspace substrate-archive-backend = { path = '../substrate-archive-backend' } [dev-dependencies] test-common = { path = "../test-common/" } -sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } anyhow = "1" pretty_env_logger = "0.4.0" tempfile = "3.2" diff --git a/test-common/test-wasm/Cargo.toml b/test-common/test-wasm/Cargo.toml index 529cc9ab..8650156a 100644 --- a/test-common/test-wasm/Cargo.toml +++ b/test-common/test-wasm/Cargo.toml @@ -6,12 +6,12 @@ build = "build.rs" publish = false [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } [dependencies] -sp-core = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-io = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } +sp-runtime = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.3" } tracing = { version = "0.1.26", default-features = false } [features]