From 23ac3a0a2d91fb2f15bb3abeeac50ab1c1be351c Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 22 Jun 2023 14:26:12 +0200 Subject: [PATCH 01/24] Simple cache --- Cargo.lock | 896 ++++++++++++------ Cargo.toml | 264 ++++++ .../src/blockchain_rpc_client.rs | 2 +- .../src/rpc_client.rs | 2 +- .../src/validate_block/implementation.rs | 138 ++- .../src/validate_block/trie_cache.rs | 56 ++ .../emulated/common/src/lib.rs | 1 + 7 files changed, 1081 insertions(+), 278 deletions(-) create mode 100644 pallets/parachain-system/src/validate_block/trie_cache.rs diff --git a/Cargo.lock b/Cargo.lock index dc85690c1fb..ae978a99f40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -865,7 +865,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "hash-db", "log", @@ -1021,9 +1021,9 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bounded-collections" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" +checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" dependencies = [ "log", "parity-scale-codec", @@ -2786,6 +2786,7 @@ dependencies = [ "environmental", "frame-support", "frame-system", + "hash-db", "hex-literal 0.4.1", "impl-trait-for-tuples", "lazy_static", @@ -2805,6 +2806,7 @@ dependencies = [ "sp-tracing", "sp-trie", "sp-version", + "trie-db", "xcm", ] @@ -4138,7 +4140,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", ] @@ -4161,7 +4163,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-support-procedural", @@ -4186,7 +4188,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -4233,7 +4235,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -4244,7 +4246,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4261,7 +4263,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -4290,7 +4292,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-recursion", "futures", @@ -4311,7 +4313,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "bitflags", "environmental", @@ -4346,7 +4348,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "Inflector", "cfg-expr", @@ -4364,7 +4366,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4376,7 +4378,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro2", "quote", @@ -4386,7 +4388,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "cfg-if", "frame-support", @@ -4405,7 +4407,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -4420,7 +4422,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "sp-api", @@ -4429,7 +4431,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "parity-scale-codec", @@ -5536,7 +5538,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "frame-benchmarking", @@ -5635,7 +5637,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "polkadot-primitives", @@ -6351,9 +6353,9 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2d6d7fe4741b5621cf7c8048e472933877c7ea870cbf1420da55ea9f3bb08c" +checksum = "614b1304ab7877b499925b4dcc5223ff480f2646ad4db1ee7065badb8d530439" dependencies = [ "macro_magic_core", "macro_magic_macros", @@ -6363,9 +6365,9 @@ dependencies = [ [[package]] name = "macro_magic_core" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3005604258419767cacc5989c2dd75263f8b33773dd680734f598eb88baf5370" +checksum = "a8d72c1b662d07b8e482c80d3a7fc4168e058b3bef4c573e94feb714b670f406" dependencies = [ "derive-syn-parse", "macro_magic_core_macros", @@ -6376,9 +6378,9 @@ dependencies = [ [[package]] name = "macro_magic_core_macros" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de6267819c9042df1a9e62ca279e5a34254ad5dfdcb13ff988f560d75576e8b4" +checksum = "93d7d9e6e234c040dafc745c7592738d56a03ad04b1fa04ab60821deb597466a" dependencies = [ "proc-macro2", "quote", @@ -6387,9 +6389,9 @@ dependencies = [ [[package]] name = "macro_magic_macros" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc7176ac15ab2ed7f335e2398f729b9562dae0c233705bc1e1e3acd8452d403d" +checksum = "ffd19f13cfd2bfbd83692adfef8c244fe5109b3eb822a1fb4e0a6253b406cd81" dependencies = [ "macro_magic_core", "quote", @@ -6564,7 +6566,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "log", @@ -6583,7 +6585,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "anyhow", "jsonrpsee", @@ -7087,7 +7089,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "frame-benchmarking", @@ -7108,7 +7110,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7126,7 +7128,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7141,7 +7143,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7157,7 +7159,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7173,7 +7175,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7187,7 +7189,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7211,7 +7213,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7231,7 +7233,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7246,7 +7248,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7265,7 +7267,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", @@ -7289,7 +7291,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7395,7 +7397,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7439,7 +7441,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7456,7 +7458,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "bitflags", "environmental", @@ -7486,7 +7488,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "bitflags", "parity-scale-codec", @@ -7499,7 +7501,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro2", "quote", @@ -7509,7 +7511,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7526,7 +7528,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7544,7 +7546,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7562,7 +7564,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7585,7 +7587,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7598,7 +7600,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7616,7 +7618,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "docify", "frame-benchmarking", @@ -7635,7 +7637,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "blake2", "frame-benchmarking", @@ -7653,7 +7655,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7676,7 +7678,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7692,7 +7694,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7712,7 +7714,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7729,7 +7731,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7743,7 +7745,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7760,7 +7762,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7779,7 +7781,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7796,7 +7798,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7812,7 +7814,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7829,7 +7831,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7847,7 +7849,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "pallet-nfts", @@ -7858,7 +7860,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7874,7 +7876,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7891,7 +7893,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7911,7 +7913,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7922,7 +7924,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -7939,7 +7941,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7978,7 +7980,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -7995,7 +7997,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8010,7 +8012,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8028,7 +8030,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8043,7 +8045,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8062,7 +8064,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8080,7 +8082,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8097,7 +8099,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -8118,7 +8120,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8134,13 +8136,18 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", + "hex-literal 0.3.4", + "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", + "sp-arithmetic", + "sp-io", "sp-runtime", "sp-std", ] @@ -8148,7 +8155,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8171,7 +8178,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8182,7 +8189,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "log", "sp-arithmetic", @@ -8191,7 +8198,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "sp-api", @@ -8200,7 +8207,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8217,7 +8224,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8232,7 +8239,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8250,7 +8257,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8269,7 +8276,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-support", "frame-system", @@ -8285,7 +8292,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8301,7 +8308,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8313,7 +8320,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8330,7 +8337,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8345,7 +8352,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8361,7 +8368,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8376,7 +8383,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-benchmarking", "frame-support", @@ -8391,7 +8398,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8412,7 +8419,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-benchmarking", "frame-support", @@ -9023,14 +9030,16 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", + "futures-timer", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", "tracing-gum", @@ -9039,9 +9048,10 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", + "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -9053,7 +9063,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "derive_more", "fatality", @@ -9076,7 +9086,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "fatality", "futures", @@ -9097,7 +9107,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "clap", "frame-benchmarking-cli", @@ -9127,7 +9137,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "frame-benchmarking", @@ -9170,7 +9180,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "always-assert", "bitvec", @@ -9192,7 +9202,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9204,7 +9214,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "derive_more", "fatality", @@ -9229,7 +9239,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9243,7 +9253,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "futures-timer", @@ -9263,7 +9273,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "always-assert", "async-trait", @@ -9286,7 +9296,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "parity-scale-codec", @@ -9304,7 +9314,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "derive_more", @@ -9333,7 +9343,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "futures", @@ -9354,7 +9364,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "fatality", @@ -9373,7 +9383,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9388,7 +9398,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "futures", @@ -9408,7 +9418,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "polkadot-node-metrics", @@ -9423,7 +9433,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "futures-timer", @@ -9440,7 +9450,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "fatality", "futures", @@ -9459,7 +9469,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "futures", @@ -9476,7 +9486,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "fatality", @@ -9494,7 +9504,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "always-assert", "futures", @@ -9525,7 +9535,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "polkadot-node-primitives", @@ -9541,7 +9551,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "cpu-time", "futures", @@ -9564,7 +9574,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-execute-worker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "cpu-time", "futures", @@ -9584,7 +9594,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "libc", @@ -9607,7 +9617,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "futures", "lru 0.9.0", @@ -9622,7 +9632,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "lazy_static", "log", @@ -9640,7 +9650,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bs58", "futures", @@ -9659,7 +9669,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-channel", "async-trait", @@ -9682,7 +9692,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bounded-vec", "futures", @@ -9704,7 +9714,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9714,7 +9724,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "futures", @@ -9732,7 +9742,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "derive_more", @@ -9755,7 +9765,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "derive_more", @@ -9788,7 +9798,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "futures", @@ -9811,7 +9821,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bounded-collections", "derive_more", @@ -9910,7 +9920,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9928,7 +9938,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9954,7 +9964,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -9986,7 +9996,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "frame-benchmarking", @@ -10081,7 +10091,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "frame-benchmarking", @@ -10127,7 +10137,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "polkadot-primitives", @@ -10141,7 +10151,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bs58", "parity-scale-codec", @@ -10153,7 +10163,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitflags", "bitvec", @@ -10198,7 +10208,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "async-trait", "frame-benchmarking-cli", @@ -10308,11 +10318,12 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "arrayvec 0.5.2", "fatality", "futures", + "futures-timer", "indexmap", "parity-scale-codec", "polkadot-node-network-protocol", @@ -10329,7 +10340,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10339,7 +10350,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -10364,7 +10375,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "frame-election-provider-support", @@ -10425,7 +10436,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-benchmarking", "frame-system", @@ -11205,7 +11216,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11292,7 +11303,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "polkadot-primitives", @@ -11561,7 +11572,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "log", "sp-core", @@ -11572,7 +11583,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -11601,7 +11612,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "futures-timer", @@ -11624,7 +11635,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11639,7 +11650,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11658,7 +11669,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11669,7 +11680,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -11709,7 +11720,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "fnv", "futures", @@ -11736,7 +11747,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "hash-db", "kvdb", @@ -11762,7 +11773,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -11787,7 +11798,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -11816,7 +11827,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "fork-tree", @@ -11852,7 +11863,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "jsonrpsee", @@ -11874,7 +11885,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -11910,7 +11921,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "jsonrpsee", @@ -11929,7 +11940,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11942,7 +11953,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ahash 0.8.2", "array-bytes 4.2.0", @@ -11982,7 +11993,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "finality-grandpa", "futures", @@ -12002,7 +12013,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -12025,7 +12036,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "lru 0.10.0", "parity-scale-codec", @@ -12047,7 +12058,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -12059,7 +12070,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "anyhow", "cfg-if", @@ -12077,7 +12088,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ansi_term", "futures", @@ -12093,7 +12104,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "parking_lot 0.12.1", @@ -12107,7 +12118,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12153,7 +12164,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-channel", "cid", @@ -12174,7 +12185,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -12201,7 +12212,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ahash 0.8.2", "futures", @@ -12219,7 +12230,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12241,7 +12252,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12275,7 +12286,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12293,7 +12304,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -12323,7 +12334,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12332,7 +12343,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "jsonrpsee", @@ -12363,7 +12374,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12382,7 +12393,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "http", "jsonrpsee", @@ -12397,7 +12408,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12423,7 +12434,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "directories", @@ -12489,7 +12500,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "log", "parity-scale-codec", @@ -12500,7 +12511,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "clap", "fs4", @@ -12516,7 +12527,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12535,7 +12546,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "libc", @@ -12554,7 +12565,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "chrono", "futures", @@ -12573,7 +12584,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ansi_term", "atty", @@ -12604,7 +12615,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12615,7 +12626,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -12641,7 +12652,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -12657,7 +12668,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-channel", "futures", @@ -13138,7 +13149,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "enumn", "parity-scale-codec", @@ -13215,7 +13226,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "hash-db", "log", @@ -13235,7 +13246,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "Inflector", "blake2", @@ -13249,7 +13260,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13262,7 +13273,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "integer-sqrt", "num-traits", @@ -13276,7 +13287,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13289,7 +13300,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "sp-api", @@ -13301,7 +13312,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "log", @@ -13319,7 +13330,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures", @@ -13334,7 +13345,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "parity-scale-codec", @@ -13352,7 +13363,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "parity-scale-codec", @@ -13373,7 +13384,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13392,7 +13403,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "finality-grandpa", "log", @@ -13410,7 +13421,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13422,7 +13433,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "bitflags", @@ -13466,7 +13477,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "blake2b_simd", "byteorder", @@ -13480,7 +13491,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro2", "quote", @@ -13491,7 +13502,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13500,7 +13511,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro2", "quote", @@ -13510,7 +13521,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "environmental", "parity-scale-codec", @@ -13521,7 +13532,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13536,7 +13547,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "bytes", "ed25519", @@ -13562,7 +13573,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "lazy_static", "sp-core", @@ -13573,7 +13584,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "parity-scale-codec", @@ -13587,7 +13598,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -13596,7 +13607,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13607,7 +13618,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13625,7 +13636,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13639,7 +13650,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "sp-api", "sp-core", @@ -13649,7 +13660,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "backtrace", "lazy_static", @@ -13659,7 +13670,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "rustc-hash", "serde", @@ -13669,7 +13680,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "either", "hash256-std-hasher", @@ -13691,7 +13702,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13709,7 +13720,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "Inflector", "proc-macro-crate", @@ -13721,7 +13732,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13735,7 +13746,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -13748,7 +13759,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "hash-db", "log", @@ -13763,12 +13774,13 @@ dependencies = [ "sp-trie", "thiserror", "tracing", + "trie-db", ] [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "log", "parity-scale-codec", @@ -13786,12 +13798,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13804,7 +13816,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "futures-timer", @@ -13819,7 +13831,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "sp-std", @@ -13831,7 +13843,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "sp-api", "sp-runtime", @@ -13840,7 +13852,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "log", @@ -13856,7 +13868,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ahash 0.8.2", "hash-db", @@ -13879,7 +13891,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13896,7 +13908,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13907,7 +13919,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13920,7 +13932,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "parity-scale-codec", "scale-info", @@ -14118,7 +14130,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "platforms", ] @@ -14126,7 +14138,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14145,7 +14157,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "hyper", "log", @@ -14157,7 +14169,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "jsonrpsee", @@ -14170,7 +14182,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "jsonrpsee", "log", @@ -14189,7 +14201,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -14215,7 +14227,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "futures", "substrate-test-utils-derive", @@ -14225,7 +14237,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -14236,7 +14248,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "ansi_term", "build-helper", @@ -14365,7 +14377,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "polkadot-primitives", @@ -14766,7 +14778,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -14777,7 +14789,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -14907,7 +14919,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#075ba84345c58611beaf8b3effcd321db5a92f6b" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" dependencies = [ "async-trait", "clap", @@ -15822,7 +15834,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bitvec", "frame-benchmarking", @@ -15915,7 +15927,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "polkadot-primitives", @@ -16349,7 +16361,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "bounded-collections", "derivative", @@ -16365,7 +16377,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "frame-support", "frame-system", @@ -16420,7 +16432,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "environmental", "frame-benchmarking", @@ -16440,7 +16452,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#b6b74fdf546c14bf9ac93c03916abda9ee33a52f" +source = "git+https://github.com/paritytech/polkadot?branch=master#47c8c36d6e3f90da77ebccb8b672e4fb4f33c84c" dependencies = [ "Inflector", "proc-macro2", @@ -16540,3 +16552,343 @@ dependencies = [ "libc", "pkg-config", ] + +[[patch.unused]] +name = "chain-spec-builder" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "frame-benchmarking-pallet-pov" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "frame-election-solution-type-fuzzer" +version = "2.0.0-alpha.5" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "frame-support-test" +version = "3.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "frame-support-test-compile-pass" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "frame-support-test-pallet" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "generate-bags" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "kitchensink-runtime" +version = "3.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-bench" +version = "0.9.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-cli" +version = "3.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-executor" +version = "3.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-inspect" +version = "0.9.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-primitives" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-rpc" +version = "3.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-runtime-generate-bags" +version = "3.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-template" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-template-release" +version = "3.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-template-runtime" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "node-testing" +version = "3.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-asset-conversion" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-asset-rate" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-atomic-swap" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-bags-list-fuzzer" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-bags-list-remote-tests" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-default-config-example" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-dev-mode" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-election-provider-e2e-test" +version = "1.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-example-basic" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-example-kitchensink" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-example-offchain-worker" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-examples" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-lottery" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-nicks" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-node-authorization" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-nomination-pools-fuzzer" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-nomination-pools-test-staking" +version = "1.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-remark" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-root-offences" +version = "1.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-root-testing" +version = "1.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-scored-pool" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-statement" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-template" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "pallet-transaction-storage" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-consensus-manual-seal" +version = "0.10.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-consensus-pow" +version = "0.10.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-network-statement" +version = "0.10.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-network-test" +version = "0.8.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-runtime-test" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-service-test" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sc-statement-store" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-api-test" +version = "2.0.1" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-application-crypto-test" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-arithmetic-fuzzer" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-consensus-pow" +version = "0.10.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-crypto-ec-utils" +version = "0.4.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-npos-elections-fuzzer" +version = "2.0.0-alpha.5" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-runtime-interface-test" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-runtime-interface-test-wasm" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-runtime-interface-test-wasm-deprecated" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "sp-test-primitives" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "subkey" +version = "3.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-cli-test-utils" +version = "0.1.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-frame-cli" +version = "4.0.0-dev" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-frame-rpc-support" +version = "3.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-test-runtime" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-test-runtime-client" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-test-runtime-transaction-pool" +version = "2.0.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" + +[[patch.unused]] +name = "substrate-test-utils-test-crate" +version = "0.1.0" +source = "git+https://github.com/skunert/substrate.git?branch=skunert/trie-cache#ef5f46c840f8fd1d879ce2d9de47520718da82de" diff --git a/Cargo.toml b/Cargo.toml index 77b32019681..331384ebb5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,3 +73,267 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[patch."https://github.com/paritytech/substrate"] +node-template = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-procedural = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-procedural-tools = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-procedural-tools-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-api-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-core = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-core-hashing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-std = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-debug-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-externalities = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-storage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime-interface = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime-interface-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-tracing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-wasm-interface = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-io = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-keystore = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-state-machine = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-panic-handler = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-trie = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-application-crypto = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-arithmetic = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-weights = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-runtime-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-block-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-client-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-prometheus-endpoint = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-executor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-executor-common = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-allocator = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-maybe-compressed-blob = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-executor-wasmtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-runtime-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-wasm-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-version = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-core-hashing-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-version-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-tracing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-rpc-server = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-tracing-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-blockchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-inherents = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-test-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-database = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-executive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-system = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-try-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-balances = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-transaction-payment = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-system-rpc-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-authorship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-session = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-timestamp = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-timestamp = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-session = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-slots = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-election-provider-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-election-provider-solution-type = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-npos-elections = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-utils-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-service = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-chain-spec = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-chain-spec-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-common = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-light = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-sync = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +fork-tree = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-telemetry = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-client-db = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-state-db = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +kitchensink-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-benchmarking-pallet-pov = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-system-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-alliance = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-collective = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-identity = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-asset-conversion = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-assets = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-asset-rate = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-asset-tx-payment = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-bags-list = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-bounties = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-treasury = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-utility = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-root-testing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-child-bounties = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-contracts = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-contracts-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-contracts-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-proxy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-conviction-voting = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-scheduler = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-preimage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-core-fellowship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-democracy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-election-provider-multi-phase = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-election-provider-support-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-elections-phragmen = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-fast-unstake = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-staking-reward-curve = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-glutton = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-offences = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-keyring = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-im-online = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-indices = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-lottery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-test-pallet = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-membership = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-message-queue = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-mmr = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-mmr-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-multisig = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nft-fractionalization = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nfts = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nfts-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nis = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nomination-pools = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nomination-pools-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nomination-pools-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-offences-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-ranked-collective = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-recovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-referenda = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-remark = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-salary = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-session-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-society = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-staking-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-state-trie-migration = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-remote-externalities = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-rpc-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-rpc-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-transaction-pool-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-state-trie-migration-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-statement = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-statement-store = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-sudo = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-tips = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-transaction-storage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-transaction-storage-proof = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-uniques = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-vesting = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-whitelist = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-block-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-offchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-informant = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-keystore = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-bitswap = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-transactions = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-offchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-runtime-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-rpc-spec-v2 = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-storage-monitor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-sysinfo = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-beefy-mmr = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +binary-merkle-tree = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime-interface-test-wasm = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-metadata-ir = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-benchmarking-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-template-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-template = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-transaction-payment-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-basic-authorship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-proposer-metrics = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-slots = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-gossip = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-statement-store = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-frame-rpc-system = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +try-runtime-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-cli-test-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-build-script-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-bench = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-testing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-executor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-inspect = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +mmr-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-epochs = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-babe-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-grandpa-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-sync-state-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-network-statement = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-service-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-frame-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +chain-spec-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +subkey = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-beefy-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-manual-seal = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sc-consensus-pow = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-consensus-pow = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +mmr-gadget = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-atomic-swap = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-bags-list-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-bags-list-remote-tests = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-election-provider-e2e-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-election-solution-type-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-examples = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-default-config-example = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-dev-mode = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-example-basic = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-example-kitchensink = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-example-offchain-worker = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nicks = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-node-authorization = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nomination-pools-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-nomination-pools-test-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-scored-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-staking-reward-fn = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +pallet-root-offences = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +frame-support-test-compile-pass = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-api-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-application-crypto-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-arithmetic-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-crypto-ec-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-npos-elections-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime-interface-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +sp-runtime-interface-test-wasm-deprecated = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-template-release = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-test-utils-test-crate = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +substrate-frame-rpc-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +generate-bags = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } +node-runtime-generate-bags = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } + diff --git a/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs b/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs index afe174202c5..a766dcec395 100644 --- a/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs +++ b/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs @@ -21,7 +21,7 @@ use cumulus_relay_chain_rpc_interface::RelayChainRpcClient; use futures::{Stream, StreamExt}; use polkadot_core_primitives::{Block, BlockNumber, Hash, Header}; use polkadot_overseer::RuntimeApiSubsystemClient; -use polkadot_primitives::slashing; +use polkadot_primitives::vstaging::slashing; use sc_authority_discovery::{AuthorityDiscovery, Error as AuthorityDiscoveryError}; use sp_api::{ApiError, RuntimeApiInfo}; diff --git a/client/relay-chain-rpc-interface/src/rpc_client.rs b/client/relay-chain-rpc-interface/src/rpc_client.rs index a352269104f..bda843af614 100644 --- a/client/relay-chain-rpc-interface/src/rpc_client.rs +++ b/client/relay-chain-rpc-interface/src/rpc_client.rs @@ -30,7 +30,7 @@ use sp_storage::StorageKey; use cumulus_primitives_core::{ relay_chain::{ - slashing, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, + vstaging::slashing, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash as RelayHash, Header as RelayHeader, InboundHrmpMessage, OccupiedCoreAssumption, PvfCheckStatement, ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode, diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index f953dfc77c5..1adad21d413 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -26,15 +26,22 @@ use polkadot_parachain::primitives::{HeadData, RelayChainBlockNumber, Validation use codec::Encode; +use core::{ + cell::RefCell, + sync::atomic::{AtomicU32, Ordering}, +}; use frame_support::traits::{ExecuteBlock, ExtrinsicCall, Get, IsSubType}; use sp_core::storage::{ChildInfo, StateVersion}; use sp_externalities::{set_and_run_with_externalities, Externalities}; use sp_io::KillStorageResult; use sp_runtime::traits::{Block as BlockT, Extrinsic, HashFor, Header as HeaderT}; -use sp_std::prelude::*; +use sp_state_machine::TrieCacheProvider; +use sp_std::{collections::btree_map::BTreeMap, prelude::*, vec::Vec}; use sp_trie::MemoryDB; +use trie_db::{node::NodeOwned, TrieError}; -type TrieBackend = sp_state_machine::TrieBackend>, HashFor>; +type TrieBackend = + sp_state_machine::TrieBackend>, HashFor, CacheProvider>>; type Ext<'a, B> = sp_state_machine::Ext<'a, HashFor, TrieBackend>; @@ -42,6 +49,124 @@ fn with_externalities R, R>(f: F) -> R { sp_externalities::with_externalities(f).expect("Environmental externalities not set.") } +use core::marker::PhantomData; +use hash_db::Hasher; +use sp_trie::NodeCodec; + +struct SimpleCache { + node_cache: BTreeMap>, + value_cache: BTreeMap, trie_db::CachedValue>, +} + +impl SimpleCache { + pub fn new() -> Self { + SimpleCache { node_cache: Default::default(), value_cache: Default::default() } + } +} + +impl trie_db::TrieCache> for SimpleCache { + fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { + self.value_cache.get(key) + } + + fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { + self.value_cache.insert(key.into(), value); + } + + fn get_or_insert_node( + &mut self, + hash: as trie_db::NodeCodec>::HashOut, + fetch_node: &mut dyn FnMut() -> trie_db::Result< + NodeOwned, + H::Out, + as trie_db::NodeCodec>::Error, + >, + ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { + let node = match fetch_node() { + Ok(node) => node, + _ => panic!("whaat"), + }; + self.node_cache.insert(hash, node); + + let return_value = match self.node_cache.get(&hash) { + Some(node) => node, + _ => panic!("should not happen"), + }; + Ok(return_value) + } + + fn get_node( + &mut self, + hash: &H::Out, + ) -> Option<&NodeOwned< as trie_db::NodeCodec>::HashOut>> { + self.node_cache.get(hash) + } +} + +impl<'a, H: Hasher> trie_db::TrieCache> for &'a mut SimpleCache { + fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { + sp_runtime::print("lookup_value_for_key"); + (**self).lookup_value_for_key(key) + } + + fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { + sp_runtime::print("cache_value_for_key"); + (**self).cache_value_for_key(key, value) + } + + fn get_or_insert_node( + &mut self, + hash: as trie_db::NodeCodec>::HashOut, + fetch_node: &mut dyn FnMut() -> trie_db::Result< + NodeOwned, + H::Out, + as trie_db::NodeCodec>::Error, + >, + ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { + sp_runtime::print("get_or_insert_node"); + (**self).get_or_insert_node(hash, fetch_node) + } + + fn get_node( + &mut self, + hash: &H::Out, + ) -> Option<&NodeOwned< as trie_db::NodeCodec>::HashOut>> { + sp_runtime::print("get_node"); + (**self).get_node(hash) + } +} + +struct CacheProvider { + _phantom: PhantomData, + initialized: AtomicU32, + cache: RefCell>, +} + +impl CacheProvider { + pub fn new() -> Self { + CacheProvider { + _phantom: PhantomData, + initialized: Default::default(), + cache: RefCell::new(SimpleCache::new()), + } + } +} + +impl TrieCacheProvider for CacheProvider { + type Cache<'a> = &'a mut SimpleCache where H: 'a; + + fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { + sp_runtime::print("Instantiating"); + &mut self.cache.borrow_mut() + } + + fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { + sp_runtime::print("Instantiating mut"); + &mut self.cache.borrow_mut() + } + + fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} +} /// Validate the given parachain block. /// /// This function is doing roughly the following: @@ -114,10 +239,15 @@ where sp_std::mem::drop(storage_proof); + let cache = CacheProvider::new(); // We use the storage root of the `parent_head` to ensure that it is the correct root. // This is already being done above while creating the in-memory db, but let's be paranoid!! - let backend = - sp_state_machine::TrieBackendBuilder::new(db, *parent_header.state_root()).build(); + let backend = sp_state_machine::TrieBackendBuilder::new_with_cache( + db, + *parent_header.state_root(), + cache, + ) + .build(); let _guard = ( // Replace storage calls with our own implementations diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs new file mode 100644 index 00000000000..5e329ece65c --- /dev/null +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -0,0 +1,56 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +use environmental::PhantomData; +use hash_db::Hasher; +use sp_trie::NodeCodec; +use trie_db::TrieCache; + +struct SimpleCache { + _phantom: PhantomData, +} + +impl trie_db::TrieCache> for SimpleCache { + fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { + None + } + + fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) {} + + fn get_or_insert_node( + &mut self, + hash: as trie_db::NodeCodec>::HashOut, + fetch_node: &mut dyn FnMut() -> trie_db::Result< + trie_db::node::NodeOwned, + H::Out, + as trie_db::NodeCodec>::Error, + >, + ) -> trie_db::Result< + &trie_db::node::NodeOwned, + H::Out, + as trie_db::NodeCodec>::Error, + > { + todo!() + } + + fn get_node( + &mut self, + hash: &H::Out, + ) -> Option<&trie_db::node::NodeOwned< as trie_db::NodeCodec>::HashOut>> { + None + } +} diff --git a/parachains/integration-tests/emulated/common/src/lib.rs b/parachains/integration-tests/emulated/common/src/lib.rs index 2b2af134a51..bda29ad63fc 100644 --- a/parachains/integration-tests/emulated/common/src/lib.rs +++ b/parachains/integration-tests/emulated/common/src/lib.rs @@ -7,6 +7,7 @@ pub use constants::{ }; use frame_support::{parameter_types, sp_io, sp_tracing}; pub use parachains_common::{AccountId, AssetHubPolkadotAuraId, AuraId, Balance, BlockNumber}; +use polkadot_primitives::runtime_api::runtime_decl_for_parachain_host::ParachainHostV4; pub use sp_core::{sr25519, storage::Storage, Get}; use xcm::prelude::*; use xcm_emulator::{ From 7c5f862595f6b847de9207f0bebcb67f43797404 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Fri, 23 Jun 2023 15:31:21 +0200 Subject: [PATCH 02/24] Fix node insertion --- Cargo.lock | 10 ++- pallets/parachain-system/Cargo.toml | 29 ++----- .../src/validate_block/implementation.rs | 86 ++++++------------- 3 files changed, 37 insertions(+), 88 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ae978a99f40..9fbc3686291 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2806,6 +2806,7 @@ dependencies = [ "sp-tracing", "sp-trie", "sp-version", + "spin 0.9.8", "trie-db", "xcm", ] @@ -13952,9 +13953,12 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "spin" -version = "0.9.4" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +dependencies = [ + "lock_api", +] [[package]] name = "spinners" @@ -15333,7 +15337,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e61a7006b0fdf24f6bbe8dcfdad5ca1b350de80061fb2827f31c82fbbb9565a" dependencies = [ - "spin 0.9.4", + "spin 0.9.8", "wasmi_arena", "wasmi_core", "wasmparser-nostd", diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index fbe2bde74d6..a08872c8fac 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -34,6 +34,9 @@ xcm = { git = "https://github.com/paritytech/polkadot", default-features = false cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false } +trie-db = { version = "0.27.1", default-features = false } +hash-db = { version = "0.16.0", default-features = false } +spin = "0.9.8" [dev-dependencies] hex-literal = "0.4.1" @@ -50,29 +53,9 @@ cumulus-test-client = { path = "../../test/client" } cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } [features] -default = [ "std" ] -std = [ - "codec/std", - "environmental/std", - "log/std", - "scale-info/std", - "cumulus-pallet-parachain-system-proc-macro/std", - "cumulus-primitives-core/std", - "cumulus-primitives-parachain-inherent/std", - "frame-support/std", - "frame-system/std", - "sp-core/std", - "sp-externalities/std", - "sp-io/std", - "sp-runtime/std", - "sp-state-machine/std", - "sp-std/std", - "sp-trie/std", - "xcm/std", -] +default = [] +std = ["codec/std", "environmental/std", "log/std", "scale-info/std", "cumulus-pallet-parachain-system-proc-macro/std", "cumulus-primitives-core/std", "cumulus-primitives-parachain-inherent/std", "frame-support/std", "frame-system/std", "sp-core/std", "sp-externalities/std", "sp-io/std", "sp-runtime/std", "sp-state-machine/std", "sp-std/std", "sp-trie/std", "xcm/std", "trie-db/std", "hash-db/std"] -runtime-benchmarks = [ - "sp-runtime/runtime-benchmarks" -] +runtime-benchmarks = ["sp-runtime/runtime-benchmarks"] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index 1adad21d413..7aa48a29578 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -26,6 +26,8 @@ use polkadot_parachain::primitives::{HeadData, RelayChainBlockNumber, Validation use codec::Encode; +pub extern crate alloc; +use alloc::string::ToString; use core::{ cell::RefCell, sync::atomic::{AtomicU32, Ordering}, @@ -36,7 +38,12 @@ use sp_externalities::{set_and_run_with_externalities, Externalities}; use sp_io::KillStorageResult; use sp_runtime::traits::{Block as BlockT, Extrinsic, HashFor, Header as HeaderT}; use sp_state_machine::TrieCacheProvider; -use sp_std::{collections::btree_map::BTreeMap, prelude::*, vec::Vec}; +use sp_std::{ + collections::btree_map::{BTreeMap, Entry}, + prelude::*, + sync::Arc, + vec::Vec, +}; use sp_trie::MemoryDB; use trie_db::{node::NodeOwned, TrieError}; @@ -53,18 +60,12 @@ use core::marker::PhantomData; use hash_db::Hasher; use sp_trie::NodeCodec; -struct SimpleCache { - node_cache: BTreeMap>, - value_cache: BTreeMap, trie_db::CachedValue>, -} - -impl SimpleCache { - pub fn new() -> Self { - SimpleCache { node_cache: Default::default(), value_cache: Default::default() } - } +struct SimpleCache<'a, H: Hasher> { + node_cache: spin::MutexGuard<'a, BTreeMap>>, + value_cache: spin::MutexGuard<'a, BTreeMap, trie_db::CachedValue>>, } -impl trie_db::TrieCache> for SimpleCache { +impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { self.value_cache.get(key) } @@ -82,17 +83,11 @@ impl trie_db::TrieCache> for SimpleCache { as trie_db::NodeCodec>::Error, >, ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { - let node = match fetch_node() { - Ok(node) => node, - _ => panic!("whaat"), - }; - self.node_cache.insert(hash, node); - - let return_value = match self.node_cache.get(&hash) { - Some(node) => node, - _ => panic!("should not happen"), - }; - Ok(return_value) + let result = self.node_cache.entry(hash).or_insert_with(|| match fetch_node() { + Ok(new_node) => new_node, + _ => panic!(), + }); + Ok(result) } fn get_node( @@ -103,43 +98,11 @@ impl trie_db::TrieCache> for SimpleCache { } } -impl<'a, H: Hasher> trie_db::TrieCache> for &'a mut SimpleCache { - fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { - sp_runtime::print("lookup_value_for_key"); - (**self).lookup_value_for_key(key) - } - - fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { - sp_runtime::print("cache_value_for_key"); - (**self).cache_value_for_key(key, value) - } - - fn get_or_insert_node( - &mut self, - hash: as trie_db::NodeCodec>::HashOut, - fetch_node: &mut dyn FnMut() -> trie_db::Result< - NodeOwned, - H::Out, - as trie_db::NodeCodec>::Error, - >, - ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { - sp_runtime::print("get_or_insert_node"); - (**self).get_or_insert_node(hash, fetch_node) - } - - fn get_node( - &mut self, - hash: &H::Out, - ) -> Option<&NodeOwned< as trie_db::NodeCodec>::HashOut>> { - sp_runtime::print("get_node"); - (**self).get_node(hash) - } -} - struct CacheProvider { _phantom: PhantomData, initialized: AtomicU32, - cache: RefCell>, + node_cache: spin::Mutex>>, + value_cache: spin::Mutex, trie_db::CachedValue>>, } impl CacheProvider { @@ -147,22 +110,21 @@ impl CacheProvider { CacheProvider { _phantom: PhantomData, initialized: Default::default(), - cache: RefCell::new(SimpleCache::new()), + node_cache: spin::Mutex::new(BTreeMap::new()), + value_cache: spin::Mutex::new(BTreeMap::new()), } } } impl TrieCacheProvider for CacheProvider { - type Cache<'a> = &'a mut SimpleCache where H: 'a; + type Cache<'a> = SimpleCache<'a, H> where H: 'a; fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { - sp_runtime::print("Instantiating"); - &mut self.cache.borrow_mut() + SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } } fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - sp_runtime::print("Instantiating mut"); - &mut self.cache.borrow_mut() + SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } } fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} From 3658334f938f9f85704c133043aa834c4b5eb5fa Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Fri, 23 Jun 2023 16:15:43 +0200 Subject: [PATCH 03/24] Switch to hashbrown hashmap --- Cargo.lock | 17 +++++++++++++++++ pallets/parachain-system/Cargo.toml | 1 + .../src/validate_block/implementation.rs | 13 +++++++------ 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9fbc3686291..fe9115624d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,6 +149,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56fc6cf8dc8c4158eed8649f9b8b0ea1518eb62b544fe9490d66fa0b349eafe9" + [[package]] name = "always-assert" version = "0.1.2" @@ -2787,6 +2793,7 @@ dependencies = [ "frame-support", "frame-system", "hash-db", + "hashbrown 0.14.0", "hex-literal 0.4.1", "impl-trait-for-tuples", "lazy_static", @@ -4843,6 +4850,16 @@ dependencies = [ "ahash 0.8.2", ] +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +dependencies = [ + "ahash 0.8.2", + "allocator-api2", +] + [[package]] name = "heck" version = "0.4.0" diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index a08872c8fac..89b466becc2 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -37,6 +37,7 @@ cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inh trie-db = { version = "0.27.1", default-features = false } hash-db = { version = "0.16.0", default-features = false } spin = "0.9.8" +hashbrown = "0.14.0" [dev-dependencies] hex-literal = "0.4.1" diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index 7aa48a29578..1a8777c775a 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -33,6 +33,7 @@ use core::{ sync::atomic::{AtomicU32, Ordering}, }; use frame_support::traits::{ExecuteBlock, ExtrinsicCall, Get, IsSubType}; +use hashbrown::hash_map::HashMap; use sp_core::storage::{ChildInfo, StateVersion}; use sp_externalities::{set_and_run_with_externalities, Externalities}; use sp_io::KillStorageResult; @@ -61,8 +62,8 @@ use hash_db::Hasher; use sp_trie::NodeCodec; struct SimpleCache<'a, H: Hasher> { - node_cache: spin::MutexGuard<'a, BTreeMap>>, - value_cache: spin::MutexGuard<'a, BTreeMap, trie_db::CachedValue>>, + node_cache: spin::MutexGuard<'a, HashMap>>, + value_cache: spin::MutexGuard<'a, HashMap, trie_db::CachedValue>>, } impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { @@ -101,8 +102,8 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { struct CacheProvider { _phantom: PhantomData, initialized: AtomicU32, - node_cache: spin::Mutex>>, - value_cache: spin::Mutex, trie_db::CachedValue>>, + node_cache: spin::Mutex>>, + value_cache: spin::Mutex, trie_db::CachedValue>>, } impl CacheProvider { @@ -110,8 +111,8 @@ impl CacheProvider { CacheProvider { _phantom: PhantomData, initialized: Default::default(), - node_cache: spin::Mutex::new(BTreeMap::new()), - value_cache: spin::Mutex::new(BTreeMap::new()), + node_cache: spin::Mutex::new(HashMap::new()), + value_cache: spin::Mutex::new(HashMap::new()), } } } From 9b6fff5a28a1a5cb9b1e3c35c4ce559291288840 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 26 Jun 2023 18:10:48 +0200 Subject: [PATCH 04/24] Remove unused phantomdata --- pallets/parachain-system/src/validate_block/implementation.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index 1a8777c775a..a6a5048faf5 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -100,7 +100,6 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { } struct CacheProvider { - _phantom: PhantomData, initialized: AtomicU32, node_cache: spin::Mutex>>, value_cache: spin::Mutex, trie_db::CachedValue>>, @@ -109,7 +108,6 @@ struct CacheProvider { impl CacheProvider { pub fn new() -> Self { CacheProvider { - _phantom: PhantomData, initialized: Default::default(), node_cache: spin::Mutex::new(HashMap::new()), value_cache: spin::Mutex::new(HashMap::new()), From fc8ef6966ac7117de5e8c2c62422bef637791649 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 27 Jun 2023 14:39:02 +0200 Subject: [PATCH 05/24] Return error when fetch_node fails --- .../src/validate_block/implementation.rs | 18 ++++++++++++++---- .../emulated/common/src/lib.rs | 1 - 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index a6a5048faf5..fb293365a31 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -84,11 +84,21 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { as trie_db::NodeCodec>::Error, >, ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { - let result = self.node_cache.entry(hash).or_insert_with(|| match fetch_node() { + if self.node_cache.contains_key(&hash) { + if let Some(value) = self.node_cache.get(&hash) { + return Ok(value) + } else { + panic!("This can not happen"); + } + } + + let fetched = match fetch_node() { Ok(new_node) => new_node, - _ => panic!(), - }); - Ok(result) + Err(e) => return Err(e), + }; + + let (_key, value) = self.node_cache.insert_unique_unchecked(hash, fetched); + Ok(value) } fn get_node( diff --git a/parachains/integration-tests/emulated/common/src/lib.rs b/parachains/integration-tests/emulated/common/src/lib.rs index bda29ad63fc..2b2af134a51 100644 --- a/parachains/integration-tests/emulated/common/src/lib.rs +++ b/parachains/integration-tests/emulated/common/src/lib.rs @@ -7,7 +7,6 @@ pub use constants::{ }; use frame_support::{parameter_types, sp_io, sp_tracing}; pub use parachains_common::{AccountId, AssetHubPolkadotAuraId, AuraId, Balance, BlockNumber}; -use polkadot_primitives::runtime_api::runtime_decl_for_parachain_host::ParachainHostV4; pub use sp_core::{sr25519, storage::Storage, Get}; use xcm::prelude::*; use xcm_emulator::{ From 3f945614726ec39485e857baf7fdb6a3ea1ea17c Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 29 Jun 2023 10:44:38 +0200 Subject: [PATCH 06/24] Remove cargo patches --- Cargo.toml | 264 ----------------------------------------------------- 1 file changed, 264 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 331384ebb5d..77b32019681 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,267 +73,3 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 - -[patch."https://github.com/paritytech/substrate"] -node-template = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-procedural = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-procedural-tools = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-procedural-tools-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-api-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-core = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-core-hashing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-std = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-debug-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-externalities = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-storage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime-interface = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime-interface-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-tracing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-wasm-interface = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-io = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-keystore = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-state-machine = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-panic-handler = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-trie = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-application-crypto = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-arithmetic = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-weights = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-runtime-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-block-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-client-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-prometheus-endpoint = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-executor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-executor-common = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-allocator = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-maybe-compressed-blob = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-executor-wasmtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-runtime-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-wasm-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-version = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-core-hashing-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-version-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-tracing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-rpc-server = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-tracing-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-blockchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-inherents = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-test-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-database = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-executive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-system = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-try-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-balances = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-transaction-payment = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-system-rpc-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-authorship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-session = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-timestamp = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-timestamp = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-session = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-slots = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-election-provider-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-election-provider-solution-type = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-npos-elections = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-utils-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-service = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-chain-spec = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-chain-spec-derive = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-common = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-light = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-sync = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -fork-tree = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-telemetry = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-client-db = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-state-db = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -kitchensink-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-benchmarking-pallet-pov = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-system-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-alliance = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-collective = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-identity = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-asset-conversion = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-assets = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-asset-rate = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-asset-tx-payment = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-bags-list = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-bounties = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-treasury = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-utility = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-root-testing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-child-bounties = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-contracts = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-contracts-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-contracts-proc-macro = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-proxy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-conviction-voting = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-scheduler = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-preimage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-core-fellowship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-democracy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-election-provider-multi-phase = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-election-provider-support-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-elections-phragmen = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-fast-unstake = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-staking-reward-curve = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-glutton = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-offences = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-keyring = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-im-online = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-indices = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-lottery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-test-pallet = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-membership = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-message-queue = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-mmr = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-mmr-primitives = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-multisig = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nft-fractionalization = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nfts = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nfts-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nis = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nomination-pools = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nomination-pools-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nomination-pools-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-offences-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-ranked-collective = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-recovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-referenda = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-remark = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-salary = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-session-benchmarking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-society = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-staking-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-state-trie-migration = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-remote-externalities = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-rpc-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-rpc-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-transaction-pool-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-state-trie-migration-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-statement = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-statement-store = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-sudo = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-tips = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-transaction-storage = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-transaction-storage-proof = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-uniques = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-vesting = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-whitelist = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-block-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-offchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-informant = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-keystore = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-bitswap = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-transactions = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-offchain = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-runtime-transaction-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-rpc-spec-v2 = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-storage-monitor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-sysinfo = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-beefy-mmr = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -binary-merkle-tree = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-client = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime-interface-test-wasm = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-metadata-ir = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-benchmarking-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-template-runtime = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-template = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-transaction-payment-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-basic-authorship = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-proposer-metrics = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-aura = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-slots = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-grandpa = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-gossip = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-statement-store = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-frame-rpc-system = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -try-runtime-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-cli-test-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-build-script-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-bench = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-testing = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-executor = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-inspect = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -mmr-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-babe = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-epochs = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-babe-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-grandpa-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-sync-state-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-authority-discovery = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-network-statement = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-service-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-frame-cli = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -chain-spec-builder = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -subkey = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-beefy = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-beefy-rpc = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-manual-seal = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sc-consensus-pow = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-consensus-pow = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -mmr-gadget = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-atomic-swap = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-bags-list-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-bags-list-remote-tests = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-election-provider-e2e-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-election-solution-type-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-examples = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-default-config-example = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-dev-mode = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-example-basic = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-example-kitchensink = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-example-offchain-worker = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nicks = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-node-authorization = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nomination-pools-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-nomination-pools-test-staking = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-scored-pool = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-staking-reward-fn = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -pallet-root-offences = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -frame-support-test-compile-pass = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-api-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-application-crypto-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-arithmetic-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-crypto-ec-utils = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-npos-elections-fuzzer = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime-interface-test = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -sp-runtime-interface-test-wasm-deprecated = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-template-release = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-test-utils-test-crate = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -substrate-frame-rpc-support = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -generate-bags = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } -node-runtime-generate-bags = { git = "https://github.com/skunert/substrate.git" , branch = "skunert/trie-cache" } - From d1a10589bc8a1412fc3b394919816b80b99386a5 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 29 Jun 2023 14:39:19 +0200 Subject: [PATCH 07/24] Move trie cache to extra module --- Cargo.lock | 789 +++++++----------- .../src/validate_block/implementation.rs | 91 +- .../src/validate_block/mod.rs | 4 + .../src/validate_block/trie_cache.rs | 80 +- 4 files changed, 372 insertions(+), 592 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16ff470a4d0..3454f61b254 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -840,12 +840,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - [[package]] name = "base64" version = "0.13.0" @@ -876,7 +870,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "hash-db", "log", @@ -2440,18 +2434,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "crypto-bigint" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2538c4e68e52548bacb3e83ac549f903d44f011ac9d5abb5e132e67d0808f7" -dependencies = [ - "generic-array 0.14.6", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - [[package]] name = "crypto-common" version = "0.1.3" @@ -3416,16 +3398,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "der" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc906908ea6458456e5eaa160a9c08543ec3d1e6f71e2235cedd660cb65f9df0" -dependencies = [ - "const-oid", - "zeroize", -] - [[package]] name = "der-parser" version = "7.0.0" @@ -3691,22 +3663,10 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der 0.6.0", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - -[[package]] -name = "ecdsa" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1b0a1222f8072619e8a6b667a854020a03d363738303203c09468b3424a420a" -dependencies = [ - "der 0.7.1", - "elliptic-curve 0.13.2", - "rfc6979 0.4.0", - "signature 2.0.0", + "der", + "elliptic-curve", + "rfc6979", + "signature", ] [[package]] @@ -3715,7 +3675,7 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature 1.6.4", + "signature", ] [[package]] @@ -3758,37 +3718,18 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.0", + "base16ct", + "crypto-bigint", + "der", "digest 0.10.6", - "ff 0.12.1", + "ff", "generic-array 0.14.6", - "group 0.12.1", + "group", "hkdf", "pem-rfc7468", - "pkcs8 0.9.0", - "rand_core 0.6.4", - "sec1 0.3.0", - "subtle", - "zeroize", -] - -[[package]] -name = "elliptic-curve" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea5a92946e8614bb585254898bb7dd1ddad241ace60c52149e3765e34cc039d" -dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.1", - "digest 0.10.6", - "ff 0.13.0", - "generic-array 0.14.6", - "group 0.13.0", - "pkcs8 0.10.1", + "pkcs8", "rand_core 0.6.4", - "sec1 0.7.1", + "sec1", "subtle", "zeroize", ] @@ -4056,16 +3997,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "ff" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "fiat-crypto" version = "0.1.20" @@ -4159,7 +4090,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", ] @@ -4182,7 +4113,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-support-procedural", @@ -4207,7 +4138,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -4244,7 +4175,6 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", "thiserror", @@ -4254,7 +4184,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -4265,7 +4195,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4282,7 +4212,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -4298,9 +4228,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "15.1.0" +version = "15.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "f2a893ede8dde2293e94dacf9c8f5db5d0506cd909257a8f0ac2b7d610baf50c" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4311,7 +4241,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-recursion", "futures", @@ -4332,20 +4262,19 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "bitflags", "environmental", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", - "k256", "log", "macro_magic", - "once_cell", "parity-scale-codec", "paste", "scale-info", + "secp256k1", "serde", "smallvec", "sp-api", @@ -4367,7 +4296,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "Inflector", "cfg-expr", @@ -4385,7 +4314,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4397,7 +4326,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro2", "quote", @@ -4407,7 +4336,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "cfg-if", "frame-support", @@ -4426,7 +4355,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -4441,7 +4370,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "sp-api", @@ -4450,7 +4379,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "parity-scale-codec", @@ -4646,7 +4575,6 @@ checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", - "zeroize", ] [[package]] @@ -4773,18 +4701,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff 0.13.0", + "ff", "rand_core 0.6.4", "subtle", ] @@ -5566,19 +5483,6 @@ dependencies = [ "jsonrpsee-types", ] -[[package]] -name = "k256" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955890845095ccf31ef83ad41a05aabb4d8cc23dc3cac5a9f5c89cf26dd0da75" -dependencies = [ - "cfg-if", - "ecdsa 0.16.1", - "elliptic-curve 0.13.2", - "once_cell", - "sha2 0.10.2", -] - [[package]] name = "keccak" version = "0.1.0" @@ -5588,7 +5492,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "frame-benchmarking", @@ -5687,7 +5591,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "polkadot-primitives", @@ -6616,7 +6520,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "log", @@ -6635,7 +6539,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "anyhow", "jsonrpsee", @@ -7110,8 +7014,8 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", + "ecdsa", + "elliptic-curve", "sha2 0.10.2", ] @@ -7121,8 +7025,8 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", + "ecdsa", + "elliptic-curve", "sha2 0.10.2", ] @@ -7139,7 +7043,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "frame-benchmarking", @@ -7160,7 +7064,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7178,7 +7082,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7192,7 +7096,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7210,7 +7114,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7225,7 +7129,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7241,7 +7145,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7257,7 +7161,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7271,7 +7175,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7295,7 +7199,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7315,7 +7219,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7330,7 +7234,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7349,7 +7253,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", @@ -7373,7 +7277,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7479,7 +7383,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7523,7 +7427,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7540,7 +7444,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "bitflags", "environmental", @@ -7570,7 +7474,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "bitflags", "parity-scale-codec", @@ -7583,7 +7487,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro2", "quote", @@ -7593,7 +7497,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7610,7 +7514,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7628,7 +7532,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7646,7 +7550,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7669,7 +7573,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7682,7 +7586,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7700,7 +7604,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "docify", "frame-benchmarking", @@ -7719,7 +7623,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "blake2", "frame-benchmarking", @@ -7737,7 +7641,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7760,7 +7664,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7776,7 +7680,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7796,7 +7700,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7813,7 +7717,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7827,7 +7731,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7844,7 +7748,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7863,7 +7767,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7880,7 +7784,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7896,7 +7800,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7913,7 +7817,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7931,7 +7835,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "pallet-nfts", @@ -7942,7 +7846,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -7958,7 +7862,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -7975,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7995,7 +7899,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8006,7 +7910,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -8023,7 +7927,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8062,7 +7966,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8079,7 +7983,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8094,7 +7998,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8112,7 +8016,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8127,7 +8031,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8146,7 +8050,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8164,7 +8068,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8181,7 +8085,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -8202,7 +8106,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8218,7 +8122,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8237,7 +8141,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8260,7 +8164,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8271,7 +8175,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "log", "sp-arithmetic", @@ -8280,7 +8184,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "sp-api", @@ -8289,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8306,7 +8210,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8321,7 +8225,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8339,7 +8243,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8358,7 +8262,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-support", "frame-system", @@ -8374,7 +8278,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8390,7 +8294,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8402,7 +8306,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8419,7 +8323,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8434,7 +8338,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8450,7 +8354,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8465,7 +8369,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-benchmarking", "frame-support", @@ -8480,7 +8384,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8501,7 +8405,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9057,18 +8961,8 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der 0.6.0", - "spki 0.6.0", -] - -[[package]] -name = "pkcs8" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d2820d87d2b008616e5c27212dd9e0e694fb4c6b522de06094106813328cb49" -dependencies = [ - "der 0.7.1", - "spki 0.7.0", + "der", + "spki", ] [[package]] @@ -9114,7 +9008,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "futures-timer", @@ -9132,7 +9026,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "futures-timer", @@ -9147,7 +9041,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "derive_more", "fatality", @@ -9170,7 +9064,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "fatality", "futures", @@ -9191,7 +9085,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "clap", "frame-benchmarking-cli", @@ -9221,7 +9115,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "frame-benchmarking", @@ -9264,7 +9158,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "always-assert", "bitvec", @@ -9286,7 +9180,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "parity-scale-codec", "scale-info", @@ -9298,7 +9192,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "derive_more", "fatality", @@ -9323,7 +9217,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9337,7 +9231,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "futures-timer", @@ -9357,7 +9251,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "always-assert", "async-trait", @@ -9380,7 +9274,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "parity-scale-codec", @@ -9398,7 +9292,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "derive_more", @@ -9427,7 +9321,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "futures", @@ -9448,7 +9342,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "fatality", @@ -9467,7 +9361,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9482,7 +9376,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "futures", @@ -9502,7 +9396,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "polkadot-node-metrics", @@ -9517,7 +9411,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "futures-timer", @@ -9534,7 +9428,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "fatality", "futures", @@ -9553,7 +9447,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "futures", @@ -9570,7 +9464,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "fatality", @@ -9588,7 +9482,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "always-assert", "futures", @@ -9619,7 +9513,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "polkadot-node-primitives", @@ -9635,7 +9529,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "cpu-time", "futures", @@ -9658,7 +9552,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-execute-worker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "cpu-time", "futures", @@ -9678,7 +9572,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "libc", @@ -9701,7 +9595,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "futures", "lru 0.9.0", @@ -9716,7 +9610,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "lazy_static", "log", @@ -9734,7 +9628,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bs58", "futures", @@ -9753,7 +9647,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-channel", "async-trait", @@ -9776,7 +9670,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bounded-vec", "futures", @@ -9798,7 +9692,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9808,7 +9702,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "futures", @@ -9826,7 +9720,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "derive_more", @@ -9849,7 +9743,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "derive_more", @@ -9882,7 +9776,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "futures", @@ -9905,7 +9799,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bounded-collections", "derive_more", @@ -10004,7 +9898,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -10022,7 +9916,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -10048,7 +9942,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -10080,7 +9974,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "frame-benchmarking", @@ -10175,7 +10069,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "frame-benchmarking", @@ -10221,7 +10115,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "polkadot-primitives", @@ -10235,7 +10129,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bs58", "parity-scale-codec", @@ -10247,7 +10141,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitflags", "bitvec", @@ -10292,7 +10186,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "async-trait", "frame-benchmarking-cli", @@ -10402,7 +10296,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -10424,7 +10318,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10434,7 +10328,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -10459,7 +10353,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "frame-election-provider-support", @@ -10520,7 +10414,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-benchmarking", "frame-system", @@ -11200,21 +11094,11 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "crypto-bigint 0.4.9", + "crypto-bigint", "hmac 0.12.1", "zeroize", ] -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac 0.12.1", - "subtle", -] - [[package]] name = "ring" version = "0.16.20" @@ -11301,7 +11185,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11388,7 +11272,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "polkadot-primitives", @@ -11657,7 +11541,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "log", "sp-core", @@ -11668,7 +11552,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -11683,7 +11567,6 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sc-network-common", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -11697,7 +11580,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "futures-timer", @@ -11720,7 +11603,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11735,7 +11618,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11754,7 +11637,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11765,7 +11648,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -11783,7 +11666,6 @@ dependencies = [ "sc-client-db", "sc-keystore", "sc-network", - "sc-network-common", "sc-service", "sc-telemetry", "sc-tracing", @@ -11805,7 +11687,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "fnv", "futures", @@ -11832,7 +11714,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "hash-db", "kvdb", @@ -11858,7 +11740,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -11883,7 +11765,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -11912,7 +11794,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "fork-tree", @@ -11927,7 +11809,6 @@ dependencies = [ "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", - "sc-keystore", "sc-telemetry", "scale-info", "sp-api", @@ -11948,7 +11829,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "jsonrpsee", @@ -11970,7 +11851,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -11982,9 +11863,7 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-consensus", - "sc-keystore", "sc-network", - "sc-network-common", "sc-network-gossip", "sc-network-sync", "sc-utils", @@ -12006,7 +11885,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "jsonrpsee", @@ -12025,7 +11904,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "fork-tree", "parity-scale-codec", @@ -12038,7 +11917,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ahash 0.8.2", "array-bytes 4.2.0", @@ -12078,7 +11957,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "finality-grandpa", "futures", @@ -12098,7 +11977,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -12121,7 +12000,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "lru 0.10.0", "parity-scale-codec", @@ -12143,7 +12022,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -12155,13 +12034,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "anyhow", "cfg-if", "libc", "log", - "once_cell", "rustix 0.36.7", "sc-allocator", "sc-executor-common", @@ -12173,7 +12051,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ansi_term", "futures", @@ -12189,7 +12067,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "parking_lot 0.12.1", @@ -12203,7 +12081,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12218,25 +12096,20 @@ dependencies = [ "libp2p", "linked_hash_set", "log", - "lru 0.10.0", "mockall", "parity-scale-codec", "parking_lot 0.12.1", "partial_sort", "pin-project", "rand 0.8.5", - "sc-block-builder", "sc-client-api", - "sc-consensus", "sc-network-common", "sc-utils", "serde", "serde_json", "smallvec", - "snow", "sp-arithmetic", "sp-blockchain", - "sp-consensus", "sp-core", "sp-runtime", "substrate-prometheus-endpoint", @@ -12249,7 +12122,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-channel", "cid", @@ -12260,7 +12133,6 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sc-network-common", "sp-blockchain", "sp-runtime", "thiserror", @@ -12270,34 +12142,24 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ - "array-bytes 4.2.0", "async-trait", "bitflags", - "bytes", "futures", - "futures-timer", "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", - "sc-utils", - "serde", - "smallvec", - "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", - "zeroize", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ahash 0.8.2", "futures", @@ -12315,7 +12177,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12327,7 +12189,6 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sc-network-common", "sp-blockchain", "sp-core", "sp-runtime", @@ -12337,7 +12198,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12371,7 +12232,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12389,7 +12250,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -12406,7 +12267,6 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sc-network-common", "sc-utils", "sp-api", "sp-core", @@ -12419,7 +12279,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12428,7 +12288,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "jsonrpsee", @@ -12459,7 +12319,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12478,7 +12338,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "http", "jsonrpsee", @@ -12493,7 +12353,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12519,7 +12379,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "directories", @@ -12550,7 +12410,6 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", - "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -12585,7 +12444,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "log", "parity-scale-codec", @@ -12596,14 +12455,12 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "clap", "fs4", - "futures", "log", "sc-client-db", - "sc-utils", "sp-core", "thiserror", "tokio", @@ -12612,7 +12469,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12631,7 +12488,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "libc", @@ -12650,7 +12507,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "chrono", "futures", @@ -12669,7 +12526,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ansi_term", "atty", @@ -12677,12 +12534,10 @@ dependencies = [ "lazy_static", "libc", "log", - "once_cell", "parking_lot 0.12.1", "regex", "rustc-hash", "sc-client-api", - "sc-rpc-server", "sc-tracing-proc-macro", "serde", "sp-api", @@ -12700,7 +12555,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12711,7 +12566,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -12737,7 +12592,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -12753,7 +12608,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-channel", "futures", @@ -12880,24 +12735,10 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct 0.1.1", - "der 0.6.0", - "generic-array 0.14.6", - "pkcs8 0.9.0", - "subtle", - "zeroize", -] - -[[package]] -name = "sec1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48518a2b5775ba8ca5b46596aae011caa431e6ce7e4a67ead66d92f08884220e" -dependencies = [ - "base16ct 0.2.0", - "der 0.7.1", + "base16ct", + "der", "generic-array 0.14.6", - "pkcs8 0.10.1", + "pkcs8", "subtle", "zeroize", ] @@ -13190,16 +13031,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "signature" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fe458c98333f9c8152221191a77e2a44e8325d0193484af2e9421a53019e57d" -dependencies = [ - "digest 0.10.6", - "rand_core 0.6.4", -] - [[package]] name = "simba" version = "0.8.0" @@ -13234,7 +13065,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "enumn", "parity-scale-codec", @@ -13311,7 +13142,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "hash-db", "log", @@ -13331,7 +13162,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "Inflector", "blake2", @@ -13345,7 +13176,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13358,7 +13189,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "integer-sqrt", "num-traits", @@ -13372,7 +13203,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13385,9 +13216,8 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ - "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", @@ -13397,7 +13227,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "log", @@ -13415,7 +13245,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "futures", @@ -13430,14 +13260,13 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", "sp-inherents", "sp-runtime", @@ -13448,7 +13277,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "parity-scale-codec", @@ -13456,11 +13285,9 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", "sp-core", "sp-inherents", - "sp-keystore", "sp-runtime", "sp-std", "sp-timestamp", @@ -13469,7 +13296,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13488,7 +13315,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "finality-grandpa", "log", @@ -13506,7 +13333,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13518,7 +13345,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "bitflags", @@ -13562,23 +13389,21 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.6", "sha2 0.10.2", "sha3", - "sp-std", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ - "proc-macro2", "quote", "sp-core-hashing", "syn 2.0.18", @@ -13587,7 +13412,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13596,7 +13421,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro2", "quote", @@ -13606,7 +13431,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "environmental", "parity-scale-codec", @@ -13617,13 +13442,12 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core", "sp-runtime", "sp-std", "thiserror", @@ -13632,12 +13456,11 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "bytes", "ed25519", "ed25519-dalek", - "futures", "libsecp256k1", "log", "parity-scale-codec", @@ -13658,7 +13481,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "lazy_static", "sp-core", @@ -13669,12 +13492,10 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ - "futures", "parity-scale-codec", "parking_lot 0.12.1", - "serde", "sp-core", "sp-externalities", "thiserror", @@ -13683,7 +13504,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -13692,7 +13513,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13703,7 +13524,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13721,7 +13542,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13735,7 +13556,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "sp-api", "sp-core", @@ -13745,7 +13566,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "backtrace", "lazy_static", @@ -13755,7 +13576,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "rustc-hash", "serde", @@ -13765,7 +13586,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "either", "hash256-std-hasher", @@ -13787,7 +13608,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13805,7 +13626,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "Inflector", "proc-macro-crate", @@ -13817,7 +13638,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13831,7 +13652,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -13844,7 +13665,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "hash-db", "log", @@ -13859,14 +13680,14 @@ dependencies = [ "sp-trie", "thiserror", "tracing", + "trie-db", ] [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ - "log", "parity-scale-codec", "scale-info", "sp-api", @@ -13882,12 +13703,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13900,11 +13721,9 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", - "futures-timer", - "log", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -13915,7 +13734,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "sp-std", @@ -13927,7 +13746,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "sp-api", "sp-runtime", @@ -13936,10 +13755,9 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", - "log", "parity-scale-codec", "scale-info", "sp-core", @@ -13952,7 +13770,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ahash 0.8.2", "hash-db", @@ -13975,7 +13793,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13992,7 +13810,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -14003,7 +13821,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -14016,7 +13834,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "parity-scale-codec", "scale-info", @@ -14061,17 +13879,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der 0.6.0", -] - -[[package]] -name = "spki" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0445c905640145c7ea8c1993555957f65e7c46d0535b91ba501bc9bfc85522f" -dependencies = [ - "base64ct", - "der 0.7.1", + "der", ] [[package]] @@ -14217,15 +14025,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" -dependencies = [ - "platforms", -] +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14244,7 +14049,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "hyper", "log", @@ -14256,7 +14061,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "jsonrpsee", @@ -14269,14 +14074,12 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "jsonrpsee", - "log", "parity-scale-codec", "sc-client-api", "sc-rpc-api", - "scale-info", "serde", "sp-core", "sp-runtime", @@ -14288,7 +14091,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -14314,7 +14117,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "futures", "substrate-test-utils-derive", @@ -14324,7 +14127,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -14335,7 +14138,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "ansi_term", "build-helper", @@ -14464,7 +14267,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "polkadot-primitives", @@ -14865,7 +14668,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -14876,7 +14679,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -15006,7 +14809,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#81d125fe2a938ba336716c8b1d5e0faff0487d50" +source = "git+https://github.com/paritytech/substrate?branch=master#fe2d51377fe1a8fbbb0599523f4fdc1422c82f81" dependencies = [ "async-trait", "clap", @@ -15017,7 +14820,6 @@ dependencies = [ "parity-scale-codec", "sc-cli", "sc-executor", - "sc-service", "serde", "serde_json", "sp-api", @@ -15768,7 +15570,7 @@ dependencies = [ "ccm", "curve25519-dalek 3.2.0", "der-parser 8.1.0", - "elliptic-curve 0.12.3", + "elliptic-curve", "hkdf", "hmac 0.10.1", "log", @@ -15780,11 +15582,11 @@ dependencies = [ "rcgen 0.9.3", "ring", "rustls 0.19.1", - "sec1 0.3.0", + "sec1", "serde", "sha-1 0.9.8", "sha2 0.9.8", - "signature 1.6.4", + "signature", "subtle", "thiserror", "tokio", @@ -15921,7 +15723,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bitvec", "frame-benchmarking", @@ -16014,7 +15816,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "polkadot-primitives", @@ -16448,7 +16250,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "bounded-collections", "derivative", @@ -16464,7 +16266,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "frame-support", "frame-system", @@ -16475,6 +16277,7 @@ dependencies = [ "polkadot-parachain", "scale-info", "sp-arithmetic", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -16519,7 +16322,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "environmental", "frame-benchmarking", @@ -16539,7 +16342,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.9.43" -source = "git+https://github.com/paritytech/polkadot?branch=master#0db5f018c6a510c5eceb4f25be794cd0a7873bbf" +source = "git+https://github.com/paritytech/polkadot?branch=master#52595c8c7e5246172b8ee650aea496aa091af2f2" dependencies = [ "Inflector", "proc-macro2", diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index fb293365a31..436e922d1ba 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -16,7 +16,7 @@ //! The actual implementation of the validate block functionality. -use super::MemoryOptimizedValidationParams; +use super::{trie_cache, MemoryOptimizedValidationParams}; use cumulus_primitives_core::{ relay_chain::Hash as RHash, ParachainBlockData, PersistedValidationData, }; @@ -33,12 +33,10 @@ use core::{ sync::atomic::{AtomicU32, Ordering}, }; use frame_support::traits::{ExecuteBlock, ExtrinsicCall, Get, IsSubType}; -use hashbrown::hash_map::HashMap; use sp_core::storage::{ChildInfo, StateVersion}; use sp_externalities::{set_and_run_with_externalities, Externalities}; use sp_io::KillStorageResult; use sp_runtime::traits::{Block as BlockT, Extrinsic, HashFor, Header as HeaderT}; -use sp_state_machine::TrieCacheProvider; use sp_std::{ collections::btree_map::{BTreeMap, Entry}, prelude::*, @@ -46,10 +44,12 @@ use sp_std::{ vec::Vec, }; use sp_trie::MemoryDB; -use trie_db::{node::NodeOwned, TrieError}; -type TrieBackend = - sp_state_machine::TrieBackend>, HashFor, CacheProvider>>; +type TrieBackend = sp_state_machine::TrieBackend< + MemoryDB>, + HashFor, + trie_cache::CacheProvider>, +>; type Ext<'a, B> = sp_state_machine::Ext<'a, HashFor, TrieBackend>; @@ -61,83 +61,6 @@ use core::marker::PhantomData; use hash_db::Hasher; use sp_trie::NodeCodec; -struct SimpleCache<'a, H: Hasher> { - node_cache: spin::MutexGuard<'a, HashMap>>, - value_cache: spin::MutexGuard<'a, HashMap, trie_db::CachedValue>>, -} - -impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { - fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { - self.value_cache.get(key) - } - - fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { - self.value_cache.insert(key.into(), value); - } - - fn get_or_insert_node( - &mut self, - hash: as trie_db::NodeCodec>::HashOut, - fetch_node: &mut dyn FnMut() -> trie_db::Result< - NodeOwned, - H::Out, - as trie_db::NodeCodec>::Error, - >, - ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { - if self.node_cache.contains_key(&hash) { - if let Some(value) = self.node_cache.get(&hash) { - return Ok(value) - } else { - panic!("This can not happen"); - } - } - - let fetched = match fetch_node() { - Ok(new_node) => new_node, - Err(e) => return Err(e), - }; - - let (_key, value) = self.node_cache.insert_unique_unchecked(hash, fetched); - Ok(value) - } - - fn get_node( - &mut self, - hash: &H::Out, - ) -> Option<&NodeOwned< as trie_db::NodeCodec>::HashOut>> { - self.node_cache.get(hash) - } -} - -struct CacheProvider { - initialized: AtomicU32, - node_cache: spin::Mutex>>, - value_cache: spin::Mutex, trie_db::CachedValue>>, -} - -impl CacheProvider { - pub fn new() -> Self { - CacheProvider { - initialized: Default::default(), - node_cache: spin::Mutex::new(HashMap::new()), - value_cache: spin::Mutex::new(HashMap::new()), - } - } -} - -impl TrieCacheProvider for CacheProvider { - type Cache<'a> = SimpleCache<'a, H> where H: 'a; - - fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { - SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } - } - - fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } - } - - fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} -} /// Validate the given parachain block. /// /// This function is doing roughly the following: @@ -210,7 +133,7 @@ where sp_std::mem::drop(storage_proof); - let cache = CacheProvider::new(); + let cache = trie_cache::CacheProvider::new(); // We use the storage root of the `parent_head` to ensure that it is the correct root. // This is already being done above while creating the in-memory db, but let's be paranoid!! let backend = sp_state_machine::TrieBackendBuilder::new_with_cache( diff --git a/pallets/parachain-system/src/validate_block/mod.rs b/pallets/parachain-system/src/validate_block/mod.rs index e641c77f897..4e387bf8496 100644 --- a/pallets/parachain-system/src/validate_block/mod.rs +++ b/pallets/parachain-system/src/validate_block/mod.rs @@ -22,6 +22,10 @@ pub mod implementation; #[cfg(test)] mod tests; +#[cfg(not(feature = "std"))] +#[doc(hidden)] +mod trie_cache; + #[cfg(not(feature = "std"))] #[doc(hidden)] pub use bytes; diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 5e329ece65c..54975e5c8bf 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,42 +15,92 @@ // See the License for the specific language governing permissions and // limitations under the License. +use core::{ + cell::RefCell, + sync::atomic::{AtomicU32, Ordering}, +}; use environmental::PhantomData; use hash_db::Hasher; +use hashbrown::hash_map::HashMap; +use sp_state_machine::TrieCacheProvider; +use sp_std::boxed::Box; use sp_trie::NodeCodec; -use trie_db::TrieCache; +use trie_db::{node::NodeOwned, TrieCache, TrieError}; -struct SimpleCache { - _phantom: PhantomData, +pub(crate) struct SimpleCache<'a, H: Hasher> { + node_cache: spin::MutexGuard<'a, HashMap>>, + value_cache: spin::MutexGuard<'a, HashMap, trie_db::CachedValue>>, } -impl trie_db::TrieCache> for SimpleCache { +impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { - None + self.value_cache.get(key) } - fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) {} + fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { + self.value_cache.insert(key.into(), value); + } fn get_or_insert_node( &mut self, hash: as trie_db::NodeCodec>::HashOut, fetch_node: &mut dyn FnMut() -> trie_db::Result< - trie_db::node::NodeOwned, + NodeOwned, H::Out, as trie_db::NodeCodec>::Error, >, - ) -> trie_db::Result< - &trie_db::node::NodeOwned, - H::Out, - as trie_db::NodeCodec>::Error, - > { - todo!() + ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { + if self.node_cache.contains_key(&hash) { + if let Some(value) = self.node_cache.get(&hash) { + return Ok(value) + } else { + panic!("This can not happen"); + } + } + + let fetched = match fetch_node() { + Ok(new_node) => new_node, + Err(e) => return Err(e), + }; + + let (_key, value) = self.node_cache.insert_unique_unchecked(hash, fetched); + Ok(value) } fn get_node( &mut self, hash: &H::Out, - ) -> Option<&trie_db::node::NodeOwned< as trie_db::NodeCodec>::HashOut>> { - None + ) -> Option<&NodeOwned< as trie_db::NodeCodec>::HashOut>> { + self.node_cache.get(hash) + } +} + +pub(crate) struct CacheProvider { + initialized: AtomicU32, + node_cache: spin::Mutex>>, + value_cache: spin::Mutex, trie_db::CachedValue>>, +} + +impl CacheProvider { + pub fn new() -> Self { + CacheProvider { + initialized: Default::default(), + node_cache: spin::Mutex::new(HashMap::new()), + value_cache: spin::Mutex::new(HashMap::new()), + } } } + +impl TrieCacheProvider for CacheProvider { + type Cache<'a> = SimpleCache<'a, H> where H: 'a; + + fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { + SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + } + + fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { + SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + } + + fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} +} From 59b7b7fff470ab900d4a7c3a4bb33e66970e7b37 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 29 Jun 2023 15:54:12 +0200 Subject: [PATCH 08/24] Add ReadOnceBackend --- .../src/validate_block/trie_cache.rs | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 54975e5c8bf..8a22fdeaab7 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -20,9 +20,9 @@ use core::{ sync::atomic::{AtomicU32, Ordering}, }; use environmental::PhantomData; -use hash_db::Hasher; +use hash_db::{HashDB, Hasher}; use hashbrown::hash_map::HashMap; -use sp_state_machine::TrieCacheProvider; +use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; use sp_std::boxed::Box; use sp_trie::NodeCodec; use trie_db::{node::NodeOwned, TrieCache, TrieError}; @@ -104,3 +104,27 @@ impl TrieCacheProvider for CacheProvider { fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} } + +struct ReadOnceBackend { + inner: sp_trie::MemoryDB, +} + +impl ReadOnceBackend { + pub fn new(inner: sp_trie::MemoryDB) -> Self { + Self { inner } + } +} + +impl TrieBackendStorage for ReadOnceBackend { + type Overlay = sp_trie::MemoryDB; + + fn get( + &self, + key: &H::Out, + prefix: hash_db::Prefix, + ) -> Result, sp_state_machine::DefaultError> { + todo!(); + let maybe_value = self.inner.remove_and_purge(key, prefix); + Ok(maybe_value) + } +} From 07cbd1ca259fba7173dffe9c9a741aec993e5d65 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 29 Jun 2023 17:34:40 +0200 Subject: [PATCH 09/24] Add readonlybackend --- .../src/validate_block/implementation.rs | 5 +++-- .../src/validate_block/trie_cache.rs | 16 +++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index 436e922d1ba..afb68e03393 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -46,7 +46,7 @@ use sp_std::{ use sp_trie::MemoryDB; type TrieBackend = sp_state_machine::TrieBackend< - MemoryDB>, + trie_cache::ReadOnceBackend>, HashFor, trie_cache::CacheProvider>, >; @@ -133,11 +133,12 @@ where sp_std::mem::drop(storage_proof); + let wrapped = trie_cache::ReadOnceBackend::new(db); let cache = trie_cache::CacheProvider::new(); // We use the storage root of the `parent_head` to ensure that it is the correct root. // This is already being done above while creating the in-memory db, but let's be paranoid!! let backend = sp_state_machine::TrieBackendBuilder::new_with_cache( - db, + wrapped, *parent_header.state_root(), cache, ) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 8a22fdeaab7..a163d7fbd57 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -54,7 +54,7 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { if let Some(value) = self.node_cache.get(&hash) { return Ok(value) } else { - panic!("This can not happen"); + panic!("We just checked that the value is contained; qed"); } } @@ -105,13 +105,13 @@ impl TrieCacheProvider for CacheProvider { fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} } -struct ReadOnceBackend { - inner: sp_trie::MemoryDB, +pub struct ReadOnceBackend { + inner: spin::Mutex>, } impl ReadOnceBackend { pub fn new(inner: sp_trie::MemoryDB) -> Self { - Self { inner } + Self { inner: spin::Mutex::new(inner) } } } @@ -123,8 +123,10 @@ impl TrieBackendStorage for ReadOnceBackend { key: &H::Out, prefix: hash_db::Prefix, ) -> Result, sp_state_machine::DefaultError> { - todo!(); - let maybe_value = self.inner.remove_and_purge(key, prefix); - Ok(maybe_value) + let mut guard = self.inner.lock(); + if let value @ Some(_) = guard.remove_and_purge(key, prefix) { + return Ok(value) + } + TrieBackendStorage::get(&&*guard, key, prefix) } } From 2491f68f4cb0c8b0eccd94d85fb76ae623b87e37 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Fri, 30 Jun 2023 20:56:41 +0200 Subject: [PATCH 10/24] Improve naming and get_or_insert --- Cargo.lock | 394 +++++++++--------- .../src/validate_block/trie_cache.rs | 33 +- 2 files changed, 211 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0041e6372a..703973658d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -870,7 +870,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "hash-db", "log", @@ -4090,7 +4090,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", ] @@ -4113,7 +4113,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-support-procedural", @@ -4138,7 +4138,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -4186,7 +4186,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4214,7 +4214,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -4230,9 +4230,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "15.2.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2a893ede8dde2293e94dacf9c8f5db5d0506cd909257a8f0ac2b7d610baf50c" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4243,7 +4243,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-recursion", "futures", @@ -4264,7 +4264,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "bitflags", "environmental", @@ -4298,7 +4298,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "Inflector", "cfg-expr", @@ -4316,7 +4316,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4328,7 +4328,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro2", "quote", @@ -4338,7 +4338,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "cfg-if", "frame-support", @@ -4357,7 +4357,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -4372,7 +4372,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "sp-api", @@ -4381,7 +4381,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "parity-scale-codec", @@ -6521,7 +6521,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "log", @@ -6540,7 +6540,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "anyhow", "jsonrpsee", @@ -7044,7 +7044,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "frame-benchmarking", @@ -7065,7 +7065,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7083,7 +7083,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7097,7 +7097,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7115,7 +7115,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7130,7 +7130,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7146,7 +7146,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7162,7 +7162,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7176,7 +7176,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7200,7 +7200,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7220,7 +7220,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7235,7 +7235,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7254,7 +7254,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", @@ -7278,7 +7278,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7384,7 +7384,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7428,7 +7428,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7445,7 +7445,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "bitflags", "environmental", @@ -7475,7 +7475,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "bitflags", "parity-scale-codec", @@ -7488,7 +7488,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro2", "quote", @@ -7498,7 +7498,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7515,7 +7515,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7533,7 +7533,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7551,7 +7551,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7574,7 +7574,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7587,7 +7587,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7605,7 +7605,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "docify", "frame-benchmarking", @@ -7624,7 +7624,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "blake2", "frame-benchmarking", @@ -7642,7 +7642,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7665,7 +7665,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7681,7 +7681,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7701,7 +7701,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7718,7 +7718,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7732,7 +7732,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7749,7 +7749,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7768,7 +7768,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7785,7 +7785,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7801,7 +7801,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7818,7 +7818,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7836,7 +7836,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "pallet-nfts", @@ -7847,7 +7847,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7863,7 +7863,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7880,7 +7880,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7900,7 +7900,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7911,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -7928,7 +7928,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7967,7 +7967,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7984,7 +7984,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -7999,7 +7999,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8017,7 +8017,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8032,7 +8032,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8051,7 +8051,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8069,7 +8069,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8086,7 +8086,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -8107,7 +8107,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8123,7 +8123,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8142,7 +8142,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8165,7 +8165,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8176,7 +8176,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "log", "sp-arithmetic", @@ -8185,7 +8185,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "sp-api", @@ -8194,7 +8194,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8211,7 +8211,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8226,7 +8226,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8244,7 +8244,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8263,7 +8263,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-support", "frame-system", @@ -8279,7 +8279,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8295,7 +8295,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8307,7 +8307,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8324,7 +8324,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8339,7 +8339,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8355,7 +8355,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -8370,7 +8370,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-benchmarking", "frame-support", @@ -11542,7 +11542,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "log", "sp-core", @@ -11553,7 +11553,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -11581,7 +11581,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "futures-timer", @@ -11604,7 +11604,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11619,7 +11619,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11638,7 +11638,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11649,7 +11649,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -11688,7 +11688,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "fnv", "futures", @@ -11715,7 +11715,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "hash-db", "kvdb", @@ -11741,7 +11741,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -11766,7 +11766,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -11795,7 +11795,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "fork-tree", @@ -11830,7 +11830,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "jsonrpsee", @@ -11852,7 +11852,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -11886,7 +11886,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "jsonrpsee", @@ -11905,7 +11905,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11918,7 +11918,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ahash 0.8.2", "array-bytes 4.2.0", @@ -11958,7 +11958,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "finality-grandpa", "futures", @@ -11978,7 +11978,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -12001,7 +12001,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "lru 0.10.0", "parity-scale-codec", @@ -12023,7 +12023,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -12035,7 +12035,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "anyhow", "cfg-if", @@ -12052,7 +12052,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ansi_term", "futures", @@ -12068,7 +12068,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "parking_lot 0.12.1", @@ -12082,7 +12082,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12123,7 +12123,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-channel", "cid", @@ -12143,7 +12143,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "bitflags", @@ -12160,7 +12160,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ahash 0.8.2", "futures", @@ -12178,7 +12178,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12199,7 +12199,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -12233,7 +12233,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12251,7 +12251,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -12280,7 +12280,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12289,7 +12289,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "jsonrpsee", @@ -12320,7 +12320,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12339,7 +12339,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "http", "jsonrpsee", @@ -12354,7 +12354,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "futures", @@ -12380,7 +12380,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "directories", @@ -12445,7 +12445,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "log", "parity-scale-codec", @@ -12456,7 +12456,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "clap", "fs4", @@ -12470,7 +12470,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12489,7 +12489,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "libc", @@ -12508,7 +12508,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "chrono", "futures", @@ -12527,7 +12527,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ansi_term", "atty", @@ -12556,7 +12556,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12567,7 +12567,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -12593,7 +12593,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -12609,7 +12609,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-channel", "futures", @@ -13143,7 +13143,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "hash-db", "log", @@ -13163,7 +13163,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "Inflector", "blake2", @@ -13177,7 +13177,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13190,7 +13190,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "integer-sqrt", "num-traits", @@ -13204,7 +13204,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13217,7 +13217,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "sp-api", "sp-inherents", @@ -13228,7 +13228,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "log", @@ -13246,7 +13246,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "futures", @@ -13261,7 +13261,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "parity-scale-codec", @@ -13278,7 +13278,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "parity-scale-codec", @@ -13297,7 +13297,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13316,7 +13316,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "finality-grandpa", "log", @@ -13334,7 +13334,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13346,7 +13346,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "bitflags", @@ -13390,7 +13390,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "blake2b_simd", "byteorder", @@ -13403,7 +13403,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "quote", "sp-core-hashing", @@ -13413,7 +13413,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13422,7 +13422,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro2", "quote", @@ -13432,7 +13432,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "environmental", "parity-scale-codec", @@ -13443,7 +13443,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13457,7 +13457,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "bytes", "ed25519", @@ -13482,7 +13482,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "lazy_static", "sp-core", @@ -13493,7 +13493,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -13505,7 +13505,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -13514,7 +13514,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13525,7 +13525,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13543,7 +13543,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13557,7 +13557,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "sp-api", "sp-core", @@ -13567,7 +13567,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "backtrace", "lazy_static", @@ -13577,7 +13577,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "rustc-hash", "serde", @@ -13587,7 +13587,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "either", "hash256-std-hasher", @@ -13609,7 +13609,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13627,7 +13627,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "Inflector", "proc-macro-crate", @@ -13639,7 +13639,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13653,7 +13653,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13666,7 +13666,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "hash-db", "log", @@ -13687,7 +13687,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -13704,12 +13704,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13722,7 +13722,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "parity-scale-codec", @@ -13735,7 +13735,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "sp-std", @@ -13747,7 +13747,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "sp-api", "sp-runtime", @@ -13756,7 +13756,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "parity-scale-codec", @@ -13771,7 +13771,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ahash 0.8.2", "hash-db", @@ -13794,7 +13794,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13811,7 +13811,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13822,7 +13822,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13835,7 +13835,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "parity-scale-codec", "scale-info", @@ -14026,12 +14026,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -14050,7 +14050,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "hyper", "log", @@ -14062,7 +14062,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "jsonrpsee", @@ -14075,7 +14075,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14092,7 +14092,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -14118,7 +14118,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "futures", "substrate-test-utils-derive", @@ -14128,7 +14128,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -14139,7 +14139,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "ansi_term", "build-helper", @@ -14811,7 +14811,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c14ff62f0a2bca89f02f8e1cb7c1347f1d2a0baa" +source = "git+https://github.com/paritytech/substrate?branch=master#37e14070acbf432e6c82857d9fc7cd4dbd7fa303" dependencies = [ "async-trait", "clap", diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index a163d7fbd57..4f90b509c1c 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -21,7 +21,7 @@ use core::{ }; use environmental::PhantomData; use hash_db::{HashDB, Hasher}; -use hashbrown::hash_map::HashMap; +use hashbrown::hash_map::{Entry, HashMap}; use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; use sp_std::boxed::Box; use sp_trie::NodeCodec; @@ -50,21 +50,16 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { as trie_db::NodeCodec>::Error, >, ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { - if self.node_cache.contains_key(&hash) { - if let Some(value) = self.node_cache.get(&hash) { - return Ok(value) - } else { - panic!("We just checked that the value is contained; qed"); - } + match self.node_cache.entry(hash) { + Entry::Occupied(entry) => Ok(entry.into_mut()), + Entry::Vacant(entry) => { + let fetched = match fetch_node() { + Ok(new_node) => new_node, + Err(e) => return Err(e), + }; + Ok(entry.insert(fetched)) + }, } - - let fetched = match fetch_node() { - Ok(new_node) => new_node, - Err(e) => return Err(e), - }; - - let (_key, value) = self.node_cache.insert_unique_unchecked(hash, fetched); - Ok(value) } fn get_node( @@ -106,12 +101,12 @@ impl TrieCacheProvider for CacheProvider { } pub struct ReadOnceBackend { - inner: spin::Mutex>, + memory_db: spin::Mutex>, } impl ReadOnceBackend { - pub fn new(inner: sp_trie::MemoryDB) -> Self { - Self { inner: spin::Mutex::new(inner) } + pub fn new(memory_db: sp_trie::MemoryDB) -> Self { + Self { memory_db: spin::Mutex::new(memory_db) } } } @@ -123,7 +118,7 @@ impl TrieBackendStorage for ReadOnceBackend { key: &H::Out, prefix: hash_db::Prefix, ) -> Result, sp_state_machine::DefaultError> { - let mut guard = self.inner.lock(); + let mut guard = self.memory_db.lock(); if let value @ Some(_) = guard.remove_and_purge(key, prefix) { return Ok(value) } From 869138ac8f8d0ccd06541c2ec7dd34fcdf72c21d Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Fri, 30 Jun 2023 21:32:53 +0200 Subject: [PATCH 11/24] Stylistic improvements --- .../parachain-system/src/validate_block/implementation.rs | 8 ++++---- pallets/parachain-system/src/validate_block/trie_cache.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index afb68e03393..f6fbe886fac 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -133,14 +133,14 @@ where sp_std::mem::drop(storage_proof); - let wrapped = trie_cache::ReadOnceBackend::new(db); - let cache = trie_cache::CacheProvider::new(); + let read_once_backend = trie_cache::ReadOnceBackend::new(db); + let cache_provider = trie_cache::CacheProvider::new(); // We use the storage root of the `parent_head` to ensure that it is the correct root. // This is already being done above while creating the in-memory db, but let's be paranoid!! let backend = sp_state_machine::TrieBackendBuilder::new_with_cache( - wrapped, + read_once_backend, *parent_header.state_root(), - cache, + cache_provider, ) .build(); diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 4f90b509c1c..68d45b3bc19 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -80,8 +80,8 @@ impl CacheProvider { pub fn new() -> Self { CacheProvider { initialized: Default::default(), - node_cache: spin::Mutex::new(HashMap::new()), - value_cache: spin::Mutex::new(HashMap::new()), + node_cache: Default::default(), + value_cache: Default::default(), } } } From 9e77c4da6be0996147711f2fcb3951fdd40d9874 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Fri, 30 Jun 2023 22:03:05 +0200 Subject: [PATCH 12/24] Improve naming, add docs --- .../src/validate_block/trie_cache.rs | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 68d45b3bc19..bc934098ef2 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -27,12 +27,15 @@ use sp_std::boxed::Box; use sp_trie::NodeCodec; use trie_db::{node::NodeOwned, TrieCache, TrieError}; -pub(crate) struct SimpleCache<'a, H: Hasher> { +/// Special purpose trie cache implementation that is able to cache an unlimited number +/// of values. To be used in `validate_block` to serve values and nodes that +/// have already been loaded and decoded from the storage proof. +pub(crate) struct SimpleTrieCache<'a, H: Hasher> { node_cache: spin::MutexGuard<'a, HashMap>>, value_cache: spin::MutexGuard<'a, HashMap, trie_db::CachedValue>>, } -impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { +impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> { fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { self.value_cache.get(key) } @@ -70,36 +73,37 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleCache<'a, H> { } } +/// Provider for [`SimpleTrieCache`] instances. pub(crate) struct CacheProvider { - initialized: AtomicU32, node_cache: spin::Mutex>>, value_cache: spin::Mutex, trie_db::CachedValue>>, } impl CacheProvider { + /// Constructs a new instance of CacheProvider with an uninitialized state + /// and empty node and value caches. pub fn new() -> Self { - CacheProvider { - initialized: Default::default(), - node_cache: Default::default(), - value_cache: Default::default(), - } + CacheProvider { node_cache: Default::default(), value_cache: Default::default() } } } impl TrieCacheProvider for CacheProvider { - type Cache<'a> = SimpleCache<'a, H> where H: 'a; + type Cache<'a> = SimpleTrieCache<'a, H> where H: 'a; fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { - SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + SimpleTrieCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } } fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - SimpleCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + SimpleTrieCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } } fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} } +/// Wrapper for a [`sp_trie::MemoryDB`] which allows reading of values exactly once. +/// +/// After each read, the read value is removed from the underlying [`sp_trie::MemoryDB`]. pub struct ReadOnceBackend { memory_db: spin::Mutex>, } From abef4826665d6908a558e5b72dcc88c250931c3d Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 3 Jul 2023 14:28:03 +0200 Subject: [PATCH 13/24] Revert unwanted changes --- .../src/blockchain_rpc_client.rs | 2 +- .../src/rpc_client.rs | 2 +- pallets/parachain-system/Cargo.toml | 36 +++++++++++++++---- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs b/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs index a766dcec395..afe174202c5 100644 --- a/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs +++ b/client/relay-chain-minimal-node/src/blockchain_rpc_client.rs @@ -21,7 +21,7 @@ use cumulus_relay_chain_rpc_interface::RelayChainRpcClient; use futures::{Stream, StreamExt}; use polkadot_core_primitives::{Block, BlockNumber, Hash, Header}; use polkadot_overseer::RuntimeApiSubsystemClient; -use polkadot_primitives::vstaging::slashing; +use polkadot_primitives::slashing; use sc_authority_discovery::{AuthorityDiscovery, Error as AuthorityDiscoveryError}; use sp_api::{ApiError, RuntimeApiInfo}; diff --git a/client/relay-chain-rpc-interface/src/rpc_client.rs b/client/relay-chain-rpc-interface/src/rpc_client.rs index bda843af614..a352269104f 100644 --- a/client/relay-chain-rpc-interface/src/rpc_client.rs +++ b/client/relay-chain-rpc-interface/src/rpc_client.rs @@ -30,7 +30,7 @@ use sp_storage::StorageKey; use cumulus_primitives_core::{ relay_chain::{ - vstaging::slashing, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, + slashing, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash as RelayHash, Header as RelayHeader, InboundHrmpMessage, OccupiedCoreAssumption, PvfCheckStatement, ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode, diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index be9b7f88bf1..5b431fa0710 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -12,6 +12,10 @@ environmental = { version = "1.1.4", default-features = false } impl-trait-for-tuples = "0.2.1" log = { version = "0.4.19", default-features = false } scale-info = { version = "2.8.0", default-features = false, features = ["derive"] } +trie-db = { version = "0.27.1", default-features = false } +hash-db = { version = "0.16.0", default-features = false } +spin = "0.9.8" +hashbrown = "0.14.0" # Substrate frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } @@ -34,10 +38,6 @@ xcm = { git = "https://github.com/paritytech/polkadot", default-features = false cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false } cumulus-primitives-core = { path = "../../primitives/core", default-features = false } cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false } -trie-db = { version = "0.27.1", default-features = false } -hash-db = { version = "0.16.0", default-features = false } -spin = "0.9.8" -hashbrown = "0.14.0" [dev-dependencies] hex-literal = "0.4.1" @@ -54,9 +54,31 @@ cumulus-test-client = { path = "../../test/client" } cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } [features] -default = [] -std = ["codec/std", "environmental/std", "log/std", "scale-info/std", "cumulus-pallet-parachain-system-proc-macro/std", "cumulus-primitives-core/std", "cumulus-primitives-parachain-inherent/std", "frame-support/std", "frame-system/std", "sp-core/std", "sp-externalities/std", "sp-io/std", "sp-runtime/std", "sp-state-machine/std", "sp-std/std", "sp-trie/std", "xcm/std", "trie-db/std", "hash-db/std"] +default = [ "std" ] +std = [ + "codec/std", + "environmental/std", + "log/std", + "scale-info/std", + "cumulus-pallet-parachain-system-proc-macro/std", + "cumulus-primitives-core/std", + "cumulus-primitives-parachain-inherent/std", + "frame-support/std", + "frame-system/std", + "sp-core/std", + "sp-externalities/std", + "sp-io/std", + "sp-runtime/std", + "sp-state-machine/std", + "sp-std/std", + "sp-trie/std", + "xcm/std", + "trie-db/std", + "hash-db/std" +] -runtime-benchmarks = ["sp-runtime/runtime-benchmarks"] +runtime-benchmarks = [ + "sp-runtime/runtime-benchmarks" +] try-runtime = ["frame-support/try-runtime"] From 94225418cb9e60fb3812d25520c902db03663a24 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 3 Jul 2023 14:50:56 +0200 Subject: [PATCH 14/24] Remove unused dependencies --- .../src/validate_block/implementation.rs | 13 +------------ .../src/validate_block/trie_cache.rs | 5 ----- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index f6fbe886fac..5d69166fda0 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -26,23 +26,12 @@ use polkadot_parachain::primitives::{HeadData, RelayChainBlockNumber, Validation use codec::Encode; -pub extern crate alloc; -use alloc::string::ToString; -use core::{ - cell::RefCell, - sync::atomic::{AtomicU32, Ordering}, -}; use frame_support::traits::{ExecuteBlock, ExtrinsicCall, Get, IsSubType}; use sp_core::storage::{ChildInfo, StateVersion}; use sp_externalities::{set_and_run_with_externalities, Externalities}; use sp_io::KillStorageResult; use sp_runtime::traits::{Block as BlockT, Extrinsic, HashFor, Header as HeaderT}; -use sp_std::{ - collections::btree_map::{BTreeMap, Entry}, - prelude::*, - sync::Arc, - vec::Vec, -}; +use sp_std::prelude::*; use sp_trie::MemoryDB; type TrieBackend = sp_state_machine::TrieBackend< diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index bc934098ef2..cd92fddf0a3 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,11 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -use core::{ - cell::RefCell, - sync::atomic::{AtomicU32, Ordering}, -}; -use environmental::PhantomData; use hash_db::{HashDB, Hasher}; use hashbrown::hash_map::{Entry, HashMap}; use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; From 297b5a3f0538a2907ac8e95628c91c65ab96c0be Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 3 Jul 2023 14:54:00 +0200 Subject: [PATCH 15/24] Improve docs --- pallets/parachain-system/src/validate_block/trie_cache.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index cd92fddf0a3..771292da9a9 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -68,7 +68,7 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> } } -/// Provider for [`SimpleTrieCache`] instances. +/// Provider of [`SimpleTrieCache`] instances. pub(crate) struct CacheProvider { node_cache: spin::Mutex>>, value_cache: spin::Mutex, trie_db::CachedValue>>, @@ -99,6 +99,8 @@ impl TrieCacheProvider for CacheProvider { /// Wrapper for a [`sp_trie::MemoryDB`] which allows reading of values exactly once. /// /// After each read, the read value is removed from the underlying [`sp_trie::MemoryDB`]. +/// This is done because we expect that the requested item is delivered by the [`SimpleTrieCache`] +/// next time. pub struct ReadOnceBackend { memory_db: spin::Mutex>, } From aa13d510e8d136ece427014dae05ed2012ed4783 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 3 Jul 2023 17:52:09 +0200 Subject: [PATCH 16/24] Use RefCell --- pallets/parachain-system/Cargo.toml | 1 - .../src/validate_block/trie_cache.rs | 35 ++++++++++++++----- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index 5b431fa0710..7c0c94acdf7 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -14,7 +14,6 @@ log = { version = "0.4.19", default-features = false } scale-info = { version = "2.8.0", default-features = false, features = ["derive"] } trie-db = { version = "0.27.1", default-features = false } hash-db = { version = "0.16.0", default-features = false } -spin = "0.9.8" hashbrown = "0.14.0" # Substrate diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 771292da9a9..d3d2daf29e1 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,6 +15,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +extern crate alloc; + +use core::cell::RefCell; use hash_db::{HashDB, Hasher}; use hashbrown::hash_map::{Entry, HashMap}; use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; @@ -26,8 +29,8 @@ use trie_db::{node::NodeOwned, TrieCache, TrieError}; /// of values. To be used in `validate_block` to serve values and nodes that /// have already been loaded and decoded from the storage proof. pub(crate) struct SimpleTrieCache<'a, H: Hasher> { - node_cache: spin::MutexGuard<'a, HashMap>>, - value_cache: spin::MutexGuard<'a, HashMap, trie_db::CachedValue>>, + node_cache: core::cell::RefMut<'a, HashMap>>, + value_cache: core::cell::RefMut<'a, HashMap, trie_db::CachedValue>>, } impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> { @@ -70,8 +73,8 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> /// Provider of [`SimpleTrieCache`] instances. pub(crate) struct CacheProvider { - node_cache: spin::Mutex>>, - value_cache: spin::Mutex, trie_db::CachedValue>>, + node_cache: RefCell>>, + value_cache: RefCell, trie_db::CachedValue>>, } impl CacheProvider { @@ -86,31 +89,45 @@ impl TrieCacheProvider for CacheProvider { type Cache<'a> = SimpleTrieCache<'a, H> where H: 'a; fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { - SimpleTrieCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + SimpleTrieCache { + value_cache: self.value_cache.borrow_mut(), + node_cache: self.node_cache.borrow_mut(), + } } fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - SimpleTrieCache { value_cache: self.value_cache.lock(), node_cache: self.node_cache.lock() } + SimpleTrieCache { + value_cache: self.value_cache.borrow_mut(), + node_cache: self.node_cache.borrow_mut(), + } } fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} } +// This is safe here since we are single-threaded in WASM +unsafe impl Send for CacheProvider {} +unsafe impl Sync for CacheProvider {} + /// Wrapper for a [`sp_trie::MemoryDB`] which allows reading of values exactly once. /// /// After each read, the read value is removed from the underlying [`sp_trie::MemoryDB`]. /// This is done because we expect that the requested item is delivered by the [`SimpleTrieCache`] /// next time. pub struct ReadOnceBackend { - memory_db: spin::Mutex>, + memory_db: RefCell>, } impl ReadOnceBackend { pub fn new(memory_db: sp_trie::MemoryDB) -> Self { - Self { memory_db: spin::Mutex::new(memory_db) } + Self { memory_db: RefCell::new(memory_db) } } } +// This is safe here since since we are single-threaded in WASM +unsafe impl Send for ReadOnceBackend {} +unsafe impl Sync for ReadOnceBackend {} + impl TrieBackendStorage for ReadOnceBackend { type Overlay = sp_trie::MemoryDB; @@ -119,7 +136,7 @@ impl TrieBackendStorage for ReadOnceBackend { key: &H::Out, prefix: hash_db::Prefix, ) -> Result, sp_state_machine::DefaultError> { - let mut guard = self.memory_db.lock(); + let mut guard = self.memory_db.borrow_mut(); if let value @ Some(_) = guard.remove_and_purge(key, prefix) { return Ok(value) } From 9fb05c0200c2325ef06a39d5fa7b9909dd65e602 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Mon, 3 Jul 2023 18:45:01 +0200 Subject: [PATCH 17/24] lockfile --- Cargo.lock | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8aced3926e3..c8d569ed798 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2799,7 +2799,6 @@ dependencies = [ "sp-tracing", "sp-trie", "sp-version", - "spin 0.9.8", "trie-db", "xcm", ] @@ -13857,9 +13856,6 @@ name = "spin" version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -dependencies = [ - "lock_api", -] [[package]] name = "spinners" From 8148892104f6d8a4c723a263c29ff9d922e3235c Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 4 Jul 2023 12:09:33 +0200 Subject: [PATCH 18/24] Remove ReadOnceBackend --- .../src/validate_block/implementation.rs | 5 ++- .../src/validate_block/trie_cache.rs | 35 ------------------- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index 5d69166fda0..e565c3031b1 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -35,7 +35,7 @@ use sp_std::prelude::*; use sp_trie::MemoryDB; type TrieBackend = sp_state_machine::TrieBackend< - trie_cache::ReadOnceBackend>, + MemoryDB>, HashFor, trie_cache::CacheProvider>, >; @@ -122,12 +122,11 @@ where sp_std::mem::drop(storage_proof); - let read_once_backend = trie_cache::ReadOnceBackend::new(db); let cache_provider = trie_cache::CacheProvider::new(); // We use the storage root of the `parent_head` to ensure that it is the correct root. // This is already being done above while creating the in-memory db, but let's be paranoid!! let backend = sp_state_machine::TrieBackendBuilder::new_with_cache( - read_once_backend, + db, *parent_header.state_root(), cache_provider, ) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index d3d2daf29e1..6cf9983c107 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -108,38 +108,3 @@ impl TrieCacheProvider for CacheProvider { // This is safe here since we are single-threaded in WASM unsafe impl Send for CacheProvider {} unsafe impl Sync for CacheProvider {} - -/// Wrapper for a [`sp_trie::MemoryDB`] which allows reading of values exactly once. -/// -/// After each read, the read value is removed from the underlying [`sp_trie::MemoryDB`]. -/// This is done because we expect that the requested item is delivered by the [`SimpleTrieCache`] -/// next time. -pub struct ReadOnceBackend { - memory_db: RefCell>, -} - -impl ReadOnceBackend { - pub fn new(memory_db: sp_trie::MemoryDB) -> Self { - Self { memory_db: RefCell::new(memory_db) } - } -} - -// This is safe here since since we are single-threaded in WASM -unsafe impl Send for ReadOnceBackend {} -unsafe impl Sync for ReadOnceBackend {} - -impl TrieBackendStorage for ReadOnceBackend { - type Overlay = sp_trie::MemoryDB; - - fn get( - &self, - key: &H::Out, - prefix: hash_db::Prefix, - ) -> Result, sp_state_machine::DefaultError> { - let mut guard = self.memory_db.borrow_mut(); - if let value @ Some(_) = guard.remove_and_purge(key, prefix) { - return Ok(value) - } - TrieBackendStorage::get(&&*guard, key, prefix) - } -} From c2832684b46cffab1b4d82e81f830a706341faeb Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 5 Jul 2023 10:48:42 +0200 Subject: [PATCH 19/24] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- .../parachain-system/src/validate_block/trie_cache.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 6cf9983c107..c1af170cd73 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,9 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -extern crate alloc; - -use core::cell::RefCell; +use sp_std::cell::{RefCell, RefMut}; use hash_db::{HashDB, Hasher}; use hashbrown::hash_map::{Entry, HashMap}; use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; @@ -54,11 +52,7 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> match self.node_cache.entry(hash) { Entry::Occupied(entry) => Ok(entry.into_mut()), Entry::Vacant(entry) => { - let fetched = match fetch_node() { - Ok(new_node) => new_node, - Err(e) => return Err(e), - }; - Ok(entry.insert(fetched)) + Ok(entry.insert(fetch_node()?)) }, } } From 7f1d06e1a0948ea17f6707733049b221ac1f6a2d Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 5 Jul 2023 11:06:48 +0200 Subject: [PATCH 20/24] Code review --- Cargo.lock | 11 ------ pallets/parachain-system/Cargo.toml | 1 - .../src/validate_block/implementation.rs | 4 --- .../src/validate_block/trie_cache.rs | 34 +++++++++---------- 4 files changed, 17 insertions(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cba447982ed..900891da8a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,12 +149,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "allocator-api2" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56fc6cf8dc8c4158eed8649f9b8b0ea1518eb62b544fe9490d66fa0b349eafe9" - [[package]] name = "always-assert" version = "0.1.2" @@ -2779,7 +2773,6 @@ dependencies = [ "frame-support", "frame-system", "hash-db", - "hashbrown 0.14.0", "hex-literal 0.4.1", "impl-trait-for-tuples", "lazy_static", @@ -4783,10 +4776,6 @@ name = "hashbrown" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" -dependencies = [ - "ahash 0.8.2", - "allocator-api2", -] [[package]] name = "heck" diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index 80aa82f9ef2..e7074e9d7d3 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -13,7 +13,6 @@ impl-trait-for-tuples = "0.2.1" log = { version = "0.4.19", default-features = false } trie-db = { version = "0.27.1", default-features = false } hash-db = { version = "0.16.0", default-features = false } -hashbrown = "0.14.0" scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } # Substrate diff --git a/pallets/parachain-system/src/validate_block/implementation.rs b/pallets/parachain-system/src/validate_block/implementation.rs index e565c3031b1..71a6338dcd3 100644 --- a/pallets/parachain-system/src/validate_block/implementation.rs +++ b/pallets/parachain-system/src/validate_block/implementation.rs @@ -46,10 +46,6 @@ fn with_externalities R, R>(f: F) -> R { sp_externalities::with_externalities(f).expect("Environmental externalities not set.") } -use core::marker::PhantomData; -use hash_db::Hasher; -use sp_trie::NodeCodec; - /// Validate the given parachain block. /// /// This function is doing roughly the following: diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index c1af170cd73..c35e81d4f0c 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,23 +15,25 @@ // See the License for the specific language governing permissions and // limitations under the License. -use sp_std::cell::{RefCell, RefMut}; use hash_db::{HashDB, Hasher}; -use hashbrown::hash_map::{Entry, HashMap}; use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; -use sp_std::boxed::Box; +use sp_std::{ + boxed::Box, + cell::{RefCell, RefMut}, + collections::btree_map::{BTreeMap, Entry}, +}; use sp_trie::NodeCodec; -use trie_db::{node::NodeOwned, TrieCache, TrieError}; +use trie_db::{node::NodeOwned, TrieError}; /// Special purpose trie cache implementation that is able to cache an unlimited number /// of values. To be used in `validate_block` to serve values and nodes that /// have already been loaded and decoded from the storage proof. -pub(crate) struct SimpleTrieCache<'a, H: Hasher> { - node_cache: core::cell::RefMut<'a, HashMap>>, - value_cache: core::cell::RefMut<'a, HashMap, trie_db::CachedValue>>, +pub(crate) struct TrieCache<'a, H: Hasher> { + node_cache: RefMut<'a, BTreeMap>>, + value_cache: RefMut<'a, BTreeMap, trie_db::CachedValue>>, } -impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> { +impl<'a, H: Hasher> trie_db::TrieCache> for TrieCache<'a, H> { fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { self.value_cache.get(key) } @@ -51,9 +53,7 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> ) -> trie_db::Result<&NodeOwned, H::Out, as trie_db::NodeCodec>::Error> { match self.node_cache.entry(hash) { Entry::Occupied(entry) => Ok(entry.into_mut()), - Entry::Vacant(entry) => { - Ok(entry.insert(fetch_node()?)) - }, + Entry::Vacant(entry) => Ok(entry.insert(fetch_node()?)), } } @@ -65,10 +65,10 @@ impl<'a, H: Hasher> trie_db::TrieCache> for SimpleTrieCache<'a, H> } } -/// Provider of [`SimpleTrieCache`] instances. +/// Provider of [`TrieCache`] instances. pub(crate) struct CacheProvider { - node_cache: RefCell>>, - value_cache: RefCell, trie_db::CachedValue>>, + node_cache: RefCell>>, + value_cache: RefCell, trie_db::CachedValue>>, } impl CacheProvider { @@ -80,17 +80,17 @@ impl CacheProvider { } impl TrieCacheProvider for CacheProvider { - type Cache<'a> = SimpleTrieCache<'a, H> where H: 'a; + type Cache<'a> = TrieCache<'a, H> where H: 'a; fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { - SimpleTrieCache { + TrieCache { value_cache: self.value_cache.borrow_mut(), node_cache: self.node_cache.borrow_mut(), } } fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - SimpleTrieCache { + TrieCache { value_cache: self.value_cache.borrow_mut(), node_cache: self.node_cache.borrow_mut(), } From 56e24a62394d14d8ef906daf6cedc8fbca3f84ed Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 5 Jul 2023 17:10:23 +0200 Subject: [PATCH 21/24] Do not use value cache when calculating storage roots --- .../src/validate_block/trie_cache.rs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index c35e81d4f0c..f0ebe58bcba 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -30,16 +30,18 @@ use trie_db::{node::NodeOwned, TrieError}; /// have already been loaded and decoded from the storage proof. pub(crate) struct TrieCache<'a, H: Hasher> { node_cache: RefMut<'a, BTreeMap>>, - value_cache: RefMut<'a, BTreeMap, trie_db::CachedValue>>, + value_cache: Option, trie_db::CachedValue>>>, } impl<'a, H: Hasher> trie_db::TrieCache> for TrieCache<'a, H> { fn lookup_value_for_key(&mut self, key: &[u8]) -> Option<&trie_db::CachedValue> { - self.value_cache.get(key) + self.value_cache.as_ref().and_then(|cache| cache.get(key)) } fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { - self.value_cache.insert(key.into(), value); + if let Some(ref mut value_cache) = self.value_cache { + value_cache.insert(key.into(), value); + } } fn get_or_insert_node( @@ -84,16 +86,17 @@ impl TrieCacheProvider for CacheProvider { fn as_trie_db_cache(&self, _storage_root: ::Out) -> Self::Cache<'_> { TrieCache { - value_cache: self.value_cache.borrow_mut(), + value_cache: Some(self.value_cache.borrow_mut()), node_cache: self.node_cache.borrow_mut(), } } fn as_trie_db_mut_cache(&self) -> Self::Cache<'_> { - TrieCache { - value_cache: self.value_cache.borrow_mut(), - node_cache: self.node_cache.borrow_mut(), - } + // This method is called when we calculate the storage root. + // Since we are using a simplified cache architecture, + // we do not have separate key spaces for different storage roots. + // The value cache is therefore disabled here. + TrieCache { value_cache: None, node_cache: self.node_cache.borrow_mut() } } fn merge<'a>(&'a self, _other: Self::Cache<'a>, _new_root: ::Out) {} From 6bdbb82c3e03b77cf6d42cf666067db14901b084 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 18 Jul 2023 10:52:18 +0200 Subject: [PATCH 22/24] Apply suggestions from code review Co-authored-by: Davide Galassi --- .../parachain-system/src/validate_block/trie_cache.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index f0ebe58bcba..8f888f401ca 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -15,15 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -use hash_db::{HashDB, Hasher}; -use sp_state_machine::{TrieBackendStorage, TrieCacheProvider}; +use sp_state_machine::TrieCacheProvider; use sp_std::{ boxed::Box, cell::{RefCell, RefMut}, collections::btree_map::{BTreeMap, Entry}, }; use sp_trie::NodeCodec; -use trie_db::{node::NodeOwned, TrieError}; +use trie_db::{node::NodeOwned, Hasher}; /// Special purpose trie cache implementation that is able to cache an unlimited number /// of values. To be used in `validate_block` to serve values and nodes that @@ -39,9 +38,7 @@ impl<'a, H: Hasher> trie_db::TrieCache> for TrieCache<'a, H> { } fn cache_value_for_key(&mut self, key: &[u8], value: trie_db::CachedValue) { - if let Some(ref mut value_cache) = self.value_cache { - value_cache.insert(key.into(), value); - } + self.value_cache.as_mut().and_then(|cache| cache.insert(key.into(), value)); } fn get_or_insert_node( From 827f6e43419f30f65342f160d3ecaba06bcf6546 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 18 Jul 2023 10:54:00 +0200 Subject: [PATCH 23/24] Remove hash-db dep --- Cargo.lock | 1 - pallets/parachain-system/Cargo.toml | 2 -- 2 files changed, 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 900891da8a1..b6773bb63f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2772,7 +2772,6 @@ dependencies = [ "environmental", "frame-support", "frame-system", - "hash-db", "hex-literal 0.4.1", "impl-trait-for-tuples", "lazy_static", diff --git a/pallets/parachain-system/Cargo.toml b/pallets/parachain-system/Cargo.toml index e7074e9d7d3..61660d4de81 100644 --- a/pallets/parachain-system/Cargo.toml +++ b/pallets/parachain-system/Cargo.toml @@ -12,7 +12,6 @@ environmental = { version = "1.1.4", default-features = false } impl-trait-for-tuples = "0.2.1" log = { version = "0.4.19", default-features = false } trie-db = { version = "0.27.1", default-features = false } -hash-db = { version = "0.16.0", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } # Substrate @@ -72,7 +71,6 @@ std = [ "sp-trie/std", "xcm/std", "trie-db/std", - "hash-db/std" ] runtime-benchmarks = [ From 4b47f068e466cf8704591409e3cecbe670d734ca Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 19 Jul 2023 13:13:02 +0200 Subject: [PATCH 24/24] Update pallets/parachain-system/src/validate_block/trie_cache.rs Co-authored-by: Anton --- pallets/parachain-system/src/validate_block/trie_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/parachain-system/src/validate_block/trie_cache.rs b/pallets/parachain-system/src/validate_block/trie_cache.rs index 8f888f401ca..57876b87876 100644 --- a/pallets/parachain-system/src/validate_block/trie_cache.rs +++ b/pallets/parachain-system/src/validate_block/trie_cache.rs @@ -71,7 +71,7 @@ pub(crate) struct CacheProvider { } impl CacheProvider { - /// Constructs a new instance of CacheProvider with an uninitialized state + /// Constructs a new instance of [`CacheProvider`] with an uninitialized state /// and empty node and value caches. pub fn new() -> Self { CacheProvider { node_cache: Default::default(), value_cache: Default::default() }