feat(cheatcodes): add vm.assumeNoRevert for fuzz tests#8780
feat(cheatcodes): add vm.assumeNoRevert for fuzz tests#8780klkvr merged 2 commits intofoundry-rs:masterfrom
Conversation
|
should this only re-run if next call reverts? went through issues and seems like this is the common usecase, current version might result in footguns, especially given that sometimes it's hard to craft an array with addresses whitelist |
I think this makes sense, was looking at #7246 (comment) comment and thought we may want to provide same behavior as when setting |
8a6a659 to
16eca7b
Compare
|
Spec sgtm, and do we also increment the rejects counter the same way? A single test rejects counter for this + |
yep, the rejects counter is incremented same way and shared by both assumes |
Motivation
Closes #4090
Closes #7246
Similar with
assumecheatcode, but for discarding inputs in fuzz runs that reverts:Solution