Skip to content

Conversation

@jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Sep 16, 2025

As the https://www.jsonrpc.org/specification#error_object said, the invalid params should return error-code as -32602, in our old implementation, the error was checked inside the function, so the returned error-code is -32000

@jsvisa jsvisa changed the title fix(internal/ethapi): return -32602 for invalid params internal/ethapi: return -32602 for invalid getStorage request params Sep 16, 2025
@s1na s1na self-assigned this Sep 17, 2025
@jsvisa
Copy link
Contributor Author

jsvisa commented Oct 23, 2025

@s1na PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants