Skip to content

Attestation Rewards API endpoint broken on Pectra enabled networks #6818

Closed
@peterbitfly

Description

@peterbitfly

When executing the following API call against a lighthouse node running on pectra-devnet-5 (docker.ethquokkaops.io/dh/ethpandaops/lighthouse:single_attestation-b6d80eb) we get the following error:

curl -X POST --data '[]' http://localhost:4000/eth/v1/beacon/rewards/attestations/826
{"code":500,"message":"INTERNAL_SERVER_ERROR: unexpected error: AttestationRewardsError","stacktraces":[]}

at the same time we see the following error in the ligthouse log:

lighthouse-1  | Jan 20 06:48:37.419 WARN Error processing HTTP API request       method: POST, path: /eth/v1/beacon/rewards/attestations/826, status: 500 Internal Server Error, elapsed: 84.008069ms

The requests works up until devnet-5 epoch 302. For later epoch all requests fail:

curl -X POST --data '[]' http://localhost:4000/eth/v1/beacon/rewards/attestations/302 --> works
curl -X POST --data '[]' http://localhost:4000/eth/v1/beacon/rewards/attestations/303 --> fails

I assume the endpoint fails once a validator has an effective balance > 32 ETH.

Metadata

Metadata

Assignees

Labels

HTTP-APIbugSomething isn't workingelectraRequired for the Electra/Prague forkv7.0.0-beta.0New release c. Q1 2025

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions