Skip to main content

spec_id_by_timestamp_and_block_number

Function spec_id_by_timestamp_and_block_number 

Source
pub fn spec_id_by_timestamp_and_block_number<C>(
    chain_spec: &C,
    timestamp: u64,
    block_number: u64,
) -> SpecId
Available on crate feature evm only.
Expand description

Map the latest active Ethereum hardfork at timestamp or block_number to a [SpecId].