Add GET /eth/v2/beacon/pool/attestations endpoint (#14560)

* add ListAttestationsV2 endpoint

* fix endpoint

* changelog

* add endpoint to tests

* add trailing comma

* add version header + lint fix

* all reviews

* modify v1 and comments

* fix linter

* Radek' review
This commit is contained in:
Sammy Rosso
2024-10-28 11:59:27 +01:00
committed by GitHub
parent 53f1f11c6d
commit 09accc7132
7 changed files with 465 additions and 95 deletions

View File

@@ -21,7 +21,8 @@ type GetCommitteesResponse struct {
}
type ListAttestationsResponse struct {
Data []*Attestation `json:"data"`
Version string `json:"version,omitempty"`
Data json.RawMessage `json:"data"`
}
type SubmitAttestationsRequest struct {