mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
This commit is contained in:
@@ -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" }
|
||||
|
||||
@@ -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(¶chain_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(¶chain_system_name.0), twox_128(b"LastHrmpMqcHeads")]
|
||||
.concat()
|
||||
|
||||
Reference in New Issue
Block a user