elrond-proxy-go
elrond-proxy-go copied to clipboard
/hyperblock/by-nonce/:metablock returns 500 when called with block nonce of the future
Hello,
The api endpoint /hyperblock/by-nonce/:metablock returns an internal server error (500) when called with a meta block nonce of the future (to yet existing nonce). A return message that symbolizes invalid input (of the 4XX line) would help to analyze the response for anomalies.
Thank you
Hello! We are aware that HTTP codes don't follow the standard in some cases. However, changing this now will introduce breaking changes for all users so we'll postpone the refactoring until we'll prepare a version 2.
Thank you for reopening this! It makes it easier to act accordingly