Merge remote-tracking branch 'origin/master' into gav-xcm-v3

This commit is contained in:
Branislav Kontur
2022-11-07 11:38:53 +01:00
119 changed files with 4558 additions and 2716 deletions
+3 -3
View File
@@ -5,10 +5,10 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
[dependencies]
async-trait = { version = "0.1.57", optional = true }
async-trait = { version = "0.1.58", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
scale-info = { version = "2.2.0", default-features = false, features = ["derive"] }
tracing = { version = "0.1.36", optional = true }
scale-info = { version = "2.3.0", default-features = false, features = ["derive"] }
tracing = { version = "0.1.37", optional = true }
# Substrate
sc-client-api = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" }
+2 -3
View File
@@ -20,7 +20,6 @@ use cumulus_primitives_core::{
relay_chain, InboundDownwardMessage, InboundHrmpMessage, ParaId, PersistedValidationData,
};
use sc_client_api::{Backend, StorageProvider};
use sp_api::BlockId;
use sp_core::twox_128;
use sp_inherents::{InherentData, InherentDataProvider};
use sp_runtime::traits::Block;
@@ -116,7 +115,7 @@ impl MockXcmConfig {
) -> Self {
let starting_dmq_mqc_head = client
.storage(
&BlockId::Hash(parent_block),
&parent_block,
&sp_storage::StorageKey(
[twox_128(&parachain_system_name.0), twox_128(b"LastDmqMqcHead")]
.concat()
@@ -131,7 +130,7 @@ impl MockXcmConfig {
let starting_hrmp_mqc_heads = client
.storage(
&BlockId::Hash(parent_block),
&parent_block,
&sp_storage::StorageKey(
[twox_128(&parachain_system_name.0), twox_128(b"LastHrmpMqcHeads")]
.concat()