-
Notifications
You must be signed in to change notification settings - Fork 86
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
Feat: Enhance Error Resolution EVM #1758
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to finally have a way of seeing EVM execution errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor nit on the possibility of deconstructing the Pending
tuple. Certainly not a blocker. Thanks for dealing with this so quickly 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for satisfying the pedantic of the team 🥇
@cdamian any idea how you would fix the test without not calling |
@mustermeiszer we might need a dummy contract, but lemme grab this branch and take a closer look. |
Maybe we can mock the ethereum calling logic |
#1760 has a fix for the current test failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool change!
Description
Currently, the EVM does never error out if the execution of the EVM failed for some reason. In most case it will be an active
Revert
faced from some checks on the EVM side.But Substrate does not see that. It will only see an okay, resulting in wrong assumptions.
NOTE:
This change does mean that the EVM side DOES change but the Substrate side is still transactional. In most cases the EVM side will only contain fee-payment and new
Pending
appends.Changes and Descriptions
Pending
to fetch status code of transactionChecklist: