[Relay White Noise Error] Improve Request Validation to Prevent Invalid eth_call
Consensus Node Retries
#3443
Labels
enhancement
New feature or request
Milestone
Problem
Some
eth_call
requests return 501 Not Implemented from the Mirror Node because the Mirror Node does not support certain methods that the Consensus Node does. However, the Relay currently retries these requests with the Consensus Node, and if the request is truly invalid, it results in a 500 error instead of correctly passing the 501 error to the client.This behavior causes:
Solution
501 Not Implemented
responses from the Mirror Node are correctly forwarded to clients when applicable, instead of being masked as 500 errors.Alternatives
No response
The text was updated successfully, but these errors were encountered: