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

SingleAttestation support in the monitor service #14965

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Feb 20, 2025

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

The monitor service currently handles Electra's SingleAttestation in the same way as unaggregated attestations from Phase0. This can't work because single attestations don't have attestation bits.

Error logs:

level=error msg="Could not get attesting indices" error="bitfield length 0 is not equal to committee length 8" prefix=monitor

The PR adds a new processSingleAttestation function to handle single attestations.

@rkapka rkapka requested a review from a team as a code owner February 20, 2025 11:05
@rkapka rkapka enabled auto-merge February 20, 2025 11:10
@rkapka rkapka added this pull request to the merge queue Feb 20, 2025
Merged via the queue into develop with commit 972c22b Feb 20, 2025
17 checks passed
@rkapka rkapka deleted the monitor-single-atts branch February 20, 2025 11:34
rkapka added a commit that referenced this pull request Mar 19, 2025
* `SingleAttestation` support in the monitor service

* changelog <3
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.

2 participants