Skip to content

Commit 262b4c1

Browse files
committed
Fix holocene migration check
1 parent 53c47fa commit 262b4c1

File tree

1 file changed

+2
-2
lines changed
  • crates/op-evm/src/block/holocene

1 file changed

+2
-2
lines changed

crates/op-evm/src/block/holocene/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ where
2323
// If the granite hardfork is active at the current timestamp, and it was not active at the
2424
// previous block timestamp (heuristically, block time is not perfectly constant at 2s), and the
2525
// chain is an optimism chain, then we need to upgrade the frax/sfrax contracts.
26-
if chain_spec.is_granite_active_at_timestamp(timestamp)
27-
&& !chain_spec.is_granite_active_at_timestamp(timestamp.saturating_sub(2))
26+
if chain_spec.is_holocene_active_at_timestamp(timestamp)
27+
&& !chain_spec.is_holocene_active_at_timestamp(timestamp.saturating_sub(2))
2828
{
2929
info!(target: "evm", "Forcing frax upgrades on Holocne transition");
3030

0 commit comments

Comments
 (0)