Function revm_spec_by_timestamp_after_bedrock

Source
pub fn revm_spec_by_timestamp_after_bedrock(
    chain_spec: impl OpHardforks,
    timestamp: u64,
) -> OpSpecId
Expand description

Returns the revm [OpSpecId] at the given timestamp.

§Note

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