Skip to content

Beacon slash header validation and fork-gated duplicate evidence#5041

Open
GheisMohammadi wants to merge 1 commit into
devfrom
fix/b7
Open

Beacon slash header validation and fork-gated duplicate evidence#5041
GheisMohammadi wants to merge 1 commit into
devfrom
fix/b7

Conversation

@GheisMohammadi
Copy link
Copy Markdown
Collaborator

This PR tightens how beacon blocks carry slashing payloads in the header and how those payloads are validated during state transition. Header slash data is decoded once at the start of block processing. The validation is wired into the shared block processing path so every route that executes a block—including paths that reuse a cached processing result—runs the same checks in the same order. That avoids divergent behavior between full execution and cached replay.
The block proposer path that collects verified slash candidates for the next header was also corrected so that duplicate entries keyed only by evidence identity are not treated as separate successful candidates after they have already been classified as failures.

@GheisMohammadi GheisMohammadi self-assigned this May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant