mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: Canyon timestamp overflow (#6990)
This commit is contained in:
@ -251,7 +251,7 @@ where
|
||||
// chain is an optimism chain, then we need to force-deploy the create2 deployer contract.
|
||||
if chain_spec.is_optimism() &&
|
||||
chain_spec.is_fork_active_at_timestamp(Hardfork::Canyon, timestamp) &&
|
||||
!chain_spec.is_fork_active_at_timestamp(Hardfork::Canyon, timestamp - 2)
|
||||
!chain_spec.is_fork_active_at_timestamp(Hardfork::Canyon, timestamp.saturating_sub(2))
|
||||
{
|
||||
trace!(target: "evm", "Forcing create2 deployer contract deployment on Canyon transition");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user