-
Notifications
You must be signed in to change notification settings - Fork 301
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 2 - GET/Attestation Pool API - Retrieve attestations and metadata #8437
PART 2 - GET/Attestation Pool API - Retrieve attestations and metadata #8437
Conversation
818a283
to
c4ba502
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
spec
parameter toNodeDataProvider
constructor inDataProvider.java
- Implemented
getAttestationsAndMetaData
tests inNodeDataProviderTest.java
- Modified
getAttestations
inAggregatingAttestationPool.java
to handle committee bits - Updated attestation filtering based on schema definitions for given slot
- Enhanced error handling for missing slot and empty attestations
3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
c4ba502
to
496f3c9
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
(updates since last review)
- Refactored
waitForNonDefaultExecutionPayload
inacceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/TekuBeaconNode.java
- Updated
SyncCommitteeSubnetSubscription
usage inbeacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandler.java
- Added
getAttestationsAndMetaData
method indata/provider/src/main/java/tech/pegasys/teku/api/NodeDataProvider.java
- Introduced
PostSyncCommitteeData
class inethereum/json-types/src/main/java/tech/pegasys/teku/ethereum/json/types/validator/PostSyncCommitteeData.java
- Added support for Electra milestone in
data/provider/src/main/java/tech/pegasys/teku/api/ValidatorDataProvider.java
37 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
data/provider/src/main/java/tech/pegasys/teku/api/NodeDataProvider.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.
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)
This pull request introduces the GET/Attestation Pool API to retrieve attestations and metadata, enhancing the attestation retrieval process.
acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/MergedGenesisAcceptanceTest.java
: UpdatedgenesisExecutionPayloadHeaderSource
to use a lambda function for correct payload creation.data/provider/src/main/java/tech/pegasys/teku/api/DataProvider.java
: AddedrecentChainData
parameter toNodeDataProvider
instantiation for accurate data retrieval.data/provider/src/main/java/tech/pegasys/teku/api/NodeDataProvider.java
: IntroducedRecentChainData
dependency andgetSlot
method for improved attestation retrieval.validator/remote/src/main/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorMinimalTypeDefClient.java
: Added functionality to retrieve Genesis data.validator/remote/src/integration-test/java/tech/pegasys/teku/validator/remote/typedef/handlers/GetGenesisRequestTest.java
: Added integration tests forGetGenesisRequest
to ensure correct handling of HTTP responses.
14 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
PR Description
Rebased on top of #8431
Retrieve attestations and metadata for the GET attestations from aggregation pool API
Fixed Issue(s)
#8029
Documentation
doc-change-required
label to this PR if updates are required.Changelog