From f8b668b7540eaac106765a978c17af533d261f8e Mon Sep 17 00:00:00 2001 From: Koute Date: Thu, 19 May 2022 20:06:34 +0900 Subject: [PATCH] Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337) * Switch to pooling copy-on-write instantiation strategy for WASM * Fix compilation of `polkadot-test-service` * Update comments * Move `max_memory_size` to `Semantics` * Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy` * Update a safety comment * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 461 ++++++++++++---------------- node/core/pvf/Cargo.toml | 1 + node/core/pvf/src/artifacts.rs | 3 - node/core/pvf/src/execute/worker.rs | 21 +- node/core/pvf/src/executor_intf.rs | 31 +- node/core/pvf/src/prepare/worker.rs | 4 +- node/core/pvf/src/testing.rs | 9 +- node/test/service/src/lib.rs | 9 +- 8 files changed, 241 insertions(+), 298 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6229f70763df..14425eeac693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -433,7 +433,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "beefy-primitives", "fnv", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -487,12 +487,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -1401,15 +1401,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "ct-logs" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" -dependencies = [ - "sct 0.6.1", -] - [[package]] name = "ctor" version = "0.1.21" @@ -1936,9 +1927,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "1.5.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b394ed3d285a429378d3b384b9eb1285267e7df4b166df24b7a6939a04dc392e" +checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" dependencies = [ "instant", ] @@ -2096,7 +2087,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", ] @@ -2114,7 +2105,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2127,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "Inflector", "chrono", @@ -2186,7 +2177,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2197,7 +2188,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2213,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -2241,7 +2232,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "bitflags", "frame-metadata", @@ -2271,7 +2262,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2283,7 +2274,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2295,7 +2286,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro2", "quote", @@ -2305,7 +2296,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2328,7 +2319,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -2339,7 +2330,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "log", @@ -2356,7 +2347,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -2371,7 +2362,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "sp-api", @@ -2380,7 +2371,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "sp-api", @@ -2516,8 +2507,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe" dependencies = [ "futures-io", - "rustls 0.20.2", - "webpki 0.22.0", + "rustls", + "webpki", ] [[package]] @@ -2559,7 +2550,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "chrono", "frame-election-provider-support", @@ -2927,19 +2918,17 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.22.1" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" +checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" dependencies = [ - "ct-logs", - "futures-util", + "http", "hyper", "log", - "rustls 0.19.1", - "rustls-native-certs 0.5.0", + "rustls", + "rustls-native-certs", "tokio", - "tokio-rustls 0.22.0", - "webpki 0.21.4", + "tokio-rustls", ] [[package]] @@ -3159,11 +3148,11 @@ dependencies = [ "jsonrpsee-core", "jsonrpsee-types", "pin-project 1.0.10", - "rustls-native-certs 0.6.1", + "rustls-native-certs", "soketto", "thiserror", "tokio", - "tokio-rustls 0.23.2", + "tokio-rustls", "tokio-util 0.7.1", "tracing", "webpki-roots", @@ -4251,6 +4240,15 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +[[package]] +name = "memfd" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6627dc657574b49d6ad27105ed671822be56e0d2547d413bfbf3e8d8fa92e7a" +dependencies = [ + "libc", +] + [[package]] name = "memmap" version = "0.7.0" @@ -4870,7 +4868,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4884,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -4900,7 +4898,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -4915,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4939,7 +4937,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4959,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4978,7 +4976,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4993,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "beefy-primitives", "frame-support", @@ -5009,7 +5007,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5032,7 +5030,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5114,7 +5112,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5133,7 +5131,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5150,7 +5148,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5166,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5189,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5202,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5220,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5233,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5258,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5274,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5294,7 +5292,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5328,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5346,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5361,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5390,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5406,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5425,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5442,7 +5440,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5465,7 +5463,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5479,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5496,7 +5494,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5511,7 +5509,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5527,7 +5525,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5548,7 +5546,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5564,7 +5562,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5578,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5601,7 +5599,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5612,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "sp-arithmetic", @@ -5621,7 +5619,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5635,7 +5633,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5653,7 +5651,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5672,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-support", "frame-system", @@ -5689,7 +5687,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5704,7 +5702,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5715,7 +5713,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5732,7 +5730,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5748,7 +5746,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-benchmarking", "frame-support", @@ -8249,7 +8247,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8513,19 +8511,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", -] - [[package]] name = "rustls" version = "0.20.2" @@ -8534,20 +8519,8 @@ checksum = "d37e5e2290f3e040b594b1a9e04377c2c671f1a1cfd9bfdef82106ac1c113f84" dependencies = [ "log", "ring", - "sct 0.7.0", - "webpki 0.22.0", -] - -[[package]] -name = "rustls-native-certs" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" -dependencies = [ - "openssl-probe", - "rustls 0.19.1", - "schannel", - "security-framework", + "sct", + "webpki", ] [[package]] @@ -8615,7 +8588,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "sp-core", @@ -8626,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -8653,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8676,7 +8649,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8692,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8709,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8720,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "chrono", "clap", @@ -8759,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "fnv", "futures 0.3.21", @@ -8787,7 +8760,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "hash-db", "kvdb", @@ -8812,7 +8785,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -8836,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "fork-tree", @@ -8879,7 +8852,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -8901,7 +8874,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8914,7 +8887,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -8939,7 +8912,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "sc-client-api", "sp-authorship", @@ -8950,7 +8923,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "lazy_static", "lru 0.7.5", @@ -8977,7 +8950,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "environmental", "parity-scale-codec", @@ -8994,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "parity-scale-codec", @@ -9009,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9027,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ahash", "async-trait", @@ -9067,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9088,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9105,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "hex", @@ -9120,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "asynchronous-codec", @@ -9172,7 +9145,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "libp2p", @@ -9185,7 +9158,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ahash", "futures 0.3.21", @@ -9202,7 +9175,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "libp2p", @@ -9222,7 +9195,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "bitflags", "either", @@ -9251,7 +9224,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "bytes", "fnv", @@ -9279,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "libp2p", @@ -9292,7 +9265,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9301,7 +9274,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "hash-db", @@ -9331,7 +9304,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9354,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "jsonrpsee", @@ -9367,7 +9340,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "directories", @@ -9432,7 +9405,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "parity-scale-codec", @@ -9446,7 +9419,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9465,7 +9438,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "libc", @@ -9484,7 +9457,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "chrono", "futures 0.3.21", @@ -9502,7 +9475,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ansi_term", "atty", @@ -9533,7 +9506,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9544,7 +9517,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9571,7 +9544,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "log", @@ -9584,7 +9557,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9654,16 +9627,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "sct" version = "0.7.0" @@ -10061,7 +10024,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "hash-db", "log", @@ -10078,7 +10041,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "blake2", "proc-macro-crate", @@ -10090,7 +10053,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10103,7 +10066,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "integer-sqrt", "num-traits", @@ -10118,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10131,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "parity-scale-codec", @@ -10143,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "sp-api", @@ -10155,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "log", @@ -10173,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -10192,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "merlin", @@ -10215,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10229,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10242,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "base58", "bitflags", @@ -10288,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "blake2", "byteorder", @@ -10302,7 +10265,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro2", "quote", @@ -10313,7 +10276,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10322,7 +10285,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro2", "quote", @@ -10332,7 +10295,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "environmental", "parity-scale-codec", @@ -10343,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "finality-grandpa", "log", @@ -10361,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10375,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "hash-db", @@ -10400,7 +10363,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "lazy_static", "sp-core", @@ -10411,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -10428,7 +10391,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "thiserror", "zstd", @@ -10437,7 +10400,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "parity-scale-codec", @@ -10452,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10466,7 +10429,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "sp-api", "sp-core", @@ -10476,7 +10439,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "backtrace", "lazy_static", @@ -10486,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "rustc-hash", "serde", @@ -10496,7 +10459,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "either", "hash256-std-hasher", @@ -10518,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10535,7 +10498,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "Inflector", "proc-macro-crate", @@ -10547,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "parity-scale-codec", @@ -10561,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "serde", "serde_json", @@ -10570,7 +10533,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10584,7 +10547,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10595,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "hash-db", "log", @@ -10617,12 +10580,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10635,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "log", "sp-core", @@ -10648,7 +10611,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures-timer", @@ -10664,7 +10627,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "sp-std", @@ -10676,7 +10639,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "sp-api", "sp-runtime", @@ -10685,7 +10648,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "log", @@ -10701,7 +10664,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "hash-db", "memory-db", @@ -10717,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10734,7 +10697,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10745,7 +10708,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "impl-trait-for-tuples", "log", @@ -10937,7 +10900,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "platforms", ] @@ -10945,7 +10908,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -10966,7 +10929,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures-util", "hyper", @@ -10979,7 +10942,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "jsonrpsee", "log", @@ -11000,7 +10963,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "async-trait", "futures 0.3.21", @@ -11026,7 +10989,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11036,7 +10999,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11047,7 +11010,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "ansi_term", "build-helper", @@ -11156,13 +11119,13 @@ checksum = "d9bffcddbc2458fa3e6058414599e3c838a022abae82e5c67b4f7f80298d5bff" [[package]] name = "tempfile" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ "cfg-if 1.0.0", + "fastrand", "libc", - "rand 0.8.5", "redox_syscall", "remove_dir_all", "winapi", @@ -11481,26 +11444,15 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls 0.19.1", - "tokio", - "webpki 0.21.4", -] - [[package]] name = "tokio-rustls" version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b" dependencies = [ - "rustls 0.20.2", + "rustls", "tokio", - "webpki 0.22.0", + "webpki", ] [[package]] @@ -11762,7 +11714,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#19b44f087b30e7730cf037518ec921c336fcbb0f" +source = "git+https://github.com/paritytech/substrate?branch=master#2916ebbc0cad448874dc4b446ee7709d7b33776b" dependencies = [ "clap", "jsonrpsee", @@ -12331,6 +12283,7 @@ dependencies = [ "libc", "log", "mach", + "memfd", "memoffset", "more-asserts", "rand 0.8.5", @@ -12364,16 +12317,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "webpki" version = "0.22.0" @@ -12390,7 +12333,7 @@ version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449" dependencies = [ - "webpki 0.22.0", + "webpki", ] [[package]] diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 0e58c6bd058c..d64ccc1a3360 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -19,6 +19,7 @@ slotmap = "1.0" gum = { package = "tracing-gum", path = "../../gum" } pin-project = "1.0.9" rand = "0.8.5" +tempfile = "3.3.0" parity-scale-codec = { version = "3.1.2", default-features = false, features = ["derive"] } polkadot-parachain = { path = "../../../parachain" } polkadot-core-primitives = { path = "../../../core-primitives" } diff --git a/node/core/pvf/src/artifacts.rs b/node/core/pvf/src/artifacts.rs index af579863cd61..49d1be75fed4 100644 --- a/node/core/pvf/src/artifacts.rs +++ b/node/core/pvf/src/artifacts.rs @@ -17,15 +17,12 @@ use crate::{error::PrepareError, host::PrepareResultSender}; use always_assert::always; use async_std::path::{Path, PathBuf}; -use parity_scale_codec::{Decode, Encode}; use polkadot_parachain::primitives::ValidationCodeHash; use std::{ collections::HashMap, time::{Duration, SystemTime}, }; -/// A wrapper for the compiled PVF code. -#[derive(Encode, Decode)] pub struct CompiledArtifact(Vec); impl CompiledArtifact { diff --git a/node/core/pvf/src/execute/worker.rs b/node/core/pvf/src/execute/worker.rs index 1140758e6aee..01bc59cb1a84 100644 --- a/node/core/pvf/src/execute/worker.rs +++ b/node/core/pvf/src/execute/worker.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . use crate::{ - artifacts::{ArtifactPathId, CompiledArtifact}, + artifacts::ArtifactPathId, executor_intf::TaskExecutor, worker_common::{ bytes_to_path, framed_recv, framed_send, path_to_bytes, spawn_with_program_path, @@ -206,29 +206,12 @@ async fn validate_using_artifact( params: &[u8], spawner: &TaskExecutor, ) -> Response { - let artifact_bytes = match async_std::fs::read(artifact_path).await { - Err(e) => - return Response::InternalError(format!( - "failed to read the artifact at {}: {:?}", - artifact_path.display(), - e, - )), - Ok(b) => b, - }; - - let artifact = match CompiledArtifact::decode(&mut artifact_bytes.as_slice()) { - Err(e) => return Response::InternalError(format!("artifact deserialization: {:?}", e)), - Ok(a) => a, - }; - - let compiled_artifact = artifact.as_ref(); - let validation_started_at = Instant::now(); let descriptor_bytes = match unsafe { // SAFETY: this should be safe since the compiled artifact passed here comes from the // file created by the prepare workers. These files are obtained by calling // [`executor_intf::prepare`]. - crate::executor_intf::execute(compiled_artifact, params, spawner.clone()) + crate::executor_intf::execute(artifact_path.as_ref(), params, spawner.clone()) } { Err(err) => return Response::format_invalid("execute", &err.to_string()), Ok(d) => d, diff --git a/node/core/pvf/src/executor_intf.rs b/node/core/pvf/src/executor_intf.rs index b4064e13ecc0..ec2caa88434c 100644 --- a/node/core/pvf/src/executor_intf.rs +++ b/node/core/pvf/src/executor_intf.rs @@ -22,7 +22,10 @@ use sc_executor_common::{ }; use sc_executor_wasmtime::{Config, DeterministicStackLimit, Semantics}; use sp_core::storage::{ChildInfo, TrackedStorageKey}; -use std::any::{Any, TypeId}; +use std::{ + any::{Any, TypeId}, + path::Path, +}; // Memory configuration // @@ -40,15 +43,17 @@ const DEFAULT_HEAP_PAGES_ESTIMATE: u64 = 32; const EXTRA_HEAP_PAGES: u64 = 2048; const CONFIG: Config = Config { - // NOTE: This is specified in bytes, so we multiply by WASM page size. - max_memory_size: Some(((DEFAULT_HEAP_PAGES_ESTIMATE + EXTRA_HEAP_PAGES) * 65536) as usize), - allow_missing_func_imports: true, cache_path: None, semantics: Semantics { extra_heap_pages: EXTRA_HEAP_PAGES, - fast_instance_reuse: false, + // NOTE: This is specified in bytes, so we multiply by WASM page size. + max_memory_size: Some(((DEFAULT_HEAP_PAGES_ESTIMATE + EXTRA_HEAP_PAGES) * 65536) as usize), + + instantiation_strategy: + sc_executor_wasmtime::InstantiationStrategy::RecreateInstanceCopyOnWrite, + // Enable deterministic stack limit to pin down the exact number of items the wasmtime stack // can contain before it traps with stack overflow. // @@ -87,7 +92,7 @@ pub fn prevalidate(code: &[u8]) -> Result Result, sc_executor_common::error::WasmError> { sc_executor_wasmtime::prepare_runtime_artifact(blob, &CONFIG.semantics) } @@ -97,10 +102,16 @@ pub fn prepare(blob: RuntimeBlob) -> Result, sc_executor_common::error:: /// /// # Safety /// -/// The compiled artifact must be produced with [`prepare`]. Not following this guidance can lead -/// to arbitrary code execution. +/// The caller must ensure that the compiled artifact passed here was: +/// 1) produced by [`prepare`], +/// 2) written to the disk as a file, +/// 3) was not modified, +/// 4) will not be modified while any runtime using this artifact is alive, or is being +/// instantiated. +/// +/// Failure to adhere to these requirements might lead to crashes and arbitrary code execution. pub unsafe fn execute( - compiled_artifact: &[u8], + compiled_artifact_path: &Path, params: &[u8], spawner: impl sp_core::traits::SpawnNamed + 'static, ) -> Result, sc_executor_common::error::Error> { @@ -113,7 +124,7 @@ pub unsafe fn execute( sc_executor::with_externalities_safe(&mut ext, || { let runtime = sc_executor_wasmtime::create_runtime_from_artifact::( - compiled_artifact, + compiled_artifact_path, CONFIG, )?; runtime.new_instance()?.call(InvokeMethod::Export("validate_block"), params) diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index d83346946f62..ca90285ca7b3 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -265,15 +265,13 @@ pub fn worker_entrypoint(socket_path: &str) { // worker is only required to send an empty `Ok` to the pool // to indicate the success. - let artifact_bytes = compiled_artifact.encode(); - gum::debug!( target: LOG_TARGET, worker_pid = %std::process::id(), "worker: writing artifact to {}", dest.display(), ); - async_std::fs::write(&dest, &artifact_bytes).await?; + async_std::fs::write(&dest, &compiled_artifact).await?; Ok(()) }, diff --git a/node/core/pvf/src/testing.rs b/node/core/pvf/src/testing.rs index 20cf85151f81..ba407e0b87cb 100644 --- a/node/core/pvf/src/testing.rs +++ b/node/core/pvf/src/testing.rs @@ -36,10 +36,15 @@ pub fn validate_candidate( let blob = prevalidate(&*code)?; let artifact = prepare(blob)?; + let tmpdir = tempfile::tempdir()?; + let artifact_path = tmpdir.path().join("blob"); + std::fs::write(&artifact_path, &artifact)?; + let executor = TaskExecutor::new()?; let result = unsafe { - // SAFETY: This is trivially safe since the artifact is obtained by calling `prepare`. - execute(&artifact, params, executor)? + // SAFETY: This is trivially safe since the artifact is obtained by calling `prepare` + // and is written into a temporary directory in an unmodified state. + execute(&artifact_path, params, executor)? }; Ok(result) diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index e268e375dce6..90e311b910da 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -42,7 +42,10 @@ use sc_network::{ multiaddr, }; use sc_service::{ - config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod}, + config::{ + DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod, + WasmtimeInstantiationStrategy, + }, BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskManager, }; use sp_arithmetic::traits::SaturatedConversion; @@ -176,7 +179,9 @@ pub fn node_config( state_pruning: Default::default(), keep_blocks: KeepBlocks::All, chain_spec: Box::new(spec), - wasm_method: WasmExecutionMethod::Compiled, + wasm_method: WasmExecutionMethod::Compiled { + instantiation_strategy: WasmtimeInstantiationStrategy::PoolingCopyOnWrite, + }, wasm_runtime_overrides: Default::default(), // NOTE: we enforce the use of the native runtime to make the errors more debuggable execution_strategies: ExecutionStrategies {