lidofinance / lido-keys-api

Api for fetching node operators keys from modules
MIT License
19 stars 15 forks source link

BUG: /validator-exits-to-prepare without operator returns 10 validators #286

Open daverolo opened 4 months ago

daverolo commented 4 months ago

A request to /validator-exits-to-prepare without operator specified does return 10 validators: http://KAPIURL:3600/v1/modules/1/validators/validator-exits-to-prepare/

For example: https://holesky.beaconcha.in/validator/1461263

I would expect that a request to that endpoint returns zero validators or an error if an invalid or no operator id is given.

A request to an operator that does not exist returns zero validators: http://KAPIURL:3600/v1/modules/1/validators/validator-exits-to-prepare/88899

alphachart commented 1 month ago

plase my accont never share peopol and only me mangment doc tanks