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

fix: err msg for eth_callMany #12029

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rekyyang
Copy link
Contributor

if revert happend in eth_callMany, the error will be included in the normal result rather than error result, and the revert info will be ignored when response marshaling.

current response:
{ ...... "error": {} ...... }

expected response:
{ ...... "error": { "message": "execution reverted: ......", "data": "0x......" } ...... }

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.

1 participant