Skip to content

fix: Include revertdata in Avm simulation errors for failures in nonrevertible#9744

Merged
sirasistant merged 7 commits intomasterfrom
arv/fix_e2e_tests
Nov 5, 2024
Merged

fix: Include revertdata in Avm simulation errors for failures in nonrevertible#9744
sirasistant merged 7 commits intomasterfrom
arv/fix_e2e_tests

Conversation

@sirasistant
Copy link
Contributor

@sirasistant sirasistant commented Nov 5, 2024

Fixes #9727 errors after #9552

@sirasistant sirasistant changed the title fix: Include revertdata in Avm simulation errors for failures in nonrevertible fix: Include revertdata in Avm simulation errors for failures in nonrevertible (WIP) Nov 5, 2024
@sirasistant sirasistant changed the title fix: Include revertdata in Avm simulation errors for failures in nonrevertible (WIP) fix: Include revertdata in Avm simulation errors for failures in nonrevertible Nov 5, 2024
@fcarreiro fcarreiro removed the request for review from dbanks12 November 5, 2024 10:33
Copy link
Contributor

@fcarreiro fcarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, as we discussed consider (optionally) just adding revertData to SimulationError.

@sirasistant
Copy link
Contributor Author

Decided to make the regular simulation error have revertdata, since in the future we might have some sort of revertdata in private, for non-string error payloads.

@fcarreiro fcarreiro added the e2e-all label Nov 5, 2024 — with Graphite App
@sirasistant sirasistant merged commit 5f85f5c into master Nov 5, 2024
@sirasistant sirasistant deleted the arv/fix_e2e_tests branch November 5, 2024 12:25
Maddiaa0 pushed a commit that referenced this pull request Nov 6, 2024
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.

3 participants