Skip to content

feat: slash for invalid checkpoint proposals#23270

Merged
alexghr merged 1 commit into
merge-train/spartanfrom
ag/a-626
May 18, 2026
Merged

feat: slash for invalid checkpoint proposals#23270
alexghr merged 1 commit into
merge-train/spartanfrom
ag/a-626

Conversation

@alexghr
Copy link
Copy Markdown
Contributor

@alexghr alexghr commented May 14, 2026

Fix A-626

Copy link
Copy Markdown
Collaborator

@PhilWindle PhilWindle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, are you adding an e2e test in a follow up PR?

@alexghr alexghr force-pushed the ag/slash-invalid-proposal branch from c64d22e to f2547dc Compare May 14, 2026 13:25
@alexghr
Copy link
Copy Markdown
Contributor Author

alexghr commented May 14, 2026

This LGTM, are you adding an e2e test in a follow up PR?

I'll fold it into the e2e test from #23250

Base automatically changed from ag/slash-invalid-proposal to merge-train/spartan May 14, 2026 15:26
@alexghr alexghr force-pushed the ag/a-626 branch 5 times, most recently from c8ce063 to baa2936 Compare May 15, 2026 16:37
@ludamad ludamad force-pushed the merge-train/spartan branch from 4af2626 to db4ec58 Compare May 16, 2026 19:07
@alexghr alexghr force-pushed the ag/a-626 branch 3 times, most recently from 18c8402 to 434b92b Compare May 18, 2026 11:26
alexghr pushed a commit that referenced this pull request May 18, 2026
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](https://claudebox.work/v2/sessions/2d2b7e81407ef95f) ·
group: `slackbot`*
@alexghr alexghr enabled auto-merge (squash) May 18, 2026 13:06
@alexghr alexghr added the claudebox Owned by claudebox. it can push to this PR. label May 18, 2026
@alexghr alexghr disabled auto-merge May 18, 2026 15:42
@alexghr alexghr merged commit 8caa1d3 into merge-train/spartan May 18, 2026
13 checks passed
@alexghr alexghr deleted the ag/a-626 branch May 18, 2026 15:55
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