From 990f53ce1462f7fba56d90636c30d0e0fc90ecf6 Mon Sep 17 00:00:00 2001 From: nelson-pereira8 <94120714+nelson-pereira8@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:45:04 -0300 Subject: [PATCH] chore: added preserve_state to invariant config --- foundry.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foundry.toml b/foundry.toml index 1787a18a..0d983a00 100644 --- a/foundry.toml +++ b/foundry.toml @@ -27,8 +27,9 @@ max_test_rejects = 655360 [profile.default.invariant] runs = 20 depth = 1536 -# fail_on_revert = true +fail_on_revert = true call_override = false # reentrancy-check +preserve_state = true [profile.ci.fuzz] runs = 10