[Dev Tools] forge test --zk-sync fails on vm.revert() #963
-
Team or ProjectAbstract ZK chainAbstract EnvironmentMainnet Select the Dev Tool you are usingFoundry Provide the version of the tool (if applicable)1.0.0-foundry-zksync-v0.0.11 Provide a brief description of the functionality you're trying to implement and the issue you are running into.In my test file, I have:
When I run
Does ZK Foundry treat reverts inside deep call stacks differently? Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
ly0va
Mar 14, 2025
Replies: 1 comment 7 replies
-
Hi @0xBeans, can you please provide the whole test source so that we can reproduce it? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting
allow_internal_expect_revert = true
in foundry.toml should resolve the issue.Feel free to unmark this as answered if it doesn't.