From 2dc7f13474afee1cb6a17a9328cdbd573a644ecf Mon Sep 17 00:00:00 2001 From: clabby Date: Wed, 21 Aug 2024 17:49:51 -0400 Subject: [PATCH] chore: Update granite mainnet time (#10430) --- crates/chainspec/src/spec.rs | 8 ++++---- crates/ethereum-forks/src/hardfork/optimism.rs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/chainspec/src/spec.rs b/crates/chainspec/src/spec.rs index 588e083e89e2..8ce82b057b60 100644 --- a/crates/chainspec/src/spec.rs +++ b/crates/chainspec/src/spec.rs @@ -1691,11 +1691,11 @@ Post-merge hard forks (timestamp based): ), ( Head { number: 0, timestamp: 1720627201, ..Default::default() }, - ForkId { hash: ForkHash([0xe4, 0x01, 0x0e, 0xb9]), next: 1725984001 }, + ForkId { hash: ForkHash([0xe4, 0x01, 0x0e, 0xb9]), next: 1726070401 }, ), ( - Head { number: 0, timestamp: 1725984001, ..Default::default() }, - ForkId { hash: ForkHash([0xfa, 0x57, 0x86, 0x01]), next: 0 }, + Head { number: 0, timestamp: 1726070401, ..Default::default() }, + ForkId { hash: ForkHash([0xbc, 0x38, 0xf9, 0xca]), next: 0 }, ), ], ); @@ -2653,7 +2653,7 @@ Post-merge hard forks (timestamp based): #[test] fn latest_base_mainnet_fork_id() { assert_eq!( - ForkId { hash: ForkHash([0xfa, 0x57, 0x86, 0x01]), next: 0 }, + ForkId { hash: ForkHash([0xbc, 0x38, 0xf9, 0xca]), next: 0 }, BASE_MAINNET.latest_fork_id() ) } diff --git a/crates/ethereum-forks/src/hardfork/optimism.rs b/crates/ethereum-forks/src/hardfork/optimism.rs index e9c83dc072ae..056f531e0270 100644 --- a/crates/ethereum-forks/src/hardfork/optimism.rs +++ b/crates/ethereum-forks/src/hardfork/optimism.rs @@ -187,7 +187,7 @@ impl OptimismHardfork { Self::Canyon => Some(1704992401), Self::Ecotone => Some(1710374401), Self::Fjord => Some(1720627201), - Self::Granite => Some(1725984001), + Self::Granite => Some(1726070401), }, ) } @@ -219,7 +219,7 @@ impl OptimismHardfork { (EthereumHardfork::Cancun.boxed(), ForkCondition::Timestamp(1710374401)), (Self::Ecotone.boxed(), ForkCondition::Timestamp(1710374401)), (Self::Fjord.boxed(), ForkCondition::Timestamp(1720627201)), - (Self::Granite.boxed(), ForkCondition::Timestamp(1725984001)), + (Self::Granite.boxed(), ForkCondition::Timestamp(1726070401)), ]) } @@ -312,7 +312,7 @@ impl OptimismHardfork { (EthereumHardfork::Cancun.boxed(), ForkCondition::Timestamp(1710374401)), (Self::Ecotone.boxed(), ForkCondition::Timestamp(1710374401)), (Self::Fjord.boxed(), ForkCondition::Timestamp(1720627201)), - (Self::Granite.boxed(), ForkCondition::Timestamp(1725984001)), + (Self::Granite.boxed(), ForkCondition::Timestamp(1726070401)), ]) } }