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

Return an API error if eth_call reverts #1812

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

JamesHinshelwood
Copy link
Contributor

This lets the caller tell the difference between successful output and an output with a revert reason.

Resolves #1665.

This lets the caller tell the difference between successful output
and an output with a revert reason.

Resolves #1665.
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 2f955cf Nov 13, 2024
4 of 5 checks passed
@JamesHinshelwood JamesHinshelwood deleted the eth-call-err branch November 13, 2024 13:16
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.

eth_call should return an error response if the call reverts
2 participants