From 1a774d4c0c05f2c289a1c9ba5c216744cbb7a5bf Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 27 May 2024 11:16:21 +0300 Subject: [PATCH] Support subcommand to relay messages delivery confirmation (#2989) * subcommand to relay messages range * fmt * support subcommand to relay messages delivery confrmation * deps to master --- Cargo.lock | 249 +++++++++++----------- substrate-relay/src/cli/mod.rs | 3 + substrate-relay/src/cli/relay_messages.rs | 50 ++++- 3 files changed, 178 insertions(+), 124 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4cc723a3f0..b85dc17296 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1111,7 +1111,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1126,7 +1126,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-kusama" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1140,7 +1140,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-polkadot" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1154,7 +1154,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-rococo" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1168,7 +1168,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-westend" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1182,7 +1182,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1199,7 +1199,7 @@ dependencies = [ [[package]] name = "bp-kusama" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1212,7 +1212,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1227,7 +1227,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1244,7 +1244,7 @@ dependencies = [ [[package]] name = "bp-polkadot" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1257,7 +1257,7 @@ dependencies = [ [[package]] name = "bp-polkadot-bulletin" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-messages", @@ -1275,7 +1275,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-messages", "bp-runtime", @@ -1293,7 +1293,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-messages", "bp-runtime", @@ -1307,7 +1307,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1320,7 +1320,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-system", @@ -1343,7 +1343,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-parachains", @@ -1363,7 +1363,7 @@ dependencies = [ [[package]] name = "bp-westend" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1376,7 +1376,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=master)", ] @@ -1384,7 +1384,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -1395,7 +1395,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-messages", @@ -2591,7 +2591,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "equivocation-detector" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-std", "async-trait", @@ -2782,7 +2782,7 @@ dependencies = [ [[package]] name = "finality-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-std", "async-trait", @@ -2881,7 +2881,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-support-procedural", @@ -2929,7 +2929,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "aquamarine", "array-bytes", @@ -2970,7 +2970,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "Inflector", "cfg-expr", @@ -2989,7 +2989,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3001,7 +3001,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "proc-macro2 1.0.83", "quote 1.0.36", @@ -3011,7 +3011,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "cfg-if", "docify", @@ -4603,8 +4603,9 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.3.0" -source = "git+https://github.com/paritytech/litep2p?rev=e03a6023882db111beeb24d8c0ceaac0721d3f0f#e03a6023882db111beeb24d8c0ceaac0721d3f0f" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adf107268459b653df189050c9ae2301253b9c62ceafa993dc69dad29870155c" dependencies = [ "async-trait", "bs58 0.4.0", @@ -4855,7 +4856,7 @@ dependencies = [ [[package]] name = "messages-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-std", "async-trait", @@ -5419,7 +5420,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-system", @@ -5433,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "docify", "frame-benchmarking", @@ -5449,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-runtime", @@ -5470,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-messages", "bp-runtime", @@ -5488,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-header-chain", "bp-parachains", @@ -5509,7 +5510,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bp-messages", "bp-relayers", @@ -5529,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-benchmarking", "frame-support", @@ -5552,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-system", @@ -5574,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "docify", "frame-benchmarking", @@ -5594,7 +5595,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-system", @@ -5610,7 +5611,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5622,7 +5623,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-benchmarking", "frame-support", @@ -5638,7 +5639,7 @@ dependencies = [ [[package]] name = "parachains-relay" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-std", "async-trait", @@ -5916,7 +5917,7 @@ checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -5928,7 +5929,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bounded-collections", "derive_more", @@ -5945,7 +5946,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bitvec", "hex-literal", @@ -6939,7 +6940,7 @@ dependencies = [ [[package]] name = "relay-substrate-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-std", "async-trait", @@ -6981,7 +6982,7 @@ dependencies = [ [[package]] name = "relay-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "ansi_term", "anyhow", @@ -7356,7 +7357,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "log", "sp-core", @@ -7367,7 +7368,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "array-bytes", "docify", @@ -7394,7 +7395,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2 1.0.83", @@ -7405,7 +7406,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "fnv", "futures", @@ -7432,7 +7433,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "futures", @@ -7457,7 +7458,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -7480,7 +7481,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "polkavm", "sc-allocator", @@ -7493,7 +7494,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "log", "polkavm", @@ -7504,7 +7505,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "anyhow", "cfg-if", @@ -7522,7 +7523,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -7551,7 +7552,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -7602,7 +7603,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7620,21 +7621,23 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bs58 0.5.1", + "ed25519-dalek 2.1.1", "libp2p-identity", "litep2p", "multiaddr", "multihash 0.17.0", "rand 0.8.5", "thiserror", + "zeroize", ] [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -7654,7 +7657,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "chrono", "futures", @@ -7674,7 +7677,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "futures", @@ -7690,7 +7693,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-channel 1.9.0", "futures", @@ -8406,7 +8409,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "hash-db", "log", @@ -8428,7 +8431,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "Inflector", "blake2 0.10.6", @@ -8442,7 +8445,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8455,7 +8458,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "docify", "integer-sqrt", @@ -8488,7 +8491,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8500,7 +8503,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "futures", "log", @@ -8518,7 +8521,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "futures", @@ -8533,7 +8536,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "finality-grandpa", "log", @@ -8550,7 +8553,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8561,7 +8564,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "array-bytes", "bandersnatch_vrfs", @@ -8608,7 +8611,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -8642,7 +8645,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "blake2b_simd", "byteorder", @@ -8655,7 +8658,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "quote 1.0.36", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=master)", @@ -8665,7 +8668,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -8674,7 +8677,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "proc-macro2 1.0.83", "quote 1.0.36", @@ -8684,7 +8687,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "proc-macro2 1.0.83", "quote 1.0.36", @@ -8694,7 +8697,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "environmental", "parity-scale-codec", @@ -8704,7 +8707,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "environmental", "parity-scale-codec", @@ -8714,7 +8717,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8726,7 +8729,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -8739,7 +8742,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bytes", "ed25519-dalek 2.1.1", @@ -8765,7 +8768,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "sp-core", "sp-runtime", @@ -8775,7 +8778,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -8786,7 +8789,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "thiserror", "zstd 0.12.4", @@ -8795,7 +8798,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -8805,7 +8808,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8816,7 +8819,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "backtrace", "lazy_static", @@ -8826,7 +8829,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "rustc-hash", "serde", @@ -8836,7 +8839,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "docify", "either", @@ -8861,7 +8864,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -8880,7 +8883,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -8899,7 +8902,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "Inflector", "expander", @@ -8912,7 +8915,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "Inflector", "expander", @@ -8925,7 +8928,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "scale-info", @@ -8939,7 +8942,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8952,7 +8955,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "hash-db", "log", @@ -8972,7 +8975,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.2", @@ -8996,17 +8999,17 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9018,7 +9021,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9030,7 +9033,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "async-trait", "parity-scale-codec", @@ -9042,7 +9045,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "tracing", @@ -9053,7 +9056,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "tracing", @@ -9064,7 +9067,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "ahash 0.8.11", "hash-db", @@ -9087,7 +9090,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9104,7 +9107,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "parity-scale-codec", "proc-macro2 1.0.83", @@ -9115,7 +9118,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9127,7 +9130,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "impl-trait-for-tuples", "log", @@ -9137,7 +9140,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9194,7 +9197,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "array-bytes", "bounded-collections", @@ -9212,7 +9215,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "frame-support", "frame-system", @@ -9234,7 +9237,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "environmental", "frame-benchmarking", @@ -9339,7 +9342,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -9351,7 +9354,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "hyper", "log", @@ -9417,7 +9420,7 @@ dependencies = [ [[package]] name = "substrate-relay-helper" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "anyhow", "async-std", @@ -11219,7 +11222,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#2c48b9ddb0a5de4499d4ed699b79eacc354f016a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=master#0a752afa8646ae7b5818493f64ceab3011faf236" dependencies = [ "Inflector", "proc-macro2 1.0.83", diff --git a/substrate-relay/src/cli/mod.rs b/substrate-relay/src/cli/mod.rs index 55c7cca3b9..0675f40d8f 100644 --- a/substrate-relay/src/cli/mod.rs +++ b/substrate-relay/src/cli/mod.rs @@ -64,6 +64,8 @@ pub enum Command { RelayMessages(relay_messages::RelayMessages), /// Relay a range of messages. RelayMessagesRange(relay_messages::RelayMessagesRange), + /// Relay messages delivery confirmation. + RelayMessagesDeliveryConfirmation(relay_messages::RelayMessagesDeliveryConfirmation), /// Start headers and messages relay between two Substrate chains. /// /// This high-level relay internally starts four low-level relays: two `RelayHeaders` @@ -112,6 +114,7 @@ impl Command { Self::RelayParachainHead(arg) => arg.run().await?, Self::RelayMessages(arg) => arg.run().await?, Self::RelayMessagesRange(arg) => arg.run().await?, + Self::RelayMessagesDeliveryConfirmation(arg) => arg.run().await?, Self::RelayHeadersAndMessages(arg) => arg.run().await?, Self::DetectEquivocations(arg) => arg.run().await?, } diff --git a/substrate-relay/src/cli/relay_messages.rs b/substrate-relay/src/cli/relay_messages.rs index da6d5b6b0b..4776b0add7 100644 --- a/substrate-relay/src/cli/relay_messages.rs +++ b/substrate-relay/src/cli/relay_messages.rs @@ -36,7 +36,8 @@ use crate::bridges::{ }, }; use substrate_relay_helper::cli::relay_messages::{ - MessagesRelayer, RelayMessagesParams, RelayMessagesRangeParams, + MessagesRelayer, RelayMessagesDeliveryConfirmationParams, RelayMessagesParams, + RelayMessagesRangeParams, }; #[derive(Debug, PartialEq, Eq, EnumString, VariantNames)] @@ -73,6 +74,16 @@ pub struct RelayMessagesRange { params: RelayMessagesRangeParams, } +/// Relay messages delivery confirmation. +#[derive(StructOpt)] +pub struct RelayMessagesDeliveryConfirmation { + /// A bridge instance to relay messages for. + #[structopt(possible_values = FullBridge::VARIANTS, case_insensitive = true)] + bridge: FullBridge, + #[structopt(flatten)] + params: RelayMessagesDeliveryConfirmationParams, +} + impl MessagesRelayer for BridgeHubRococoToBridgeHubWestendMessagesCliBridge {} impl MessagesRelayer for BridgeHubWestendToBridgeHubRococoMessagesCliBridge {} impl MessagesRelayer for BridgeHubKusamaToBridgeHubPolkadotMessagesCliBridge {} @@ -143,3 +154,40 @@ impl RelayMessagesRange { .await } } + +impl RelayMessagesDeliveryConfirmation { + /// Run the command. + pub async fn run(self) -> anyhow::Result<()> { + match self.bridge { + FullBridge::BridgeHubRococoToBridgeHubWestend => + BridgeHubRococoToBridgeHubWestendMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::BridgeHubWestendToBridgeHubRococo => + BridgeHubWestendToBridgeHubRococoMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::BridgeHubKusamaToBridgeHubPolkadot => + BridgeHubKusamaToBridgeHubPolkadotMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::BridgeHubPolkadotToBridgeHubKusama => + BridgeHubPolkadotToBridgeHubKusamaMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::PolkadotBulletinToBridgeHubPolkadot => + PolkadotBulletinToBridgeHubPolkadotMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::BridgeHubPolkadotToPolkadotBulletin => + BridgeHubPolkadotToPolkadotBulletinMessagesCliBridge::relay_messages_delivery_confirmation( + self.params, + ), + FullBridge::RococoBulletinToBridgeHubRococo => + RococoBulletinToBridgeHubRococoMessagesCliBridge::relay_messages_delivery_confirmation(self.params), + FullBridge::BridgeHubRococoToRococoBulletin => + BridgeHubRococoToRococoBulletinMessagesCliBridge::relay_messages_delivery_confirmation(self.params), + } + .await + } +}