mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 22:45:40 +00:00
BlockId removal: refactor: Backend::begin_state_operation (#12541)
It changes the arguments of `Backend::begin_state_operation` from: block: `BlockId<Block>` to: hash: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
This commit is contained in:
committed by
GitHub
parent
bf57a2e92d
commit
c0e8abe1a8
@@ -586,8 +586,7 @@ where
|
||||
Some(storage_changes) => {
|
||||
let storage_changes = match storage_changes {
|
||||
sc_consensus::StorageChanges::Changes(storage_changes) => {
|
||||
self.backend
|
||||
.begin_state_operation(&mut operation.op, BlockId::Hash(parent_hash))?;
|
||||
self.backend.begin_state_operation(&mut operation.op, &parent_hash)?;
|
||||
let (main_sc, child_sc, offchain_sc, tx, _, tx_index) =
|
||||
storage_changes.into_inner();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user