-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Invariant tests: preserve_state
is not respected when fail_on_revert = false
#7303
Closed
2 tasks done
lekhovitsky opened this issue
Mar 4, 2024
· 2 comments
· Fixed by #7304, phylaxsystems/phoundry#12 or phylaxsystems/phoundry#13
Closed
2 tasks done
Invariant tests: preserve_state
is not respected when fail_on_revert = false
#7303
lekhovitsky opened this issue
Mar 4, 2024
· 2 comments
· Fixed by #7304, phylaxsystems/phoundry#12 or phylaxsystems/phoundry#13
Labels
T-bug
Type: bug
Comments
This was expected behavior per #7219 (comment), cc @grandizzy, should this be changed? |
Yes, I guess no harm to change, going to make a PR in couple |
grandizzy
added a commit
to grandizzy/foundry
that referenced
this issue
Mar 4, 2024
…when fail_on_revert is false
grandizzy
added a commit
to grandizzy/foundry
that referenced
this issue
Mar 4, 2024
…when fail_on_revert is false
This was referenced Apr 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (3df3e0c 2024-03-04T00:19:46.775990000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
Running the following test with
preserve_state = true
andfail_on_revert = false
results in the falsely broken invariant:The text was updated successfully, but these errors were encountered: