Skip to content

Commit 87ffa09

Browse files
committed
test(fast-inbox): drop the legacy message-mismatch proposal test at the flip (A-1384)
The validator no longer fetches per-checkpoint messages to compare against the proposal; a wrong message set now surfaces as a streaming bucket hash mismatch, covered by the proposal handler streaming-check tests.
1 parent 7784f75 commit 87ffa09

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

yarn-project/validator-client/src/validator.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,13 +1455,6 @@ describe('ValidatorClient', () => {
14551455
expect(isValid).toBe(false);
14561456
});
14571457

1458-
it('should return false if messages do not match', async () => {
1459-
l1ToL2MessageSource.getL1ToL2Messages.mockResolvedValue([Fr.random()]);
1460-
1461-
const isValid = await validatorClient.validateBlockProposal(proposal, sender);
1462-
expect(isValid).toBe(false);
1463-
});
1464-
14651458
describe('non-first block in checkpoint validation', () => {
14661459
// When indexWithinCheckpoint > 0, global variables must match parent block (except blockNumber).
14671460
// The inHash validation is implicitly handled: all blocks in a checkpoint share the same

0 commit comments

Comments
 (0)