Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1909 add jsonrpc version to error response #2064

Merged
merged 5 commits into from
Jan 13, 2025

Conversation

olehnikolaiev
Copy link
Contributor

@olehnikolaiev olehnikolaiev commented Jan 3, 2025

fixes #1909

added jsonrpc header to json rpc error responses

added unit test JsonRpcSuite/jsonrpcVersionInResponseHeader

tested on local machine
{"error":{"code":-32000,"message":"EVM revert instruction without description message"},"id":"c08925d3-bb9a-4951-b92c-37377a1a8a2b","jsonrpc":"2.0"}

no performance impact

@olehnikolaiev olehnikolaiev linked an issue Jan 8, 2025 that may be closed by this pull request
kladkogex
kladkogex previously approved these changes Jan 10, 2025
@olehnikolaiev olehnikolaiev merged commit 67d1c9d into v4.0.0 Jan 13, 2025
4 of 5 checks passed
@olehnikolaiev olehnikolaiev deleted the bug/1909-json-rpc-version-not-included branch January 13, 2025 12:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSON RPC version not always included in responses
3 participants