Skip to content

Commit 9ac7bff

Browse files
committed
test(fast-inbox): drop the backwards proposal-time warp in the overwritten-hint test (A-1378)
1 parent bb9f614 commit 9ac7bff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

l1-contracts/test/rollup/ProposeInboxConsumption.t.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ contract ProposeInboxConsumptionTest is Test {
212212
);
213213
}
214214

215-
vm.warp(GENESIS_TIME + Slot.unwrap(SLOT) * SLOT_DURATION);
215+
// No proposal-time warp: the loop above has already moved past SLOT's proposal time, and the revert fires
216+
// in getBucket before any cutoff logic reads the clock.
216217
vm.expectRevert(abi.encodeWithSelector(Errors.Inbox__BucketOutOfWindow.selector, 1, MIN_BUCKET_RING_SIZE + 1));
217218
rollup.validateInboxConsumption(ringInbox, bytes32(0), 1, SLOT, 0);
218219
}

0 commit comments

Comments
 (0)