pub trait OverrideBlockHashes {
// Required method
fn override_block_hashes(
&mut self,
block_hashes: BTreeMap<u64, FixedBytes<32>>,
);
}
Available on crate feature
rpc
only.Expand description
Helper trait implemented for databases that support overriding block hashes.
Used for applying BlockOverrides::block_hash
Required Methods§
Sourcefn override_block_hashes(&mut self, block_hashes: BTreeMap<u64, FixedBytes<32>>)
fn override_block_hashes(&mut self, block_hashes: BTreeMap<u64, FixedBytes<32>>)
Overrides the given block hashes.