Add v2 attestation APIs to support EIP-7549
It is required to add v2 attestation APIs to support EIP-7549
From https://github.com/ethereum/beacon-APIs/pull/447
- [x]
GET /eth/v2/validator/aggregate_attestation
From https://github.com/ethereum/beacon-APIs/pull/448
- [x]
GET /eth/v2/beacon/blocks/{block_id}/attestations - [x]
GET /eth/v2/beacon/pool/attestations - [x]
POST /eth/v2/beacon/pool/attestations - [x]
GET /eth/v2/beacon/pool/attester_slashings - [x]
POST /eth/v2/beacon/pool/attester_slashings
From https://github.com/ethereum/beacon-APIs/pull/456
- [x]
POST /eth/v2/validator/aggregate_and_proofs
From https://github.com/ethereum/beacon-APIs/pull/459
- [ ]
GET /eth/v2/eventsor #7026
@nazarhussain in case you haven't started working on this, I think it makes sense to wait with this implementation until main spec PRs are merged as we don't need this for devnet-1. This allows to run against master branch of beacon-api spec to make sure the implementation is correct, this saves a lot of effort in reviewing the changes in detail manually.
all changes have been implemented