Skip to content

Commit 53b2524

Browse files
committed
update galileo V2 timestamps
1 parent fe5f52c commit 53b2524

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ impl ScrollHardfork {
4242
(Self::EuclidV2, ForkCondition::Timestamp(1745305200)),
4343
(Self::Feynman, ForkCondition::Timestamp(1755576000)),
4444
(Self::Galileo, ForkCondition::Timestamp(1762506265)),
45-
// TODO: update GalileoV2 timestamp when devnet is prepared
46-
(Self::GalileoV2, ForkCondition::Timestamp(u64::MAX)),
45+
(Self::GalileoV2, ForkCondition::Timestamp(1764244000)),
4746
]
4847
}
4948

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: 1762506265 },
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: 1762506265, ..Default::default() },
583+
ForkId { hash: ForkHash([0x8c, 0x83, 0x6c, 0x84]), next: 1764244000 },
584+
),
585+
// GalileoV2
586+
(
587+
Head { number: 7096836, timestamp: 1764244000, ..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: 1762506265, ..Default::default() },
642+
ForkId { hash: ForkHash([0x18, 0xd3, 0xc8, 0xd9]), next: 0 },
643+
),
644+
// GalileoV2
645+
(
646+
Head { number: 7096836, timestamp: 1764244000, ..Default::default() },
637647
ForkId { hash: ForkHash([0x18, 0xd3, 0xc8, 0xd9]), next: 0 },
638648
),
639649
];

crates/scroll/hardforks/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ pub static SCROLL_MAINNET_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(||
4141
(ScrollHardfork::EuclidV2.boxed(), ForkCondition::Timestamp(1745305200)),
4242
(ScrollHardfork::Feynman.boxed(), ForkCondition::Timestamp(1755576000)),
4343
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(1762506265)),
44-
// TODO: update GalileoV2 timestamp when devnet is prepared
45-
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(u64::MAX)),
44+
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(1764244000)),
4645
])
4746
});
4847

0 commit comments

Comments
 (0)