-
Notifications
You must be signed in to change notification settings - Fork 997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttestationData.epoch_boundary_root for epoch starting block #652
Comments
Can confirm this issue, I encountered it when mocking attestations. |
Hey @Nashatyrev, I noticed that you’re not referencing the latest dev branch spec so I interpret the issue again. 🙂 1. The definition of
|
It seems that the spec semantically uses "ancestor" of a Unfortunately, the calling |
handled in #671 |
The
Honest Validator
spec here states thatI.e. according to the statement if an attester creates the attestation for the beacon block which slot is the first in an epoch, then the
epoch_boundary_root
should be the root of the atteted beacon block itself.But:
get_block_root(state, get_epoch_start_slot(head.slot))
will fail due to assertionassert slot < state.slot
epoch_boundary_root
as an ancestor of the beacon block in attestation, thus it shouldn't be the root of the block itselfThe text was updated successfully, but these errors were encountered: