You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the REST API on this local client does not work correctly when using a publicKey as parameter:
curl -X GET "http://127.0.0.1:4001/eth/v1alpha1/validator?publicKey=rF+aqQoQ/yo+XzDvJtj13PM21pRBpRGbgrHV+WXs9qaI9R2cWkShaCZspl6dt9eu" -H "accept: application/json"
it yields the error:
{"error":"Need to specify either validator index or public key in request","code":3,"message":"Need to specify either validator index or public key in request","details":[]}
running the same request on the public api provided by prylabs works:
🐞 Bug Report
Description
When I request from the REST API using a publicKey as parameter, the API does not respond correctly. Using index as parameter works.
🔬 Minimal Reproduction
I run a local beacon node using the binaries provided with the prysm.sh script:
./prysm.sh beacon-chain --p2p-host-ip=$(curl -s ident.me) --min-sync-peers 7 --grpc-gateway-port 4001
Using the REST API on this local client does not work correctly when using a publicKey as parameter:
it yields the error:
running the same request on the public api provided by prylabs works:
Also using the index works locally:
🌍 Your Environment
Operating System:
What version of Prysm are you running? (Which release)
binary, beacon-chain-v1.0.0-alpha.5-linux-amd64
The text was updated successfully, but these errors were encountered: