Skip to content

Iterate over revert instructions in reverse#663

Merged
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-revert-msg
Jul 5, 2020
Merged

Iterate over revert instructions in reverse#663
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-revert-msg

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

Always return the last error string raised, if multiple error message occur when a complex transaction reverts.

How I did it

Reverse the order of the trace prior to iterating to find REVERT or INVALID instructions.

How to verify it

Run tests.

@iamdefinitelyahuman iamdefinitelyahuman merged commit af57b7f into master Jul 5, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-revert-msg branch July 10, 2020 02:05
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