-
Notifications
You must be signed in to change notification settings - Fork 308
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
PART 1 - GET/Attestation Pool API - Handle Electra attestations in the aggregating pool #8431
PART 1 - GET/Attestation Pool API - Handle Electra attestations in the aggregating pool #8431
Conversation
1c1679c
to
cecf11c
Compare
1877c1a
to
f5509c7
Compare
.../src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
Outdated
Show resolved
Hide resolved
.../test/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPoolTest.java
Show resolved
Hide resolved
f4a288c
to
bc75655
Compare
.../src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
Outdated
Show resolved
Hide resolved
bc75655
to
2c6637a
Compare
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.
PR Summary
- Added handling for Electra attestations in
ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
- Introduced logic to filter attestations requiring committee bits
- Ensured correct schema definitions based on slot
- Added test cases for Electra attestations in
ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPoolTest.java
- Refactored methods and added mock behaviors for different spec milestones
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
PR Summary
(updates since last review)
- Synchronized
getSchemaDefinitions
method inethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
- Ensured thread safety for handling Electra attestations
- No major changes found since last review
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
.../src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPool.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Paul Harris <paul.harris@consensys.net>
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.
PR Summary
(updates since last review)
- Added
AttestationElectra
class for handling Electra attestations - Implemented
AttestationElectraSchema
for Electra attestation structure - Included
committeeBits
field inAttestationElectra
- Ensured
committeeBits
are required for Electra attestations - Updated
create
methods to handle Electra-specific attestation creation
No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
PR Summary
(updates since last review)
- Removed limit on attestations returned from
getAttestations
inAggregatingAttestationPool
- Added filtering for attestations requiring committee bits
- Potential increase in number of attestations returned by
getAttestations
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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
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.
PR Summary
(updates since last review)
- Refactored
waitForNonDefaultExecutionPayload
inacceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/TekuBeaconNode.java
for readability. - Updated getter methods in
beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandler.java
forSyncCommitteeSubnetSubscription
. - Introduced
PostSyncCommitteeData
andSyncCommitteeSubnetSubscription
classes inethereum/json-types/src/main/java/tech/pegasys/teku/ethereum/json/types/validator
. - Added IPv6 support in
networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/DiscV5Service.java
. - Updated state pruning configurations in
storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java
.
32 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
PR Summary
(updates since last review)
- Updated
getAttestations_shouldReturnElectraAttestationsOnly_whenElectraActivatesAndNoSlotProvided
method name and comments inethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPoolTest.java
- Ensure test cases reflect handling of Electra attestations in the aggregation pool
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
PR Description
In preparation for the GET attestation from the aggregating attestation pool API.
Handle the Electra attestations when querying attestations from the aggregation pool
Fixed Issue(s)
#8029
Documentation
doc-change-required
label to this PR if updates are required.Changelog