op_reth::evm

Function revm_spec_by_timestamp_after_bedrock

pub fn revm_spec_by_timestamp_after_bedrock(
    chain_spec: &OpChainSpec,
    timestamp: u64,
) -> SpecId
Available on crate feature optimism only.
Expand description

Returns the revm SpecId at the given timestamp.

ยงNote

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