Per Discord discussion, adds "legacy" behavior for assertions. If legacy_assertions config option is set, assertions will not revert and will instead produce logs and accumulate till the end of test execution.
Solution
cc @DaniPopes I've enabled logic for tracking GLOBAL_FAILURES_SLOT on cheatcodes address
Motivation
Per Discord discussion, adds "legacy" behavior for assertions. If
legacy_assertions
config option is set, assertions will not revert and will instead produce logs and accumulate till the end of test execution.Solution
cc @DaniPopes I've enabled logic for tracking
GLOBAL_FAILURES_SLOT
on cheatcodes addressCloses: https://github.com/foundry-rs/foundry/issues/8049