Skip to content
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

single attestation cleanup #14984

Merged
merged 16 commits into from
Mar 4, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update beacon-chain/sync/validate_beacon_attestation.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
james-prysm and rkapka authored Feb 25, 2025

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit a6ef778b1b00d7bff7a7acb38fd005d4fe3adfd8
2 changes: 1 addition & 1 deletion beacon-chain/sync/validate_beacon_attestation.go
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ func (s *Service) validateCommitteeIndexBeaconAttestation(
&eth.SingleAttestation{}, att,
)
}
// Convert Electra singleAttestation to the unaggregated form needed for local validation
// Convert Electra SingleAttestation to unaggregated ElectraAttestation. This is needed because many parts of the codebase assume that attestations have a certain structure and SingleAttestation validates these assumptions.
attForValidation = singleAtt.ToAttestationElectra(committee)
eventType = operation.SingleAttReceived
eventData = &operation.SingleAttReceivedData{