Skip to content

Commit ad8051c

Browse files
committed
test: fix forkids
Signed-off-by: Gregory Edison <[email protected]>
1 parent 84f319e commit ad8051c

File tree

1 file changed

+18
-2
lines changed
  • crates/scroll/chainspec/src

1 file changed

+18
-2
lines changed

crates/scroll/chainspec/src/lib.rs

+18-2
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,15 @@ mod tests {
478478
),
479479
(
480480
Head { number: 7096836, timestamp: 1725264000, ..Default::default() },
481-
ForkId { hash: ForkHash([0x21, 0xa2, 0x07, 0x54]), next: 0 },
481+
ForkId { hash: ForkHash([0x21, 0xa2, 0x07, 0x54]), next: 1744815600 },
482+
),
483+
(
484+
Head { number: 7096836, timestamp: 1744815600, ..Default::default() },
485+
ForkId { hash: ForkHash([0xca, 0xc5, 0x80, 0xca]), next: 1745305200 },
486+
),
487+
(
488+
Head { number: 7096836, timestamp: 1745305200, ..Default::default() },
489+
ForkId { hash: ForkHash([0x0e, 0xcf, 0xb2, 0x31]), next: 0 },
482490
),
483491
],
484492
);
@@ -554,7 +562,15 @@ mod tests {
554562
),
555563
(
556564
Head { number: 4740239, timestamp: 1724832000, ..Default::default() },
557-
ForkId { hash: ForkHash([0x69, 0xf3, 0x7e, 0xde]), next: 0 },
565+
ForkId { hash: ForkHash([0x69, 0xf3, 0x7e, 0xde]), next: 1741680000 },
566+
),
567+
(
568+
Head { number: 4740239, timestamp: 1741680000, ..Default::default() },
569+
ForkId { hash: ForkHash([0xf7, 0xac, 0x7e, 0xfc]), next: 1741852800 },
570+
),
571+
(
572+
Head { number: 4740239, timestamp: 1741852800, ..Default::default() },
573+
ForkId { hash: ForkHash([0x51, 0x7e, 0x0f, 0x1c]), next: 0 },
558574
),
559575
],
560576
);

0 commit comments

Comments
 (0)