-
Notifications
You must be signed in to change notification settings - Fork 291
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
Implements SingleAttestation handling #8884
Conversation
...src/main/java/tech/pegasys/teku/spec/logic/versions/electra/util/AttestationUtilElectra.java
Show resolved
Hide resolved
...src/main/java/tech/pegasys/teku/spec/logic/versions/electra/util/AttestationUtilElectra.java
Outdated
Show resolved
Hide resolved
...ava/tech/pegasys/teku/networking/eth2/gossip/subnets/AttestationSubnetSubscriptionsTest.java
Outdated
Show resolved
Hide resolved
...n/java/tech/pegasys/teku/validator/client/duties/attestations/AttestationProductionDuty.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the logic and flow LGTM, just some nits and possible refactoring
Thanks for the good feedback! I should have addressed all of them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice clean up and refactoring!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found it super interesting that we clearly see aggregations vs. attestations now on the event stream, that could be fun... looks good.
Changes related to API are are not part of this PR.
I added non-related debug logs in
ThrottlingSyncSource
(I think we need them)ValidatableAttestation::getAttestation
will return the converted attestationValidatableAttestation::getUnconvertedAttestation
will return the original single attestation, mainly used for EventSubscriptionrelated to #8804
Documentation
doc-change-required
label to this PR if updates are required.Changelog