Function revm_spec_by_timestamp_and_block_number

Source
pub fn revm_spec_by_timestamp_and_block_number(
    chain_spec: &ChainSpec,
    timestamp: u64,
    block_number: u64,
) -> SpecId
Expand description

Map the latest active hardfork at the given timestamp or block number to a revm [SpecId].