-
Notifications
You must be signed in to change notification settings - Fork 958
Closed
Labels
Description
Overview
Hello developers.
I am conducting API testing on a Electra PoS devnet chain and noticed inconsistencies in the JSON-RPC responses among Prysm, Lighthouse(v7.0.1-e42406d/x86_64-linux), Nimbus, and Teku.
In particular, the /eth/v1/beacon/states/{state_id}/pending_consolidations endpoint returns a truncated response from Lighthouse, which includes only the data,execution_optimistic and finalized field, whereas the version field as required in the spec at beacon-api.
Thanks for your time.
Reproduce
- Platform details (OS, architecture): Ubuntu 20.04, x86-64
- Branch/commit used:
v7.0.1-e42406d/x86_64-linuxwith geth/besu/nethermind/reth. - Commands being executed: I think the minimal repro is
curl -X GET 'http://localhost:4000/eth/v1/beacon/states/head/pending_consolidations' -H 'accept: application/json'
Results
# lighthouse response
{"data": [], "execution_optimistic": false, "finalized": false}
# expected
{"data": [], "execution_optimistic": false, "finalized": false, "version": "electra"}