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

Show trace on UnknownFailure #1283

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Show trace on UnknownFailure #1283

merged 1 commit into from
Jul 8, 2024

Conversation

samalws-tob
Copy link
Collaborator

@samalws-tob samalws-tob commented Jul 1, 2024

Partially resolves #938

@samalws-tob samalws-tob force-pushed the showTraceOnError branch 3 times, most recently from bf83858 to 9e49e6e Compare July 2, 2024 14:22
@samalws-tob samalws-tob marked this pull request as ready for review July 2, 2024 14:54
@ggrieco-tob
Copy link
Member

Why this is partially resolving 938?

@samalws-tob
Copy link
Collaborator Author

Because it doesn't explicitly provide a trace message of "you used an unknown cheatcode vm.expectRevert, which echidna doesn't support" but you can figure out what the unknown cheatcode is from the stack trace

@ggrieco-tob
Copy link
Member

This is good enough.

@ggrieco-tob ggrieco-tob merged commit bf14ea4 into master Jul 8, 2024
18 checks passed
@ggrieco-tob ggrieco-tob deleted the showTraceOnError branch July 8, 2024 13:36
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.

feat: more visibility for unsupported cheatcodes (BadCheatCode)
2 participants