Skip to content

Commit 6c4d199

Browse files
feat(chainspec): set Mainnet Unzen fork time (#217)
Activate the Unzen hardfork on Taiko Mainnet at 2026-08-06 13:00:00 UTC (timestamp 1_786_021_200), replacing the previous `ForkCondition::Never`. Mirrors the Hoodi activation from #210. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ab87808 commit 6c4d199

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

crates/chainspec/src/hardfork.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub static TAIKO_MAINNET_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(||
7272
(TaikoHardfork::Ontake.boxed(), ForkCondition::Block(538_304)),
7373
(TaikoHardfork::Pacaya.boxed(), ForkCondition::Block(1_166_000)),
7474
(TaikoHardfork::Shasta.boxed(), ForkCondition::Timestamp(1_775_135_700)),
75-
(TaikoHardfork::Unzen.boxed(), ForkCondition::Never),
75+
(TaikoHardfork::Unzen.boxed(), ForkCondition::Timestamp(1_786_021_200)),
7676
]))
7777
});
7878

@@ -283,6 +283,13 @@ mod test {
283283
assert_eq!(shasta, ForkCondition::Timestamp(1_775_135_700));
284284
}
285285

286+
#[test]
287+
fn test_mainnet_unzen_timestamp() {
288+
let unzen = TAIKO_MAINNET_HARDFORKS.fork(TaikoHardfork::Unzen);
289+
assert!(unzen.is_timestamp(), "unzen activation should be timestamp-based");
290+
assert_eq!(unzen, ForkCondition::Timestamp(1_786_021_200));
291+
}
292+
286293
#[test]
287294
fn test_hoodi_shasta_timestamp() {
288295
let shasta = TAIKO_HOODI_HARDFORKS.fork(TaikoHardfork::Shasta);

0 commit comments

Comments
 (0)