mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
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:
3
changelog/potuz_use_head_previous_epoch.md
Normal file
3
changelog/potuz_use_head_previous_epoch.md
Normal 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.
|
||||
Reference in New Issue
Block a user