Skip to content

Commit e454583

Browse files
committed
prepare devnet-8 timestamps
1 parent f636225 commit e454583

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

crates/scroll/alloy/hardforks/src/hardfork.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ impl ScrollHardfork {
4141
(Self::Euclid, ForkCondition::Timestamp(1744815600)),
4242
(Self::EuclidV2, ForkCondition::Timestamp(1745305200)),
4343
(Self::Feynman, ForkCondition::Timestamp(1755576000)),
44-
(Self::Galileo, ForkCondition::Timestamp(u64::MAX)),
45-
(Self::GalileoV2, ForkCondition::Timestamp(u64::MAX)),
44+
(Self::Galileo, ForkCondition::Timestamp(1764588641)),
45+
(Self::GalileoV2, ForkCondition::Timestamp(1764595841)),
4646
]
4747
}
4848

crates/scroll/chainspec/src/lib.rs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -575,12 +575,17 @@ mod tests {
575575
// Feynman
576576
(
577577
Head { number: 7096836, timestamp: 1755576000, ..Default::default() },
578-
ForkId { hash: ForkHash([0x38, 0x0f, 0x78, 0x5d]), next: u64::MAX },
578+
ForkId { hash: ForkHash([0x38, 0x0f, 0x78, 0x5d]), next: 1764588641 },
579579
),
580580
// Galileo
581581
(
582-
Head { number: 7096836, timestamp: u64::MAX, ..Default::default() },
583-
ForkId { hash: ForkHash([0x50, 0xe7, 0xe6, 0xd5]), next: 0 },
582+
Head { number: 7096836, timestamp: 1764588641, ..Default::default() },
583+
ForkId { hash: ForkHash([0x50, 0xe7, 0xe6, 0xd5]), next: 1764595841 },
584+
),
585+
// GalileoV2
586+
(
587+
Head { number: 7096836, timestamp: 1764595841, ..Default::default() },
588+
ForkId { hash: ForkHash([0x7c, 0xc0, 0x18, 0x5d]), next: 0 },
584589
),
585590
],
586591
);
@@ -633,7 +638,12 @@ mod tests {
633638
),
634639
// Galileo
635640
(
636-
Head { number: 7096836, timestamp: u64::MAX, ..Default::default() },
641+
Head { number: 7096836, timestamp: 1764588641, ..Default::default() },
642+
ForkId { hash: ForkHash([0x18, 0xd3, 0xc8, 0xd9]), next: 0 },
643+
),
644+
// GalileoV2
645+
(
646+
Head { number: 7096836, timestamp: 1764595841, ..Default::default() },
637647
ForkId { hash: ForkHash([0x18, 0xd3, 0xc8, 0xd9]), next: 0 },
638648
),
639649
];

crates/scroll/hardforks/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ pub static SCROLL_MAINNET_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(||
4040
(ScrollHardfork::Euclid.boxed(), ForkCondition::Timestamp(1744815600)),
4141
(ScrollHardfork::EuclidV2.boxed(), ForkCondition::Timestamp(1745305200)),
4242
(ScrollHardfork::Feynman.boxed(), ForkCondition::Timestamp(1755576000)),
43-
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(u64::MAX)),
44-
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(u64::MAX)),
43+
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(1764588641)),
44+
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(1764595841)),
4545
])
4646
});
4747

0 commit comments

Comments
 (0)