Skip to content

internal/ethapi: fix error code for revert in simulate#19006

Open
Sahil-4555 wants to merge 2 commits intoerigontech:mainfrom
Sahil-4555:fix-revert-err-code
Open

internal/ethapi: fix error code for revert in simulate#19006
Sahil-4555 wants to merge 2 commits intoerigontech:mainfrom
Sahil-4555:fix-revert-err-code

Conversation

@Sahil-4555
Copy link
Contributor

The error code for revert should be consistent with eth_call and be 3.
ethereum/execution-apis#748

@AskAlexSharov AskAlexSharov enabled auto-merge (squash) February 6, 2026 08:51
@Sahil-4555
Copy link
Contributor Author

Sahil-4555 commented Feb 6, 2026

still we are using ErrCodeReverted at HandleError and newJsonError

feedback on this?

auto-merge was automatically disabled February 6, 2026 09:06

Head branch was pushed to by a user without write access

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