BlockId removal: &Hash to Hash (#1818)

* BlockId removal: &Hash to Hash

It changes &Block::Hash argument to Block::Hash.

This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Michal Kucharczyk
2022-11-07 23:48:44 +01:00
committed by GitHub
parent 4f8f6a08e1
commit eb4aabf86a
4 changed files with 259 additions and 259 deletions
@@ -115,7 +115,7 @@ impl MockXcmConfig {
) -> Self {
let starting_dmq_mqc_head = client
.storage(
&parent_block,
parent_block,
&sp_storage::StorageKey(
[twox_128(&parachain_system_name.0), twox_128(b"LastDmqMqcHead")]
.concat()
@@ -130,7 +130,7 @@ impl MockXcmConfig {
let starting_hrmp_mqc_heads = client
.storage(
&parent_block,
parent_block,
&sp_storage::StorageKey(
[twox_128(&parachain_system_name.0), twox_128(b"LastHrmpMqcHeads")]
.concat()