Closed
Description
Describe the bug
Making a request to /eth/v1/beacon/states/{state_id}/validators?id= returns the entire list of all validators.
Expected behavior
It should return one or no results filtered by the pubkey.
Steps to Reproduce
With a synced beacon node:
curl http://<lodestar-beacon-node>:9596/eth/v1/beacon/states/head/validators?id=0x92f1dd97f9eb66754108d786107a24a7b6eb6dd6d1b9de8424c8cf0dc4ec95f9f069797be7e3d2de9d71e0cad55deb17
Screenshots
n/a
Desktop (please complete the following information):
- OS: Ubuntu 20.04 LTS
- Version:
chainsafe/lodestar:v0.34.1
via docker - Branch: n/a
- Commit hash: n/a
Additional Info
It works if I use ?indicies=
(and &statuses=
) as identified per
?id=<x>
(and status
).Metadata
Assignees
Labels
No labels