Skip to content

Commit

Permalink
feat: ecotone mainnet time
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Feb 18, 2024
1 parent 3f27c28 commit da30a40
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ impl ChainConfig {
blocktime: 2,
regolith_time: 0,
canyon_time: 170499240,
ecotone_time: u64::MAX, // TODO(nicolas): update when ecotone times are known
delta_time: u64::MAX,
delta_time: 1708560000,
ecotone_time: 1710781201,
}
}

Expand Down Expand Up @@ -406,8 +406,8 @@ impl ChainConfig {
blocktime: 2,
regolith_time: 0,
canyon_time: 1704992401,
delta_time: u64::MAX,
ecotone_time: u64::MAX, // TODO(nicolas): update when ecotone times are known
delta_time: 1708560000,
ecotone_time: 1710781201,
}
}

Expand Down Expand Up @@ -770,6 +770,7 @@ mod test {
"regolith_time": 1,
"canyon_time": 2,
"delta_time": 3,
"ecotone_time": 4,
"batch_inbox_address": "0xff00000000000000000000000000000000000000",
"deposit_contract_address": "0x6900000000000000000000000000000000000001",
"l1_system_config_address": "0x6900000000000000000000000000000000000009"
Expand Down Expand Up @@ -818,6 +819,7 @@ mod test {
assert_eq!(chain.regolith_time, 1);
assert_eq!(chain.canyon_time, 2);
assert_eq!(chain.delta_time, 3);
assert_eq!(chain.ecotone_time, 4);
assert_eq!(chain.blocktime, 2);
assert_eq!(
chain.l2_to_l1_message_passer,
Expand Down

0 comments on commit da30a40

Please sign in to comment.