-
Notifications
You must be signed in to change notification settings - Fork 784
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
Validator client shouldn't request aggregate with no aggregators #4712
Labels
good first issue
Good for newcomers
low-hanging-fruit
Easy to resolve, get it before someone else does!
optimization
Something to make Lighthouse run more efficiently.
v4.6.0
ETA Q1 2024
val-client
Relates to the validator client binary
Comments
michaelsproul
added
val-client
Relates to the validator client binary
optimization
Something to make Lighthouse run more efficiently.
labels
Sep 7, 2023
michaelsproul
added
low-hanging-fruit
Easy to resolve, get it before someone else does!
v4.6.0
ETA Q1 2024
labels
Sep 20, 2023
This also affects Lighthouse VC with a Prysm BN. For easy searchability, the error produced is:
|
bors bot
pushed a commit
that referenced
this issue
Oct 5, 2023
## Issue Addressed Closes #4712 ## Proposed Changes Exit aggregation step early if no validator is aggregator. This avoids an unnecessary request to the beacon node and more importantly fixes noisy errors if Lighthouse VC is used with other clients such as Lodestar and Prysm. ## Additional Info Related issue ChainSafe/lodestar#5553
Completed in #4774. |
Woodpile37
pushed a commit
to Woodpile37/lighthouse
that referenced
this issue
Jan 6, 2024
## Issue Addressed Closes sigp#4712 ## Proposed Changes Exit aggregation step early if no validator is aggregator. This avoids an unnecessary request to the beacon node and more importantly fixes noisy errors if Lighthouse VC is used with other clients such as Lodestar and Prysm. ## Additional Info Related issue ChainSafe/lodestar#5553
Woodpile37
pushed a commit
to Woodpile37/lighthouse
that referenced
this issue
Jan 6, 2024
## Issue Addressed Closes sigp#4712 ## Proposed Changes Exit aggregation step early if no validator is aggregator. This avoids an unnecessary request to the beacon node and more importantly fixes noisy errors if Lighthouse VC is used with other clients such as Lodestar and Prysm. ## Additional Info Related issue ChainSafe/lodestar#5553
Woodpile37
pushed a commit
to Woodpile37/lighthouse
that referenced
this issue
Jan 6, 2024
## Issue Addressed Closes sigp#4712 ## Proposed Changes Exit aggregation step early if no validator is aggregator. This avoids an unnecessary request to the beacon node and more importantly fixes noisy errors if Lighthouse VC is used with other clients such as Lodestar and Prysm. ## Additional Info Related issue ChainSafe/lodestar#5553
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
low-hanging-fruit
Easy to resolve, get it before someone else does!
optimization
Something to make Lighthouse run more efficiently.
v4.6.0
ETA Q1 2024
val-client
Relates to the validator client binary
Description
The validator client's logic for forming aggregate attestations will currently request an aggregate from the BN before checking whether there are any aggregators that need to sign it:
lighthouse/validator_client/src/attestation_service.rs
Lines 494 to 518 in 2841f60
This is inefficient, but also liable to cause issues with other clients, which may not be expecting to produce an aggregate when they are not subscribed to the attestation subnet. Thanks to @nflaig from Lodestar for finding and reporting this bug.
Steps to resolve
Check whether there are any aggregators (at least one selection proof that is
Some
) before requesting an aggregate from the BN.The text was updated successfully, but these errors were encountered: