mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 13:28:01 -05:00
Add GET /eth/v2/beacon/pool/attester_slashings (#14479)
* add endpoint * changelog * correct resp with both attestationSlashings types * fix and comment * fix test * fix version check * review + fixes * fix * James' review * Review items * Radek' review * Radek' review
This commit is contained in:
@@ -176,7 +176,8 @@ type BLSToExecutionChangesPoolResponse struct {
|
||||
}
|
||||
|
||||
type GetAttesterSlashingsResponse struct {
|
||||
Data []*AttesterSlashing `json:"data"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Data json.RawMessage `json:"data"` // Accepts both `[]*AttesterSlashing` and `[]*AttesterSlashingElectra` types
|
||||
}
|
||||
|
||||
type GetProposerSlashingsResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user