From 9cdfbb4c8d3144f473ece5c326a717ade1895744 Mon Sep 17 00:00:00 2001 From: Web3 Smith <31099392+Wizdave97@users.noreply.github.com> Date: Wed, 4 May 2022 12:26:32 +0100 Subject: [PATCH] Update MMR Runtime API - add proof batching (#4700) * update runtime apis * rebase * update apis * update apis * minor fix * minor fix * minro fixes * update api * style fix * update lockfile for {"substrate"} Co-authored-by: acatangiu Co-authored-by: parity-processbot <> --- polkadot/Cargo.lock | 346 +++++++++--------- .../bridges/bin/millau/runtime/src/lib.rs | 52 ++- .../bridges/bin/rialto/runtime/src/lib.rs | 49 ++- polkadot/runtime/kusama/src/lib.rs | 31 +- polkadot/runtime/polkadot/src/lib.rs | 32 +- polkadot/runtime/rococo/src/lib.rs | 48 ++- polkadot/runtime/test-runtime/src/lib.rs | 31 +- polkadot/runtime/westend/src/lib.rs | 39 +- 8 files changed, 392 insertions(+), 236 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 4e7cf0a41c..fd5cc9d8a5 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -433,7 +433,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "beefy-primitives", "fnv", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -490,12 +490,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -2149,7 +2149,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", ] @@ -2167,7 +2167,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -2189,7 +2189,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "Inflector", "chrono", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2250,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2266,7 +2266,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -2294,7 +2294,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "bitflags", "frame-metadata", @@ -2324,7 +2324,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2336,7 +2336,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -2348,7 +2348,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro2", "quote", @@ -2358,7 +2358,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2381,7 +2381,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -2392,7 +2392,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "log", @@ -2409,7 +2409,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -2424,7 +2424,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "sp-api", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "sp-api", @@ -2629,7 +2629,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "chrono", "frame-election-provider-support", @@ -5098,7 +5098,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5112,7 +5112,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5187,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-election-provider-support", "frame-support", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5222,7 +5222,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "beefy-primitives", "frame-support", @@ -5238,7 +5238,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -5261,7 +5261,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5362,7 +5362,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5395,7 +5395,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5418,7 +5418,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5431,7 +5431,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5449,7 +5449,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5464,7 +5464,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5487,7 +5487,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5523,7 +5523,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5540,7 +5540,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5557,7 +5557,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5575,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5592,7 +5592,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5607,7 +5607,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5636,7 +5636,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5655,7 +5655,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5672,7 +5672,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5695,7 +5695,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5711,7 +5711,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5726,7 +5726,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5741,7 +5741,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5757,7 +5757,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5778,7 +5778,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5794,7 +5794,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5808,7 +5808,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5831,7 +5831,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -5842,7 +5842,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "sp-arithmetic", @@ -5851,7 +5851,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5865,7 +5865,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5883,7 +5883,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5902,7 +5902,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-support", "frame-system", @@ -5919,7 +5919,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5936,7 +5936,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5947,7 +5947,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5964,7 +5964,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -5980,7 +5980,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-benchmarking", "frame-support", @@ -8526,7 +8526,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "sp-core", @@ -8915,7 +8915,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -8942,7 +8942,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "futures-timer", @@ -8965,7 +8965,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8981,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8998,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9009,7 +9009,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "chrono", "clap", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "fnv", "futures 0.3.21", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "hash-db", "kvdb", @@ -9101,7 +9101,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -9125,7 +9125,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "fork-tree", @@ -9168,7 +9168,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9192,7 +9192,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9205,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -9230,7 +9230,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "sc-client-api", "sp-authorship", @@ -9241,7 +9241,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "lazy_static", "lru 0.7.5", @@ -9268,7 +9268,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "environmental", "parity-scale-codec", @@ -9285,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "parity-scale-codec", @@ -9300,7 +9300,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9318,7 +9318,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ahash", "async-trait", @@ -9358,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "finality-grandpa", "futures 0.3.21", @@ -9382,7 +9382,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ansi_term", "futures 0.3.21", @@ -9399,7 +9399,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "hex", @@ -9414,7 +9414,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "asynchronous-codec", @@ -9465,7 +9465,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "libp2p", @@ -9478,7 +9478,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ahash", "futures 0.3.21", @@ -9495,7 +9495,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "bitflags", "either", @@ -9524,7 +9524,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "bytes 1.1.0", "fnv", @@ -9552,7 +9552,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "libp2p", @@ -9565,7 +9565,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9574,7 +9574,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "hash-db", @@ -9605,7 +9605,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9631,7 +9631,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "jsonrpc-core", @@ -9648,7 +9648,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "directories", @@ -9714,7 +9714,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "parity-scale-codec", @@ -9728,7 +9728,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -9749,7 +9749,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "libc", @@ -9768,7 +9768,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "chrono", "futures 0.3.21", @@ -9786,7 +9786,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ansi_term", "atty", @@ -9817,7 +9817,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9828,7 +9828,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9855,7 +9855,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "log", @@ -9868,7 +9868,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "futures-timer", @@ -10345,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "hash-db", "log", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "blake2", "proc-macro-crate 1.1.3", @@ -10374,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10387,7 +10387,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "integer-sqrt", "num-traits", @@ -10402,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10415,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "parity-scale-codec", @@ -10427,7 +10427,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "sp-api", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "log", @@ -10457,7 +10457,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -10476,7 +10476,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "merlin", @@ -10499,7 +10499,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10513,7 +10513,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "base58", "bitflags", @@ -10571,7 +10571,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "blake2", "byteorder", @@ -10585,7 +10585,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro2", "quote", @@ -10596,7 +10596,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10605,7 +10605,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro2", "quote", @@ -10615,7 +10615,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "environmental", "parity-scale-codec", @@ -10626,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "finality-grandpa", "log", @@ -10644,7 +10644,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10658,7 +10658,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "hash-db", @@ -10683,7 +10683,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "lazy_static", "sp-core", @@ -10694,7 +10694,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -10711,7 +10711,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "thiserror", "zstd", @@ -10720,7 +10720,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "parity-scale-codec", @@ -10735,7 +10735,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10749,7 +10749,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "sp-api", "sp-core", @@ -10759,7 +10759,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "backtrace", "lazy_static", @@ -10769,7 +10769,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "rustc-hash", "serde", @@ -10779,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "either", "hash256-std-hasher", @@ -10801,7 +10801,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10818,7 +10818,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -10830,7 +10830,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "parity-scale-codec", @@ -10844,7 +10844,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "serde", "serde_json", @@ -10853,7 +10853,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "scale-info", @@ -10878,7 +10878,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "hash-db", "log", @@ -10900,12 +10900,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10918,7 +10918,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "log", "sp-core", @@ -10931,7 +10931,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures-timer", @@ -10947,7 +10947,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "sp-std", @@ -10959,7 +10959,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "sp-api", "sp-runtime", @@ -10968,7 +10968,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "log", @@ -10984,7 +10984,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "hash-db", "memory-db", @@ -11000,7 +11000,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11017,7 +11017,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11028,7 +11028,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "impl-trait-for-tuples", "log", @@ -11220,7 +11220,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "platforms", ] @@ -11228,7 +11228,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", @@ -11250,7 +11250,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures-util", "hyper", @@ -11263,7 +11263,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11286,7 +11286,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "async-trait", "futures 0.3.21", @@ -11312,7 +11312,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -11322,7 +11322,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11333,7 +11333,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "ansi_term", "build-helper", @@ -12070,7 +12070,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c2fc4b3ca0d7a15cc3f9cb1e5f441d99ec8d6e0b" +source = "git+https://github.com/paritytech/substrate?branch=master#636ffa4fcd65c0c42f341dd870647302eb50d557" dependencies = [ "clap", "jsonrpsee", @@ -12139,9 +12139,9 @@ version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.3", - "rand 0.7.3", + "rand 0.8.5", "static_assertions", ] diff --git a/polkadot/bridges/bin/millau/runtime/src/lib.rs b/polkadot/bridges/bin/millau/runtime/src/lib.rs index fab223611d..f1e8befdcc 100644 --- a/polkadot/bridges/bin/millau/runtime/src/lib.rs +++ b/polkadot/bridges/bin/millau/runtime/src/lib.rs @@ -40,7 +40,8 @@ use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; use sp_mmr_primitives::{ - DataOrHash, EncodableOpaqueLeaf, Error as MmrError, LeafDataProvider, Proof as MmrProof, + DataOrHash, EncodableOpaqueLeaf, Error as MmrError, LeafDataProvider, + BatchProof as MmrBatchProof, Proof as MmrProof, LeafIndex as MmrLeafIndex }; use pallet_transaction_payment::{FeeDetails, Multiplier, RuntimeDispatchInfo}; use sp_api::impl_runtime_apis; @@ -575,6 +576,7 @@ mod benches { [pallet_bridge_token_swap, BridgeRialtoTokenSwap] ); } +type MmrHashing = ::Hashing; impl_runtime_apis! { impl sp_api::Core for Runtime { @@ -681,25 +683,27 @@ impl_runtime_apis! { } impl sp_mmr_primitives::MmrApi for Runtime { - fn generate_proof(leaf_index: u64) + fn generate_proof(leaf_index: MmrLeafIndex) -> Result<(EncodableOpaqueLeaf, MmrProof), MmrError> { - Mmr::generate_proof(leaf_index) - .map(|(leaf, proof)| (EncodableOpaqueLeaf::from_leaf(&leaf), proof)) + Mmr::generate_batch_proof(vec![leaf_index]) + .and_then(|(leaves, proof)| Ok(( + EncodableOpaqueLeaf::from_leaf(&leaves[0]), + MmrBatchProof::into_single_leaf_proof(proof)? + ))) + } fn verify_proof(leaf: EncodableOpaqueLeaf, proof: MmrProof) -> Result<(), MmrError> { - pub type Leaf = < - ::LeafData as LeafDataProvider - >::LeafData; - let leaf: Leaf = leaf + type MmrLeaf = <::LeafData as LeafDataProvider>::LeafData; + let leaf: MmrLeaf = leaf .into_opaque_leaf() .try_decode() .ok_or(MmrError::Verify)?; - Mmr::verify_leaf(leaf, proof) + Mmr::verify_leaves(vec![leaf], MmrProof::into_batch_proof(proof)) } fn verify_proof_stateless( @@ -707,9 +711,35 @@ impl_runtime_apis! { leaf: EncodableOpaqueLeaf, proof: MmrProof ) -> Result<(), MmrError> { - type MmrHashing = ::Hashing; let node = DataOrHash::Data(leaf.into_opaque_leaf()); - pallet_mmr::verify_leaf_proof::(root, node, proof) + pallet_mmr::verify_leaves_proof::(root, vec![node], MmrProof::into_batch_proof(proof)) + } + + fn generate_batch_proof(leaf_indices: Vec) + -> Result<(Vec, MmrBatchProof), MmrError> + { + Mmr::generate_batch_proof(leaf_indices) + .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) + } + + fn verify_batch_proof(leaves: Vec, proof: MmrBatchProof) + -> Result<(), MmrError> + { + type MmrLeaf = <::LeafData as LeafDataProvider>::LeafData; + let leaves = leaves.into_iter().map(|leaf| + leaf.into_opaque_leaf() + .try_decode() + .ok_or(MmrError::Verify)).collect::, MmrError>>()?; + Mmr::verify_leaves(leaves, proof) + } + + fn verify_batch_proof_stateless( + root: MmrHash, + leaves: Vec, + proof: MmrBatchProof + ) -> Result<(), MmrError> { + let nodes = leaves.into_iter().map(|leaf|DataOrHash::Data(leaf.into_opaque_leaf())).collect(); + pallet_mmr::verify_leaves_proof::(root, nodes, proof) } } diff --git a/polkadot/bridges/bin/rialto/runtime/src/lib.rs b/polkadot/bridges/bin/rialto/runtime/src/lib.rs index 81cf3e7cde..317d56d4d9 100644 --- a/polkadot/bridges/bin/rialto/runtime/src/lib.rs +++ b/polkadot/bridges/bin/rialto/runtime/src/lib.rs @@ -41,7 +41,8 @@ use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; use sp_mmr_primitives::{ - DataOrHash, EncodableOpaqueLeaf, Error as MmrError, LeafDataProvider, Proof as MmrProof, + DataOrHash, EncodableOpaqueLeaf, Error as MmrError, LeafDataProvider, + BatchProof as MmrBatchProof, Proof as MmrProof, LeafIndex as MmrLeafIndex }; use pallet_transaction_payment::{FeeDetails, Multiplier, RuntimeDispatchInfo}; use sp_api::impl_runtime_apis; @@ -571,6 +572,7 @@ mod benches { [pallet_bridge_grandpa, BridgeMillauGrandpa] ); } +pub type MmrHashing = ::Hashing; impl_runtime_apis! { impl sp_api::Core for Runtime { @@ -630,22 +632,23 @@ impl_runtime_apis! { fn generate_proof(leaf_index: u64) -> Result<(EncodableOpaqueLeaf, MmrProof), MmrError> { - Mmr::generate_proof(leaf_index) - .map(|(leaf, proof)| (EncodableOpaqueLeaf::from_leaf(&leaf), proof)) + Mmr::generate_batch_proof(vec![leaf_index]) + .and_then(|(leaves, proof)| Ok(( + EncodableOpaqueLeaf::from_leaf(&leaves[0]), + MmrBatchProof::into_single_leaf_proof(proof)? + ))) } fn verify_proof(leaf: EncodableOpaqueLeaf, proof: MmrProof) -> Result<(), MmrError> { - pub type Leaf = < - ::LeafData as LeafDataProvider - >::LeafData; - let leaf: Leaf = leaf + pub type MmrLeaf = <::LeafData as LeafDataProvider>::LeafData; + let leaf: MmrLeaf = leaf .into_opaque_leaf() .try_decode() .ok_or(MmrError::Verify)?; - Mmr::verify_leaf(leaf, proof) + Mmr::verify_leaves(vec![leaf], MmrProof::into_batch_proof(proof)) } fn verify_proof_stateless( @@ -653,9 +656,35 @@ impl_runtime_apis! { leaf: EncodableOpaqueLeaf, proof: MmrProof ) -> Result<(), MmrError> { - type MmrHashing = ::Hashing; let node = DataOrHash::Data(leaf.into_opaque_leaf()); - pallet_mmr::verify_leaf_proof::(root, node, proof) + pallet_mmr::verify_leaves_proof::(root, vec![node], MmrProof::into_batch_proof(proof)) + } + + fn generate_batch_proof(leaf_indices: Vec) + -> Result<(Vec, MmrBatchProof), MmrError> + { + Mmr::generate_batch_proof(leaf_indices) + .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) + } + + fn verify_batch_proof(leaves: Vec, proof: MmrBatchProof) + -> Result<(), MmrError> + { + pub type MmrLeaf = <::LeafData as LeafDataProvider>::LeafData; + let leaves = leaves.into_iter().map(|leaf| + leaf.into_opaque_leaf() + .try_decode() + .ok_or(MmrError::Verify)).collect::, MmrError>>()?; + Mmr::verify_leaves(leaves, proof) + } + + fn verify_batch_proof_stateless( + root: Hash, + leaves: Vec, + proof: MmrBatchProof + ) -> Result<(), MmrError> { + let nodes = leaves.into_iter().map(|leaf|DataOrHash::Data(leaf.into_opaque_leaf())).collect(); + pallet_mmr::verify_leaves_proof::(root, nodes, proof) } } diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index bd863b427a..38fdca433b 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -1774,15 +1774,13 @@ sp_api::impl_runtime_apis! { fn generate_proof(_leaf_index: u64) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::GenerateProof) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof_stateless( @@ -1790,15 +1788,32 @@ sp_api::impl_runtime_apis! { _leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof ) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn mmr_root() -> Result { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } + fn generate_batch_proof(_leaf_indices: Vec) + -> Result<(Vec, mmr::BatchProof), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + -> Result<(), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof_stateless( + _root: Hash, + _leaves: Vec, + _proof: mmr::BatchProof + ) -> Result<(), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } } impl fg_primitives::GrandpaApi for Runtime { diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 54a31d1d9f..94be394994 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -1720,15 +1720,13 @@ sp_api::impl_runtime_apis! { fn generate_proof(_leaf_index: u64) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::GenerateProof) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof_stateless( @@ -1736,13 +1734,31 @@ sp_api::impl_runtime_apis! { _leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof ) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn mmr_root() -> Result { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) + } + + fn generate_batch_proof(_leaf_indices: Vec) + -> Result<(Vec, mmr::BatchProof), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + -> Result<(), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof_stateless( + _root: Hash, + _leaves: Vec, + _proof: mmr::BatchProof + ) -> Result<(), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) } } diff --git a/polkadot/runtime/rococo/src/lib.rs b/polkadot/runtime/rococo/src/lib.rs index f4a1091856..a43e50addb 100644 --- a/polkadot/runtime/rococo/src/lib.rs +++ b/polkadot/runtime/rococo/src/lib.rs @@ -1100,6 +1100,8 @@ mod benches { ); } +pub type MmrHashing = ::Hashing; + #[cfg(not(feature = "disable-runtime-api"))] sp_api::impl_runtime_apis! { impl sp_api::Core for Runtime { @@ -1376,22 +1378,22 @@ sp_api::impl_runtime_apis! { fn generate_proof(leaf_index: u64) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - Mmr::generate_proof(leaf_index) - .map(|(leaf, proof)| (mmr::EncodableOpaqueLeaf::from_leaf(&leaf), proof)) + Mmr::generate_batch_proof(vec![leaf_index]) + .and_then(|(leaves, proof)| Ok(( + mmr::EncodableOpaqueLeaf::from_leaf(&leaves[0]), + mmr::BatchProof::into_single_leaf_proof(proof)? + ))) } fn verify_proof(leaf: mmr::EncodableOpaqueLeaf, proof: mmr::Proof) -> Result<(), mmr::Error> { - pub type Leaf = < - ::LeafData as pallet_mmr::LeafDataProvider - >::LeafData; - - let leaf: Leaf = leaf + pub type MmrLeaf = <::LeafData as mmr::LeafDataProvider>::LeafData; + let leaf: MmrLeaf = leaf .into_opaque_leaf() .try_decode() .ok_or(mmr::Error::Verify)?; - Mmr::verify_leaf(leaf, proof) + Mmr::verify_leaves(vec![leaf], mmr::Proof::into_batch_proof(proof)) } fn verify_proof_stateless( @@ -1399,14 +1401,40 @@ sp_api::impl_runtime_apis! { leaf: mmr::EncodableOpaqueLeaf, proof: mmr::Proof ) -> Result<(), mmr::Error> { - type MmrHashing = ::Hashing; let node = mmr::DataOrHash::Data(leaf.into_opaque_leaf()); - pallet_mmr::verify_leaf_proof::(root, node, proof) + pallet_mmr::verify_leaves_proof::(root, vec![node], mmr::Proof::into_batch_proof(proof)) } fn mmr_root() -> Result { Ok(Mmr::mmr_root()) } + + fn generate_batch_proof(leaf_indices: Vec) + -> Result<(Vec, mmr::BatchProof), mmr::Error> + { + Mmr::generate_batch_proof(leaf_indices) + .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) + } + + fn verify_batch_proof(leaves: Vec, proof: mmr::BatchProof) + -> Result<(), mmr::Error> + { + pub type MmrLeaf = <::LeafData as mmr::LeafDataProvider>::LeafData; + let leaves = leaves.into_iter().map(|leaf| + leaf.into_opaque_leaf() + .try_decode() + .ok_or(mmr::Error::Verify)).collect::, mmr::Error>>()?; + Mmr::verify_leaves(leaves, proof) + } + + fn verify_batch_proof_stateless( + root: Hash, + leaves: Vec, + proof: mmr::BatchProof + ) -> Result<(), mmr::Error> { + let nodes = leaves.into_iter().map(|leaf|mmr::DataOrHash::Data(leaf.into_opaque_leaf())).collect(); + pallet_mmr::verify_leaves_proof::(root, nodes, proof) + } } impl bp_rococo::RococoFinalityApi for Runtime { diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index 7933d5fb07..a9f802f136 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -919,15 +919,13 @@ sp_api::impl_runtime_apis! { fn generate_proof(_leaf_index: u64) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::GenerateProof) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn verify_proof_stateless( @@ -935,15 +933,32 @@ sp_api::impl_runtime_apis! { _leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof ) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } fn mmr_root() -> Result { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + Err(mmr::Error::PalletNotIncluded) } + fn generate_batch_proof(_leaf_indices: Vec) + -> Result<(Vec, mmr::BatchProof), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + -> Result<(), mmr::Error> + { + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof_stateless( + _root: Hash, + _leaves: Vec, + _proof: mmr::BatchProof + ) -> Result<(), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } } impl fg_primitives::GrandpaApi for Runtime { diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index bc107d28f7..0479c0acd7 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1362,15 +1362,15 @@ sp_api::impl_runtime_apis! { fn generate_proof(_leaf_index: u64) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::GenerateProof) + + Err(mmr::Error::PalletNotIncluded) } fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + + Err(mmr::Error::PalletNotIncluded) } fn verify_proof_stateless( @@ -1378,13 +1378,36 @@ sp_api::impl_runtime_apis! { _leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof ) -> Result<(), mmr::Error> { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + + Err(mmr::Error::PalletNotIncluded) } fn mmr_root() -> Result { - // dummy implementation due to lack of MMR pallet. - Err(mmr::Error::Verify) + + Err(mmr::Error::PalletNotIncluded) + } + + fn generate_batch_proof(_leaf_indices: Vec) + -> Result<(Vec, mmr::BatchProof), mmr::Error> + { + + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + -> Result<(), mmr::Error> + { + + Err(mmr::Error::PalletNotIncluded) + } + + fn verify_batch_proof_stateless( + _root: Hash, + _leaves: Vec, + _proof: mmr::BatchProof + ) -> Result<(), mmr::Error> { + + Err(mmr::Error::PalletNotIncluded) } }