change HashFor to HashingFor (#14483)

* change HashFor to HashingFor

* fmt

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Marijn Schouten
2023-07-25 18:24:14 +02:00
committed by GitHub
parent 00787a10e9
commit c9b54e10ff
26 changed files with 180 additions and 161 deletions
@@ -25,7 +25,7 @@ use std::{sync::Arc, time::Duration};
use futures::prelude::*;
use sp_runtime::{
traits::{Block as BlockT, HashFor},
traits::{Block as BlockT, HashingFor},
Digest,
};
use sp_state_machine::StorageProof;
@@ -97,7 +97,7 @@ pub struct Proposal<Block: BlockT, Transaction, Proof> {
/// Proof that was recorded while building the block.
pub proof: Proof,
/// The storage changes while building this block.
pub storage_changes: sp_state_machine::StorageChanges<Transaction, HashFor<Block>>,
pub storage_changes: sp_state_machine::StorageChanges<Transaction, HashingFor<Block>>,
}
/// Error that is returned when [`ProofRecording`] requested to record a proof,