Trait pallet_evm::BlockHashMapping
source · pub trait BlockHashMapping {
// Required method
fn block_hash(number: u32) -> H256;
}
Expand description
A trait for getting a block hash by number.
Required Methods§
fn block_hash(number: u32) -> H256
Object Safety§
This trait is not object safe.