Skip to content

Commit

Permalink
feat(primitives): Add Base Mainnet Ecotone fork time (#6806)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Feb 26, 2024
1 parent ce28fe3 commit 54db85a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/primitives/src/chain/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,11 @@ pub static BASE_MAINNET: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
genesis_hash: Some(b256!(
"f712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd"
)),
fork_timestamps: ForkTimestamps::default().shanghai(1704992401).canyon(1704992401),
fork_timestamps: ForkTimestamps::default()
.shanghai(1704992401)
.canyon(1704992401)
.cancun(1710374401)
.ecotone(1710374401),
paris_block_and_final_difficulty: Some((0, U256::from(0))),
hardforks: BTreeMap::from([
(Hardfork::Frontier, ForkCondition::Block(0)),
Expand All @@ -446,6 +450,7 @@ pub static BASE_MAINNET: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
(Hardfork::Regolith, ForkCondition::Timestamp(0)),
(Hardfork::Shanghai, ForkCondition::Timestamp(1704992401)),
(Hardfork::Canyon, ForkCondition::Timestamp(1704992401)),
(Hardfork::Ecotone, ForkCondition::Timestamp(1710374401)),
]),
base_fee_params: BaseFeeParamsKind::Variable(
vec![
Expand Down

0 comments on commit 54db85a

Please sign in to comment.