From ae4fe2246eb4534859f6e1c502d642054bf687e6 Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Thu, 13 Oct 2022 13:04:00 +0200 Subject: [PATCH] pallet-mmr: RPC and Runtime APIs work with block numbers (#6072) * pallet-mmr: RPC API works with block numbers * small fix * update * change types * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 418 ++++++++++++++++++-------------- node/client/src/lib.rs | 4 +- rpc/src/lib.rs | 6 +- runtime/kusama/src/lib.rs | 10 +- runtime/polkadot/src/lib.rs | 10 +- runtime/rococo/src/lib.rs | 16 +- runtime/test-runtime/src/lib.rs | 10 +- runtime/westend/src/lib.rs | 10 +- 8 files changed, 274 insertions(+), 210 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad6176d1accb..8b2d124692dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -1533,6 +1533,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + [[package]] name = "downcast-rs" version = "1.2.0" @@ -1977,6 +1983,15 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +dependencies = [ + "num-traits", +] + [[package]] name = "fnv" version = "1.0.7" @@ -2001,7 +2016,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", ] @@ -2016,10 +2031,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fragile" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" + [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2063,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "array-bytes", @@ -2093,7 +2114,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2104,7 +2125,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2120,7 +2141,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2149,7 +2170,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bitflags", "frame-metadata", @@ -2181,7 +2202,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "cfg-expr", @@ -2195,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2207,7 +2228,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -2217,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2240,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2251,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "log", @@ -2269,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -2284,7 +2305,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -2293,7 +2314,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2485,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "chrono", "frame-election-provider-support", @@ -4295,6 +4316,33 @@ dependencies = [ "winapi", ] +[[package]] +name = "mockall" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2be9a9090bc1cac2930688fa9478092a64c6a92ddc6ae0692d46b37d9cab709" +dependencies = [ + "cfg-if 1.0.0", + "downcast", + "fragile", + "lazy_static", + "mockall_derive", + "predicates", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86d702a0530a0141cf4ed147cf5ec7be6f2c187d4e37fcbefc39cf34116bfe8f" +dependencies = [ + "cfg-if 1.0.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "multiaddr" version = "0.14.0" @@ -4563,6 +4611,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + [[package]] name = "ntapi" version = "0.3.6" @@ -4813,7 +4867,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -4843,7 +4897,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -4858,7 +4912,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4882,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4902,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4921,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4990,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-primitives", "frame-support", @@ -4952,7 +5006,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4975,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4993,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5066,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5046,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5088,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5119,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5194,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5231,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5266,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5281,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5297,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5334,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -5344,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5361,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5384,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5455,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5416,7 +5470,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5449,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5467,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5483,7 +5537,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5504,7 +5558,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5574,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5534,7 +5588,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5557,7 +5611,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5568,7 +5622,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-arithmetic", @@ -5577,7 +5631,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5591,7 +5645,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5609,7 +5663,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,7 +5682,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5644,7 +5698,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5659,7 +5713,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5670,7 +5724,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5687,7 +5741,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5703,7 +5757,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5718,7 +5772,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -7677,8 +7731,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95e5a7689e456ab905c22c2b48225bb921aba7c8dfa58440d68ba13f6222a715" dependencies = [ "difflib", + "float-cmp", "itertools", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] @@ -8253,7 +8310,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8601,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-core", @@ -8612,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8639,7 +8696,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "futures-timer", @@ -8662,7 +8719,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8678,7 +8735,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8695,7 +8752,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8706,7 +8763,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "chrono", @@ -8746,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "fnv", "futures", @@ -8774,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "kvdb", @@ -8799,7 +8856,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8823,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "fork-tree", @@ -8865,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -8887,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8900,7 +8957,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8924,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8951,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "environmental", "parity-scale-codec", @@ -8967,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -8982,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9002,7 +9059,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "array-bytes", @@ -9043,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "finality-grandpa", "futures", @@ -9064,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "futures", @@ -9081,7 +9138,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -9096,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -9143,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "cid", "futures", @@ -9163,7 +9220,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "bitflags", @@ -9189,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "futures", @@ -9207,7 +9264,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "futures", @@ -9228,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "fork-tree", @@ -9236,6 +9293,7 @@ dependencies = [ "libp2p", "log", "lru 0.7.8", + "mockall", "parity-scale-codec", "prost 0.11.0", "prost-build 0.11.1", @@ -9256,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "futures", @@ -9275,7 +9333,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "bytes", @@ -9305,7 +9363,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "libp2p", @@ -9318,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9327,7 +9385,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "hash-db", @@ -9357,7 +9415,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -9380,7 +9438,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -9393,7 +9451,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "hex", @@ -9412,7 +9470,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "directories", @@ -9483,7 +9541,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -9497,7 +9555,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9516,7 +9574,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "libc", @@ -9535,7 +9593,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "chrono", "futures", @@ -9553,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "atty", @@ -9584,7 +9642,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9595,8 +9653,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ + "async-trait", "futures", "futures-timer", "linked-hash-map", @@ -9621,8 +9680,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ + "async-trait", "futures", "log", "serde", @@ -9634,7 +9694,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "futures-timer", @@ -10120,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "log", @@ -10138,7 +10198,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "blake2", "proc-macro-crate", @@ -10150,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10163,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "integer-sqrt", "num-traits", @@ -10178,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10191,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "parity-scale-codec", @@ -10203,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -10215,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "log", @@ -10233,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -10252,7 +10312,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "merlin", @@ -10275,7 +10335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10289,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10302,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "base58", @@ -10348,7 +10408,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "blake2", "byteorder", @@ -10362,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -10373,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10382,7 +10442,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -10392,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "environmental", "parity-scale-codec", @@ -10403,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "finality-grandpa", "log", @@ -10421,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10435,7 +10495,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bytes", "futures", @@ -10461,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "lazy_static", "sp-core", @@ -10472,7 +10532,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -10489,7 +10549,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "thiserror", "zstd", @@ -10498,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -10514,7 +10574,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10528,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "sp-api", "sp-core", @@ -10538,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "backtrace", "lazy_static", @@ -10548,7 +10608,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "rustc-hash", "serde", @@ -10558,7 +10618,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "either", "hash256-std-hasher", @@ -10581,7 +10641,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10599,7 +10659,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "proc-macro-crate", @@ -10611,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -10625,7 +10685,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10639,7 +10699,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10650,7 +10710,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "log", @@ -10672,12 +10732,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10690,7 +10750,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-core", @@ -10703,7 +10763,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures-timer", @@ -10719,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-std", @@ -10731,7 +10791,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "sp-api", "sp-runtime", @@ -10740,7 +10800,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "log", @@ -10756,7 +10816,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "hash-db", @@ -10779,7 +10839,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10796,7 +10856,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10807,7 +10867,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "log", @@ -10820,7 +10880,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11035,7 +11095,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "platforms", ] @@ -11043,7 +11103,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11064,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures-util", "hyper", @@ -11077,7 +11137,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "log", @@ -11098,7 +11158,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -11124,7 +11184,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11134,7 +11194,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11145,7 +11205,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "build-helper", @@ -11858,7 +11918,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index 41b0048f0e46..5364cf2c5a09 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -128,7 +128,7 @@ pub trait RuntimeApiCollection: + ParachainHost + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi - + sp_mmr_primitives::MmrApi::Hash> + + sp_mmr_primitives::MmrApi::Hash, BlockNumber> + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi @@ -149,7 +149,7 @@ where + ParachainHost + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi - + sp_mmr_primitives::MmrApi::Hash> + + sp_mmr_primitives::MmrApi::Hash, BlockNumber> + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index fa2c61f17c25..2b3497832caa 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -108,7 +108,11 @@ where + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: pallet_mmr_rpc::MmrRuntimeApi::Hash>, + C::Api: pallet_mmr_rpc::MmrRuntimeApi< + Block, + ::Hash, + BlockNumber, + >, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 58a824ae1cc2..777d47df6af7 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1714,8 +1714,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -1739,15 +1739,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8f6f2e4db47d..47d6325a49b2 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1807,8 +1807,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -1832,15 +1832,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index ac247248b9ea..1763613ec6c2 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1690,11 +1690,11 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - Mmr::generate_batch_proof(vec![leaf_index]) + Mmr::generate_batch_proof(vec![block_number]) .and_then(|(leaves, proof)| Ok(( mmr::EncodableOpaqueLeaf::from_leaf(&leaves[0]), mmr::BatchProof::into_single_leaf_proof(proof)? @@ -1725,18 +1725,18 @@ sp_api::impl_runtime_apis! { Ok(Mmr::mmr_root()) } - fn generate_batch_proof(leaf_indices: Vec) + fn generate_batch_proof(block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { - Mmr::generate_batch_proof(leaf_indices) + Mmr::generate_batch_proof(block_numbers) .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) } fn generate_historical_batch_proof( - leaf_indices: Vec, - leaves_count: mmr::LeafIndex, + block_numbers: Vec, + best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { - Mmr::generate_historical_batch_proof(leaf_indices, leaves_count).map( + Mmr::generate_historical_batch_proof(block_numbers, best_known_block_number).map( |(leaves, proof)| { ( leaves diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index a43e13eb015e..8a9e128befa8 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -919,8 +919,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -944,15 +944,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 454e367e2c15..495f67d008a2 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1448,8 +1448,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { @@ -1477,15 +1477,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) }