Skip to content

Commit be61bf0

Browse files
authored
preserve state true
1 parent 104c181 commit be61bf0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

foundry.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ runs = 10_000
166166
# to set the `max_global_rejects` value in proptest test runner config.
167167
# `max_local_rejects` option isn't exposed here since we're not using
168168
# `prop_filter`.
169-
max_test_rejects = 120000
169+
max_test_rejects = 4294967295
170170
# The weight of the dictionary
171171
dictionary_weight = 40
172172
# The flag indicating whether to include values from storage
@@ -182,13 +182,13 @@ failure_persist_file = "failures"
182182

183183
[invariant]
184184
# The number of runs that must execute for each invariant test group
185-
runs = 256
185+
runs = 500
186186
# The number of calls executed to attempt to break invariants in one run
187-
depth = 500
187+
depth = 1024
188188
# Fails the invariant fuzzing if a revert occurs
189189
fail_on_revert = false
190190
# Allows overriding an unsafe external call when running invariant tests. eg. reentrancy checks
191-
call_override = false
191+
call_override = true
192192
# The weight of the dictionary
193193
dictionary_weight = 80
194194
# The flag indicating whether to include values from storage
@@ -201,7 +201,7 @@ max_calldata_fuzz_dictionary_addresses = 0
201201
shrink_sequence = true
202202
# run limit max: 262144
203203
shrink_run_limit = 5000
204-
preserve_state = false
204+
preserve_state = true
205205
max_assume_rejects = 65536
206206
gas_report_samples = 256
207207
failure_persist_dir = "cache/invariant"

0 commit comments

Comments
 (0)