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 5853870 commit 01413b9
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 @@ -326,8 +326,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 @@ -450,8 +450,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 @@ -850,6 +850,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 @@ -898,6 +899,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 01413b9

Please sign in to comment.