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
Minor API issue (sorry for nitpick), working on testing the whole lighthouse API surface for consistency with spec, and generating test vectors for bindings!
Issue: /eth/v1/beacon/states/100/validators/morty returns 405 (unknown route) status instead of 400 (invalid validator ID)
Version
v1.0.3
Present Behaviour
405
Expected Behaviour
400
Steps to resolve
Change routing logic to match any validator ID format, and only then return a correct error code when parsing in detail.
The text was updated successfully, but these errors were encountered:
Description
Minor API issue (sorry for nitpick), working on testing the whole lighthouse API surface for consistency with spec, and generating test vectors for bindings!
Issue:
/eth/v1/beacon/states/100/validators/morty
returns 405 (unknown route) status instead of 400 (invalid validator ID)Version
v1.0.3
Present Behaviour
405
Expected Behaviour
400
Steps to resolve
Change routing logic to match any validator ID format, and only then return a correct error code when parsing in detail.
The text was updated successfully, but these errors were encountered: