Use head to validate atts for previous epoch (#16109)

In the event that the target checkpoint of an attestation is for the
previous epoch, and the head state has the same dependent root at that
epoch. The reason being that this guarantees that both seed and active
validator indices are guaranteed to be the same at the checkpoint's
epoch, from the point of view of the attester (even on a different
branch) and the head view.
This commit is contained in:
Potuz
2025-12-29 17:07:21 -03:00
committed by GitHub
parent 9deec69cc7
commit f938da99d9
3 changed files with 24 additions and 12 deletions

View File

@@ -0,0 +1,3 @@
### Added
- Use the head state to validate attestations for the previous epoch if head is compatible with the target checkpoint.