Skip to content

fix: align checkpoint slash test list with SLASHABLE map#23372

Merged
alexghr merged 1 commit into
ag/a-626from
cb/2d2b7e81407e
May 18, 2026
Merged

fix: align checkpoint slash test list with SLASHABLE map#23372
alexghr merged 1 commit into
ag/a-626from
cb/2d2b7e81407e

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

CI on PR #23270 fails two test cases in validator-client/src/validator.test.ts:

ValidatorClient › validateBlockProposal › does not emit checkpoint proposal slash event for last_block_archive_mismatch
ValidatorClient › validateBlockProposal › does not emit checkpoint proposal slash event for checkpoint_validation_failed

SLASHABLE_CHECKPOINT_PROPOSAL_VALIDATION_RESULT in validator.ts marks last_block_archive_mismatch and checkpoint_validation_failed as slashable (with an explicit comment that these "late mismatches" indicate the proposer-signed payload disagrees with deterministic recomputation), but the test's "does not emit" parametrized list still included them.

Move both reasons from the "does not emit" list into the existing "emits checkpoint proposal slash event for %s" list so the test agrees with the implementation.

Merge this PR into ag/a-626.


Created by claudebox · group: slackbot

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label May 18, 2026
@alexghr alexghr marked this pull request as ready for review May 18, 2026 13:05
@alexghr alexghr merged commit e9b2a79 into ag/a-626 May 18, 2026
27 of 30 checks passed
@alexghr alexghr deleted the cb/2d2b7e81407e branch May 18, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants