reth_evm_ethereum

Function revm_spec_by_timestamp_after_merge

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

Returns the revm SpecId at the given timestamp.

ยงNote

This is only intended to be used after the merge, when hardforks are activated by timestamp.