-
Notifications
You must be signed in to change notification settings - Fork 1k
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
add snapshot to CI #331
add snapshot to CI #331
Conversation
4c79e3a
to
cdcc6a6
Compare
trying to fix #216 |
[FAIL. Reason: The `vm.assume` cheatcode rejected too many inputs (65536 allowed)] testHookWithdrawFeeProtocolWithdrawFee(uint16,uint16) (runs: 5904, μ: 533782, ~: 538058) TODO: fix above error
tl;dr had to set the fuzz seed in the environment because forge snapshot does not respect it from foundry.toml currently (issue below). So now we should use the Reference to foundry issue foundry-rs/foundry#6179 |
closing this in favor of this #401 just squashes these, rebases main, and adds a tolerance |
Related Issue
Which issue does this pull request resolve?
We should be running forge snapshots on all PRs locally & on CI. There was an issue with getting the fuzz snapshots locally to match the CI. Hopefully we can resolve it in this PR.
Description of changes