Skip to content

Verify downloaded beacon states by root#234

Open
samcm wants to merge 3 commits intomasterfrom
fix/verify-state-root
Open

Verify downloaded beacon states by root#234
samcm wants to merge 3 commits intomasterfrom
fix/verify-state-root

Conversation

@samcm
Copy link
Member

@samcm samcm commented Mar 9, 2026

Summary

This PR tightens full-mode beacon-state bundle ingestion. Downloaded states are now requested by the expected state root and verified locally before they are cached.

Changes

  • Fetch checkpoint states from upstreams by the expected state root instead of by slot.
  • Recompute the downloaded beacon state root and reject mismatches before cache insertion.
  • Add regression tests for root-based state fetches and mismatched-state rejection.

Other notes

  • No API or config changes.

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