Skip to content

Missing API endpoint for rewards attestations #7536

@apentori

Description

@apentori

Describe the bug:

Missing API endpoint for rewards per attestations /eth/v1/beacon/rewards/attestations/{epoch}.

I couldn't find the Method in rest_rewards_api.nim

To Reproduce
Steps to reproduce the behavior:

  1. Platform details (OS, architecture): Linux x86_64
  2. Branch/commit used: unstable
  3. Commands being executed:
    curl --show-error --fail-with-body --silent -X POST http://geth-01.ih-eu-mda1.nimbus.mainnet.status.im/eth/v1/beacon/rewards/attestations/395293 \
       -H 'Content_type: application/json' \
       --data '["775694"]'
     curl: (22) The requested URL returned error: 404
    
  4. Relevant log lines: .

Additional context

This missing endpoint make it impossible to run https://github.com/kilnfi/eth-validator-watcher using nimbus-eth2,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions