Skip to content

Verify beacon header slash records during block processing#5068

Merged
GheisMohammadi merged 1 commit into
devfrom
fix/b4
Jun 26, 2026
Merged

Verify beacon header slash records during block processing#5068
GheisMohammadi merged 1 commit into
devfrom
fix/b4

Conversation

@GheisMohammadi

Copy link
Copy Markdown
Collaborator

Beacon chain blocks can carry slash records in the block header. Those records are already validated when they enter the pending-slash queue and when a block proposer collects slashes for inclusion, but the block processing path did not run the same validation before applying them during finalization.

This PR adds that validation in StateProcessor.Process for beacon chain blocks. Each decoded header slash record is checked with the existing slash.Verify logic before finalization proceeds, so block import and local execution follow the same rules as the rest of the slash pipeline.

@GheisMohammadi GheisMohammadi self-assigned this Jun 26, 2026
@GheisMohammadi GheisMohammadi added the core Core Protocol label Jun 26, 2026
@mur-me mur-me requested review from Frozen and mur-me June 26, 2026 09:41
@mergify

mergify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@GheisMohammadi GheisMohammadi merged commit f590000 into dev Jun 26, 2026
7 checks passed
@mur-me mur-me deleted the fix/b4 branch June 26, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core Protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants