From 30ed1bb8a08bf5d24b7a3c53bfcc5c9b033163fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sat, 20 May 2023 15:27:10 +0200 Subject: [PATCH 1/3] Switch to `relay_dispatch_queue_remaining_capacity` This switches the parachain runtimes to use `relay_dispatch_queue_remaining_capacity` when possible. If the data is not yet available on the relay chain it falls back to `relay_dispatch_queue_size`. It will require that all parachains migrate to `relay_dispatch_queue_remaining_capacity` before we can start removing the call to `relay_dipatch_queue_size`. Besides that the pr adapts the xcm exumulator to make it work with the message queue. --- Cargo.lock | 554 ++++++++++-------- pallets/parachain-system/src/lib.rs | 14 +- .../src/relay_state_snapshot.rs | 57 +- .../emulated/common/src/lib.rs | 2 + .../parachain-inherent/src/client_side.rs | 4 + test/relay-sproof-builder/src/lib.rs | 7 +- xcm/xcm-emulator/Cargo.toml | 1 + xcm/xcm-emulator/src/lib.rs | 109 ++-- 8 files changed, 424 insertions(+), 324 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ce20ee4bdef..f100b5b7583 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -580,7 +580,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "hash-db", "log", @@ -3808,7 +3808,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", ] @@ -3831,7 +3831,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-support-procedural", @@ -3856,7 +3856,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -3903,7 +3903,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3914,7 +3914,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3931,7 +3931,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -3960,7 +3960,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-recursion", "futures", @@ -3975,12 +3975,13 @@ dependencies = [ "spinners", "substrate-rpc-client", "tokio", + "tokio-retry", ] [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "bitflags", "environmental", @@ -4014,7 +4015,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "Inflector", "cfg-expr", @@ -4030,7 +4031,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4042,7 +4043,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro2", "quote", @@ -4052,7 +4053,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "cfg-if", "frame-support", @@ -4071,7 +4072,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4086,7 +4087,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "sp-api", @@ -4095,7 +4096,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "parity-scale-codec", @@ -5187,7 +5188,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "frame-benchmarking", @@ -5220,6 +5221,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-multisig", "pallet-nis", "pallet-nomination-pools", @@ -5285,7 +5287,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "polkadot-primitives", @@ -6167,7 +6169,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "log", @@ -6186,7 +6188,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "anyhow", "jsonrpsee", @@ -6705,7 +6707,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "frame-benchmarking", @@ -6726,7 +6728,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6744,7 +6746,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6759,7 +6761,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -6775,7 +6777,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -6791,7 +6793,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -6805,7 +6807,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6829,7 +6831,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6849,7 +6851,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6864,7 +6866,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -6883,7 +6885,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "binary-merkle-tree", @@ -6907,7 +6909,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7013,7 +7015,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7057,7 +7059,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7074,7 +7076,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "bitflags", "environmental", @@ -7104,7 +7106,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "bitflags", "parity-scale-codec", @@ -7117,7 +7119,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro2", "quote", @@ -7127,7 +7129,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7144,7 +7146,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7162,7 +7164,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7185,7 +7187,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7198,7 +7200,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7216,7 +7218,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7234,7 +7236,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a14236059c2d3da052fb08295082341aa7b87240" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "blake2", "frame-benchmarking", @@ -7252,7 +7254,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7275,7 +7277,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7291,7 +7293,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7311,7 +7313,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7328,7 +7330,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7342,7 +7344,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7356,10 +7358,29 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-message-queue" +version = "7.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", +] + [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7376,7 +7397,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7392,7 +7413,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7410,7 +7431,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "pallet-nfts", @@ -7421,7 +7442,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7437,7 +7458,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7454,7 +7475,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7474,7 +7495,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7485,7 +7506,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7502,7 +7523,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7541,7 +7562,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7558,7 +7579,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7573,7 +7594,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7591,7 +7612,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7606,7 +7627,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7625,7 +7646,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7642,7 +7663,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7663,7 +7684,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7679,7 +7700,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7693,7 +7714,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7716,7 +7737,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7727,7 +7748,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "sp-arithmetic", @@ -7736,7 +7757,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "sp-api", @@ -7745,7 +7766,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7762,7 +7783,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7777,7 +7798,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7795,7 +7816,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7814,7 +7835,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-support", "frame-system", @@ -7830,7 +7851,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -7846,7 +7867,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7858,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7875,7 +7896,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7890,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7906,7 +7927,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7921,7 +7942,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7936,7 +7957,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -7957,7 +7978,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8568,7 +8589,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "polkadot-node-jaeger", @@ -8584,7 +8605,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "polkadot-node-network-protocol", @@ -8598,7 +8619,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "derive_more", "fatality", @@ -8621,7 +8642,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "fatality", "futures", @@ -8642,7 +8663,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "clap 4.2.7", "frame-benchmarking-cli", @@ -8671,7 +8692,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "frame-benchmarking", @@ -8714,7 +8735,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "always-assert", "bitvec", @@ -8736,7 +8757,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "parity-scale-codec", "scale-info", @@ -8748,7 +8769,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "derive_more", "fatality", @@ -8773,7 +8794,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8787,7 +8808,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "futures-timer", @@ -8807,7 +8828,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "always-assert", "async-trait", @@ -8830,7 +8851,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "parity-scale-codec", @@ -8848,7 +8869,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "derive_more", @@ -8877,7 +8898,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "futures", @@ -8898,7 +8919,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "fatality", @@ -8917,7 +8938,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8932,7 +8953,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "futures", @@ -8952,7 +8973,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "polkadot-node-metrics", @@ -8967,7 +8988,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "futures-timer", @@ -8984,7 +9005,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "fatality", "futures", @@ -9003,7 +9024,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "futures", @@ -9020,7 +9041,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "fatality", @@ -9038,7 +9059,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "always-assert", "futures", @@ -9065,7 +9086,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "polkadot-node-primitives", @@ -9081,7 +9102,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-worker" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "assert_matches", "cpu-time", @@ -9110,7 +9131,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "futures", "lru 0.9.0", @@ -9125,7 +9146,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "lazy_static", "log", @@ -9143,7 +9164,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bs58", "futures", @@ -9162,7 +9183,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "derive_more", @@ -9184,7 +9205,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bounded-vec", "futures", @@ -9206,7 +9227,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9216,7 +9237,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "futures", @@ -9234,7 +9255,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "derive_more", @@ -9257,7 +9278,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "derive_more", @@ -9290,7 +9311,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "futures", @@ -9313,7 +9334,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bounded-collections", "derive_more", @@ -9412,7 +9433,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9430,7 +9451,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -9456,7 +9477,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -9488,7 +9509,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "frame-benchmarking", @@ -9520,6 +9541,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -9582,7 +9604,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "frame-benchmarking", @@ -9628,7 +9650,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "polkadot-primitives", @@ -9642,7 +9664,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bs58", "parity-scale-codec", @@ -9654,7 +9676,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitflags", "bitvec", @@ -9667,6 +9689,7 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-message-queue", "pallet-session", "pallet-staking", "pallet-timestamp", @@ -9698,7 +9721,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "async-trait", "frame-benchmarking-cli", @@ -9808,7 +9831,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -9829,7 +9852,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9839,7 +9862,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -9864,7 +9887,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "frame-election-provider-support", @@ -9925,7 +9948,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-benchmarking", "frame-system", @@ -10717,7 +10740,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -10745,6 +10768,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -10803,7 +10827,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "polkadot-primitives", @@ -11050,7 +11074,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "sp-core", @@ -11061,7 +11085,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -11090,7 +11114,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "futures-timer", @@ -11113,7 +11137,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11128,7 +11152,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -11147,7 +11171,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11158,7 +11182,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -11198,7 +11222,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "fnv", "futures", @@ -11225,7 +11249,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "hash-db", "kvdb", @@ -11251,7 +11275,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -11276,7 +11300,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -11305,7 +11329,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "fork-tree", @@ -11341,7 +11365,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "jsonrpsee", @@ -11363,7 +11387,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11398,7 +11422,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "jsonrpsee", @@ -11417,7 +11441,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11430,7 +11454,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ahash 0.8.2", "array-bytes 4.2.0", @@ -11470,7 +11494,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "finality-grandpa", "futures", @@ -11490,7 +11514,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -11513,7 +11537,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -11537,7 +11561,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -11550,7 +11574,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "sc-allocator", @@ -11563,7 +11587,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "anyhow", "cfg-if", @@ -11581,7 +11605,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ansi_term", "futures", @@ -11597,7 +11621,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "parking_lot 0.12.1", @@ -11611,7 +11635,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "async-channel", @@ -11656,7 +11680,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "cid", "futures", @@ -11676,7 +11700,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11704,7 +11728,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ahash 0.8.2", "futures", @@ -11723,7 +11747,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11745,7 +11769,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11779,7 +11803,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11799,7 +11823,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -11830,7 +11854,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "libp2p-identity", @@ -11843,7 +11867,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11852,7 +11876,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "jsonrpsee", @@ -11883,7 +11907,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11902,7 +11926,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "http", "jsonrpsee", @@ -11917,7 +11941,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "futures", @@ -11943,7 +11967,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "directories", @@ -12009,7 +12033,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "parity-scale-codec", @@ -12020,7 +12044,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "clap 4.2.7", "fs4", @@ -12036,7 +12060,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12055,7 +12079,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "libc", @@ -12074,7 +12098,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "chrono", "futures", @@ -12093,7 +12117,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ansi_term", "atty", @@ -12124,7 +12148,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12135,7 +12159,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -12162,7 +12186,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -12176,7 +12200,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-channel", "futures", @@ -12657,7 +12681,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "enumn", "parity-scale-codec", @@ -12734,7 +12758,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "hash-db", "log", @@ -12754,7 +12778,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "Inflector", "blake2", @@ -12768,7 +12792,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -12781,7 +12805,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "integer-sqrt", "num-traits", @@ -12795,7 +12819,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -12808,7 +12832,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "sp-api", @@ -12820,7 +12844,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "log", @@ -12838,7 +12862,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures", @@ -12853,7 +12877,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "parity-scale-codec", @@ -12871,7 +12895,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "parity-scale-codec", @@ -12892,7 +12916,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "lazy_static", "parity-scale-codec", @@ -12911,7 +12935,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "finality-grandpa", "log", @@ -12929,7 +12953,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -12941,7 +12965,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "bitflags", @@ -12985,7 +13009,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "blake2b_simd", "byteorder", @@ -12999,7 +13023,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro2", "quote", @@ -13010,7 +13034,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13019,7 +13043,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro2", "quote", @@ -13029,7 +13053,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "environmental", "parity-scale-codec", @@ -13040,7 +13064,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13055,7 +13079,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "bytes", "ed25519", @@ -13081,7 +13105,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "lazy_static", "sp-core", @@ -13092,7 +13116,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "parity-scale-codec", @@ -13106,7 +13130,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "thiserror", "zstd 0.12.3+zstd.1.5.2", @@ -13115,7 +13139,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -13126,7 +13150,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13144,7 +13168,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -13158,7 +13182,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "sp-api", "sp-core", @@ -13168,7 +13192,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "backtrace", "lazy_static", @@ -13178,7 +13202,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "rustc-hash", "serde", @@ -13188,7 +13212,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "either", "hash256-std-hasher", @@ -13210,7 +13234,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -13228,7 +13252,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "Inflector", "proc-macro-crate", @@ -13240,7 +13264,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -13254,7 +13278,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -13267,7 +13291,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "hash-db", "log", @@ -13287,7 +13311,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "log", "parity-scale-codec", @@ -13305,12 +13329,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13323,7 +13347,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "futures-timer", @@ -13338,7 +13362,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "sp-std", @@ -13350,7 +13374,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "sp-api", "sp-runtime", @@ -13359,7 +13383,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "log", @@ -13375,7 +13399,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ahash 0.8.2", "hash-db", @@ -13398,7 +13422,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13415,7 +13439,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13426,7 +13450,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -13440,7 +13464,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "parity-scale-codec", "scale-info", @@ -13801,7 +13825,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "platforms 2.0.0", ] @@ -13809,7 +13833,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13828,7 +13852,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "hyper", "log", @@ -13840,7 +13864,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "jsonrpsee", @@ -13853,7 +13877,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "jsonrpsee", "log", @@ -13872,7 +13896,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -13898,7 +13922,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -13908,7 +13932,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3919ca88d1dd0b06f26bd80fd0066a1ad7187081" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -13919,7 +13943,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "ansi_term", "build-helper", @@ -14046,7 +14070,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-runtime-constants" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "polkadot-primitives", @@ -14263,6 +14287,17 @@ dependencies = [ "syn 2.0.16", ] +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand 0.8.5", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.23.2" @@ -14432,7 +14467,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -14443,7 +14478,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -14573,7 +14608,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1b8ad0303b039b6f958ca3e52e84befb2bb44ad2" +source = "git+https://github.com/paritytech/substrate?branch=master#0046337664b221ff1072fb8f872f13a170babca9" dependencies = [ "async-trait", "clap 4.2.7", @@ -15506,7 +15541,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bitvec", "frame-benchmarking", @@ -15535,6 +15570,7 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", + "pallet-message-queue", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -15598,7 +15634,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "polkadot-primitives", @@ -16100,7 +16136,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "bounded-collections", "derivative", @@ -16116,7 +16152,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "frame-support", "frame-system", @@ -16130,6 +16166,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-weights", "xcm", "xcm-executor", ] @@ -16150,6 +16187,7 @@ dependencies = [ "frame-system", "log", "pallet-balances", + "pallet-message-queue", "parachain-info", "parachains-common", "parity-scale-codec", @@ -16169,7 +16207,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "environmental", "frame-benchmarking", @@ -16189,7 +16227,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.9.41" -source = "git+https://github.com/paritytech/polkadot?branch=master#e260da4ddad8cbd76999c23a93580167d60d81e4" +source = "git+https://github.com/paritytech/polkadot?branch=master#7c1dc9429245d705ffb188b16ad5339c6de281c1" dependencies = [ "Inflector", "proc-macro2", diff --git a/pallets/parachain-system/src/lib.rs b/pallets/parachain-system/src/lib.rs index b841820acfc..504f4670f48 100644 --- a/pallets/parachain-system/src/lib.rs +++ b/pallets/parachain-system/src/lib.rs @@ -233,21 +233,21 @@ pub mod pallet { }; >::mutate(|up| { - let (count, size) = relevant_messaging_state.relay_dispatch_queue_size; + let queue_size = relevant_messaging_state.relay_dispatch_queue_size; let available_capacity = cmp::min( - host_config.max_upward_queue_count.saturating_sub(count), - host_config.max_upward_message_num_per_candidate, + queue_size.remaining_count, + host_config.max_upward_message_num_per_candidate.into(), ); - let available_size = host_config.max_upward_queue_size.saturating_sub(size); + let available_size = queue_size.remaining_size; // Count the number of messages we can possibly fit in the given constraints, i.e. // available_capacity and available_size. let num = up .iter() - .scan((available_capacity as usize, available_size as usize), |state, msg| { + .scan((available_capacity as u64, available_size as u64), |state, msg| { let (cap_left, size_left) = *state; - match (cap_left.checked_sub(1), size_left.checked_sub(msg.len())) { + match (cap_left.checked_sub(1), size_left.checked_sub(msg.len() as u64)) { (Some(new_cap), Some(new_size)) => { *state = (new_cap, new_size); Some(()) @@ -431,7 +431,7 @@ pub mod pallet { .read_abridged_host_configuration() .expect("Invalid host configuration in relay chain state proof"); let relevant_messaging_state = relay_state_proof - .read_messaging_state_snapshot() + .read_messaging_state_snapshot(&host_config) .expect("Invalid messaging state in relay chain state proof"); >::put(&vfp); diff --git a/pallets/parachain-system/src/relay_state_snapshot.rs b/pallets/parachain-system/src/relay_state_snapshot.rs index 0a6426a8012..fcd02f16fcf 100644 --- a/pallets/parachain-system/src/relay_state_snapshot.rs +++ b/pallets/parachain-system/src/relay_state_snapshot.rs @@ -24,6 +24,17 @@ use sp_state_machine::{Backend, TrieBackend, TrieBackendBuilder}; use sp_std::vec::Vec; use sp_trie::{HashDBT, MemoryDB, StorageProof, EMPTY_PREFIX}; +/// The capacity of the upward message queue of a parachain on the relay chain. +// The field order should stay the same as the data can be found in the proof to ensure both are +// have the same encoded representation. +#[derive(Clone, Encode, Decode, TypeInfo, Default)] +pub struct RelayDispachQueueSize { + /// The number of additional messages that can be enqueued. + pub remaining_count: u64, + /// The total size of additional messages that can be enqueued. + pub remaining_size: u64, +} + /// A snapshot of some messaging related state of relay chain pertaining to the current parachain. /// /// This data is essential for making sure that the parachain is aware of current resource use on @@ -37,10 +48,7 @@ pub struct MessagingStateSnapshot { pub dmq_mqc_head: relay_chain::Hash, /// The current capacity of the upward message queue of the current parachain on the relay chain. - /// - /// The capacity is represented by a tuple that consist of the `count` of the messages and the - /// `total_size` expressed as the sum of byte sizes of all messages in the queue. - pub relay_dispatch_queue_size: (u32, u32), + pub relay_dispatch_queue_size: RelayDispachQueueSize, /// Information about all the inbound HRMP channels. /// @@ -164,7 +172,10 @@ impl RelayChainStateProof { /// Read the [`MessagingStateSnapshot`] from the relay chain state proof. /// /// Returns an error if anything failed at reading or decoding. - pub fn read_messaging_state_snapshot(&self) -> Result { + pub fn read_messaging_state_snapshot( + &self, + host_config: &AbridgedHostConfiguration, + ) -> Result { let dmq_mqc_head: relay_chain::Hash = read_entry( &self.trie_backend, &relay_chain::well_known_keys::dmq_mqc_head(self.para_id), @@ -172,12 +183,38 @@ impl RelayChainStateProof { ) .map_err(Error::DmqMqcHead)?; - let relay_dispatch_queue_size: (u32, u32) = read_entry( + let relay_dispatch_queue_size = read_optional_entry::( &self.trie_backend, - &relay_chain::well_known_keys::relay_dispatch_queue_size(self.para_id), - Some((0, 0)), - ) - .map_err(Error::RelayDispatchQueueSize)?; + &relay_chain::well_known_keys::relay_dispatch_queue_remaining_capacity(self.para_id) + .key, + ); + + // TODO paritytech/polkadot#6283: Remove all usages of `relay_dispatch_queue_size` + // + // When the relay chain and all parachains support `relay_dispatch_queue_remaining_capacity`, + // this code here needs to be removed and above needs to be changed to `read_entry` that + // returns an error if `relay_dispatch_queue_remaining_capacity` can not be found/decoded. + // + // For now we just fallback to the old dispatch queue size if there is an error. + let relay_dispatch_queue_size = match relay_dispatch_queue_size { + Ok(Some(r)) => r, + _ => { + let res = read_entry::<(u32, u32), _>( + &self.trie_backend, + #[allow(deprecated)] + &relay_chain::well_known_keys::relay_dispatch_queue_size(self.para_id), + Some((0, 0)), + ) + .map_err(Error::RelayDispatchQueueSize)?; + + let remaining_count = host_config.max_upward_queue_count.saturating_sub(res.0); + let remaining_size = host_config.max_upward_queue_size.saturating_sub(res.1); + RelayDispachQueueSize { + remaining_count: remaining_count.into(), + remaining_size: remaining_size.into(), + } + }, + }; let ingress_channel_index: Vec = read_entry( &self.trie_backend, diff --git a/parachains/integration-tests/emulated/common/src/lib.rs b/parachains/integration-tests/emulated/common/src/lib.rs index 0d0928998a0..e2587e9bf02 100644 --- a/parachains/integration-tests/emulated/common/src/lib.rs +++ b/parachains/integration-tests/emulated/common/src/lib.rs @@ -24,6 +24,7 @@ decl_test_relay_chains! { RuntimeOrigin: polkadot_runtime::RuntimeOrigin, RuntimeCall: polkadot_runtime::RuntimeCall, RuntimeEvent: polkadot_runtime::RuntimeEvent, + MessageQueue: polkadot_runtime::MessageQueue, XcmConfig: polkadot_runtime::xcm_config::XcmConfig, SovereignAccountOf: polkadot_runtime::xcm_config::SovereignAccountOf, System: polkadot_runtime::System, @@ -41,6 +42,7 @@ decl_test_relay_chains! { RuntimeOrigin: kusama_runtime::RuntimeOrigin, RuntimeCall: polkadot_runtime::RuntimeCall, RuntimeEvent: kusama_runtime::RuntimeEvent, + MessageQueue: polkadot_runtime::MessageQueue, XcmConfig: kusama_runtime::xcm_config::XcmConfig, SovereignAccountOf: kusama_runtime::xcm_config::SovereignAccountOf, System: kusama_runtime::System, diff --git a/primitives/parachain-inherent/src/client_side.rs b/primitives/parachain-inherent/src/client_side.rs index 1a1506dcbbd..03ca3203dc0 100644 --- a/primitives/parachain-inherent/src/client_side.rs +++ b/primitives/parachain-inherent/src/client_side.rs @@ -99,7 +99,11 @@ async fn collect_relay_storage_proof( relay_well_known_keys::CURRENT_SLOT.to_vec(), relay_well_known_keys::ACTIVE_CONFIG.to_vec(), relay_well_known_keys::dmq_mqc_head(para_id), + // TODO paritytech/polkadot#6283: Remove all usages of `relay_dispatch_queue_size` + // We need to keep this here until all parachains have migrated to `relay_dispatch_queue_remaining_capacity`. + #[allow(deprecated)] relay_well_known_keys::relay_dispatch_queue_size(para_id), + relay_well_known_keys::relay_dispatch_queue_remaining_capacity(para_id).key, relay_well_known_keys::hrmp_ingress_channel_index(para_id), relay_well_known_keys::hrmp_egress_channel_index(para_id), relay_well_known_keys::upgrade_go_ahead_signal(para_id), diff --git a/test/relay-sproof-builder/src/lib.rs b/test/relay-sproof-builder/src/lib.rs index b5fc0c7f08f..7cda44acf49 100644 --- a/test/relay-sproof-builder/src/lib.rs +++ b/test/relay-sproof-builder/src/lib.rs @@ -38,7 +38,7 @@ pub struct RelayStateSproofBuilder { pub host_config: AbridgedHostConfiguration, pub dmq_mqc_head: Option, pub upgrade_go_ahead: Option, - pub relay_dispatch_queue_size: Option<(u32, u32)>, + pub relay_dispatch_queue_size: Option<(u64, u64)>, pub hrmp_ingress_channel_index: Option>, pub hrmp_egress_channel_index: Option>, pub hrmp_channels: BTreeMap, @@ -126,7 +126,10 @@ impl RelayStateSproofBuilder { } if let Some(relay_dispatch_queue_size) = self.relay_dispatch_queue_size { insert( - relay_chain::well_known_keys::relay_dispatch_queue_size(self.para_id), + relay_chain::well_known_keys::relay_dispatch_queue_remaining_capacity( + self.para_id, + ) + .key, relay_dispatch_queue_size.encode(), ); } diff --git a/xcm/xcm-emulator/Cargo.toml b/xcm/xcm-emulator/Cargo.toml index 8da28d0283f..d64c64800c6 100644 --- a/xcm/xcm-emulator/Cargo.toml +++ b/xcm/xcm-emulator/Cargo.toml @@ -20,6 +20,7 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-message-queue = { git = "https://github.com/paritytech/substrate", branch = "master" } cumulus-primitives-core = { path = "../../primitives/core"} cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue" } diff --git a/xcm/xcm-emulator/src/lib.rs b/xcm/xcm-emulator/src/lib.rs index b928d5cf76e..72a0021aefd 100644 --- a/xcm/xcm-emulator/src/lib.rs +++ b/xcm/xcm-emulator/src/lib.rs @@ -18,8 +18,8 @@ pub use casey::pascal; pub use codec::Encode; pub use frame_support::{ sp_runtime::BuildStorage, - traits::{Get, Hooks}, - weights::Weight, + traits::{EnqueueMessage, Get, Hooks, ProcessMessage, ProcessMessageError, ServiceQueues}, + weights::{Weight, WeightMeter}, }; pub use frame_system::AccountInfo; pub use log; @@ -41,13 +41,14 @@ pub use cumulus_primitives_core::{ pub use cumulus_primitives_parachain_inherent::ParachainInherentData; pub use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; pub use cumulus_test_service::get_account_id_from_seed; +pub use pallet_message_queue; pub use parachain_info; pub use parachains_common::{AccountId, BlockNumber}; pub use polkadot_primitives; pub use polkadot_runtime_parachains::{ dmp, - ump::{MessageId, UmpSink, XcmSink}, + inclusion::{AggregateMessageOrigin, UmpQueueId}, }; pub use std::{collections::HashMap, thread::LocalKey}; pub use xcm::{v3::prelude::*, VersionedXcm}; @@ -164,7 +165,7 @@ pub trait NetworkComponent { } } -pub trait RelayChain: UmpSink { +pub trait RelayChain: ProcessMessage { type Runtime; type RuntimeOrigin; type RuntimeCall; @@ -198,14 +199,15 @@ macro_rules! decl_test_relay_chains { genesis = $genesis:expr, on_init = $on_init:expr, runtime = { - Runtime: $($runtime:tt)::*, - RuntimeOrigin: $($runtime_origin:tt)::*, - RuntimeCall: $($runtime_call:tt)::*, - RuntimeEvent: $($runtime_event:tt)::*, - XcmConfig: $($xcm_config:tt)::*, - SovereignAccountOf: $($sovereign_acc_of:tt)::*, - System: $($system:tt)::*, - Balances: $($balances:tt)::*, + Runtime: $runtime:path, + RuntimeOrigin: $runtime_origin:path, + RuntimeCall: $runtime_call:path, + RuntimeEvent: $runtime_event:path, + MessageQueue: $mq:path, + XcmConfig: $xcm_config:path, + SovereignAccountOf: $sovereign_acc_of:path, + System: $system:path, + Balances: $balances:path, }, pallets_extra = { $($pallet_name:ident: $pallet_path:path,)* @@ -218,14 +220,14 @@ macro_rules! decl_test_relay_chains { pub struct $name; impl RelayChain for $name { - type Runtime = $($runtime)::*; - type RuntimeOrigin = $($runtime_origin)::*; - type RuntimeCall = $($runtime_call)::*; - type RuntimeEvent = $($runtime_event)::*; - type XcmConfig = $($xcm_config)::*; - type SovereignAccountOf = $($sovereign_acc_of)::*; - type System = $($system)::*; - type Balances = $($balances)::*; + type Runtime = $runtime; + type RuntimeOrigin = $runtime_origin; + type RuntimeCall = $runtime_call; + type RuntimeEvent = $runtime_event; + type XcmConfig = $xcm_config; + type SovereignAccountOf = $sovereign_acc_of; + type System = $system; + type Balances = $balances; } $crate::paste::paste! { @@ -242,31 +244,43 @@ macro_rules! decl_test_relay_chains { } } - $crate::__impl_xcm_handlers_for_relay_chain!($name); - $crate::__impl_test_ext_for_relay_chain!($name, $genesis, $on_init); - )+ - }; -} + impl $crate::ProcessMessage for $name { + type Origin = $crate::ParaId; -#[macro_export] -macro_rules! __impl_xcm_handlers_for_relay_chain { - ($name:ident) => { - impl $crate::UmpSink for $name { - fn process_upward_message( - origin: $crate::ParaId, - msg: &[u8], - max_weight: $crate::Weight, - ) -> Result<$crate::Weight, ($crate::MessageId, $crate::Weight)> { - use $crate::{TestExt, UmpSink}; - - Self::execute_with(|| { - $crate::XcmSink::< - $crate::XcmExecutor<::XcmConfig>, - ::Runtime, - >::process_upward_message(origin, msg, max_weight) - }) + fn process_message( + msg: &[u8], + para: Self::Origin, + meter: &mut $crate::WeightMeter, + ) -> Result { + use $crate::{Weight, AggregateMessageOrigin, UmpQueueId, ServiceQueues, EnqueueMessage}; + use $mq as message_queue; + use $runtime_event as runtime_event; + + Self::execute_with(|| { + <$mq as EnqueueMessage>::enqueue_message( + msg.try_into().expect("Message too long"), + AggregateMessageOrigin::Ump(UmpQueueId::Para(para.clone())) + ); + + <$system>::reset_events(); + <$mq as ServiceQueues>::service_queues(Weight::MAX); + let events = <$system>::events(); + let event = events.last().expect("There must be at least one event"); + + match &event.event { + runtime_event::MessageQueue( + $crate::pallet_message_queue::Event::Processed {origin, ..}) => { + assert_eq!(origin, &AggregateMessageOrigin::Ump(UmpQueueId::Para(para))); + }, + event => panic!("Unexpected event: {:#?}", event), + } + Ok(true) + }) + } } - } + + $crate::__impl_test_ext_for_relay_chain!($name, $genesis, $on_init); + )+ }; } @@ -800,12 +814,13 @@ macro_rules! decl_test_networks { } fn _process_upward_messages() { - use $crate::{UmpSink, Bounded}; + use $crate::{Bounded, ProcessMessage, WeightMeter}; while let Some((from_para_id, msg)) = $crate::UPWARD_MESSAGES.with(|b| b.borrow_mut().get_mut(stringify!($name)).unwrap().pop_front()) { - let _ = <$relay_chain>::process_upward_message( - from_para_id.into(), + let mut weight_meter = WeightMeter::max_limit(); + let _ = <$relay_chain>::process_message( &msg[..], - $crate::Weight::max_value(), + from_para_id.into(), + &mut weight_meter, ); } } From ba77abbce1fe4b4c0d1de1afefaa4a9d33b10955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sun, 21 May 2023 00:48:58 +0200 Subject: [PATCH 2/3] Fix test and use correct types --- pallets/parachain-system/src/lib.rs | 4 ++-- pallets/parachain-system/src/relay_state_snapshot.rs | 8 ++++---- pallets/parachain-system/src/tests.rs | 6 +++--- test/relay-sproof-builder/src/lib.rs | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pallets/parachain-system/src/lib.rs b/pallets/parachain-system/src/lib.rs index 504f4670f48..5f7e1501570 100644 --- a/pallets/parachain-system/src/lib.rs +++ b/pallets/parachain-system/src/lib.rs @@ -245,9 +245,9 @@ pub mod pallet { // available_capacity and available_size. let num = up .iter() - .scan((available_capacity as u64, available_size as u64), |state, msg| { + .scan((available_capacity as usize, available_size as usize), |state, msg| { let (cap_left, size_left) = *state; - match (cap_left.checked_sub(1), size_left.checked_sub(msg.len() as u64)) { + match (cap_left.checked_sub(1), size_left.checked_sub(msg.len())) { (Some(new_cap), Some(new_size)) => { *state = (new_cap, new_size); Some(()) diff --git a/pallets/parachain-system/src/relay_state_snapshot.rs b/pallets/parachain-system/src/relay_state_snapshot.rs index fcd02f16fcf..0847dfe7cd0 100644 --- a/pallets/parachain-system/src/relay_state_snapshot.rs +++ b/pallets/parachain-system/src/relay_state_snapshot.rs @@ -30,9 +30,9 @@ use sp_trie::{HashDBT, MemoryDB, StorageProof, EMPTY_PREFIX}; #[derive(Clone, Encode, Decode, TypeInfo, Default)] pub struct RelayDispachQueueSize { /// The number of additional messages that can be enqueued. - pub remaining_count: u64, + pub remaining_count: u32, /// The total size of additional messages that can be enqueued. - pub remaining_size: u64, + pub remaining_size: u32, } /// A snapshot of some messaging related state of relay chain pertaining to the current parachain. @@ -210,8 +210,8 @@ impl RelayChainStateProof { let remaining_count = host_config.max_upward_queue_count.saturating_sub(res.0); let remaining_size = host_config.max_upward_queue_size.saturating_sub(res.1); RelayDispachQueueSize { - remaining_count: remaining_count.into(), - remaining_size: remaining_size.into(), + remaining_count, + remaining_size, } }, }; diff --git a/pallets/parachain-system/src/tests.rs b/pallets/parachain-system/src/tests.rs index cfbe834983c..d1dd6a83736 100755 --- a/pallets/parachain-system/src/tests.rs +++ b/pallets/parachain-system/src/tests.rs @@ -513,7 +513,7 @@ fn send_upward_message_num_per_candidate() { BlockTests::new() .with_relay_sproof_builder(|_, _, sproof| { sproof.host_config.max_upward_message_num_per_candidate = 1; - sproof.relay_dispatch_queue_size = None; + sproof.relay_dispatch_queue_remaining_capacity = None; }) .add_with_post_test( 1, @@ -544,8 +544,8 @@ fn send_upward_message_relay_bottleneck() { sproof.host_config.max_upward_queue_count = 5; match relay_block_num { - 1 => sproof.relay_dispatch_queue_size = Some((5, 0)), - 2 => sproof.relay_dispatch_queue_size = Some((4, 0)), + 1 => sproof.relay_dispatch_queue_remaining_capacity = Some((0, 2048)), + 2 => sproof.relay_dispatch_queue_remaining_capacity = Some((1, 2048)), _ => unreachable!(), } }) diff --git a/test/relay-sproof-builder/src/lib.rs b/test/relay-sproof-builder/src/lib.rs index 7cda44acf49..fd98899ed3b 100644 --- a/test/relay-sproof-builder/src/lib.rs +++ b/test/relay-sproof-builder/src/lib.rs @@ -38,7 +38,7 @@ pub struct RelayStateSproofBuilder { pub host_config: AbridgedHostConfiguration, pub dmq_mqc_head: Option, pub upgrade_go_ahead: Option, - pub relay_dispatch_queue_size: Option<(u64, u64)>, + pub relay_dispatch_queue_remaining_capacity: Option<(u32, u32)>, pub hrmp_ingress_channel_index: Option>, pub hrmp_egress_channel_index: Option>, pub hrmp_channels: BTreeMap, @@ -65,7 +65,7 @@ impl Default for RelayStateSproofBuilder { }, dmq_mqc_head: None, upgrade_go_ahead: None, - relay_dispatch_queue_size: None, + relay_dispatch_queue_remaining_capacity: None, hrmp_ingress_channel_index: None, hrmp_egress_channel_index: None, hrmp_channels: BTreeMap::new(), @@ -124,7 +124,7 @@ impl RelayStateSproofBuilder { dmq_mqc_head.encode(), ); } - if let Some(relay_dispatch_queue_size) = self.relay_dispatch_queue_size { + if let Some(relay_dispatch_queue_size) = self.relay_dispatch_queue_remaining_capacity { insert( relay_chain::well_known_keys::relay_dispatch_queue_remaining_capacity( self.para_id, From deccc753d0af5b17804dd866e667a26e5f2dc275 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Sat, 20 May 2023 23:55:20 +0000 Subject: [PATCH 3/3] ".git/.scripts/commands/fmt/fmt.sh" --- pallets/parachain-system/src/relay_state_snapshot.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pallets/parachain-system/src/relay_state_snapshot.rs b/pallets/parachain-system/src/relay_state_snapshot.rs index 0847dfe7cd0..e3763549d44 100644 --- a/pallets/parachain-system/src/relay_state_snapshot.rs +++ b/pallets/parachain-system/src/relay_state_snapshot.rs @@ -209,10 +209,7 @@ impl RelayChainStateProof { let remaining_count = host_config.max_upward_queue_count.saturating_sub(res.0); let remaining_size = host_config.max_upward_queue_size.saturating_sub(res.1); - RelayDispachQueueSize { - remaining_count, - remaining_size, - } + RelayDispachQueueSize { remaining_count, remaining_size } }, };