@@ -194,23 +194,91 @@ fs_permissions = [{ access = "read", path = "./out"}]
194194assertions_revert = true
195195# whether `failed()` should be invoked to check if the test have failed
196196legacy_assertions = false
197+
197198[fuzz ]
198199runs = 256
199200max_test_rejects = 65536
200201seed = ' 0x3e8'
202+ # Fails the fuzz test if a revert occurs
203+ fail_on_revert = true
204+ # Number of runs to execute and include in the gas report
205+ gas_report_samples = 256
206+ # Show `console.log` in fuzz test
207+ show_logs = false
208+ # Optional timeout (in seconds) for each property test
209+ # timeout = 60
210+ # Path where fuzz failures are recorded and replayed
211+ # failure_persist_dir = 'cache/fuzz'
212+
213+ # Fuzz dictionary configuration
201214dictionary_weight = 40
202215include_storage = true
203216include_push_bytes = true
217+ # Maximum addresses to record for the fuzz dictionary
218+ max_fuzz_dictionary_addresses = 15728640
219+ # Maximum values to record for the fuzz dictionary
220+ max_fuzz_dictionary_values = 9830400
221+ # Maximum literals to seed from the AST for the fuzz dictionary
222+ max_fuzz_dictionary_literals = 6553600
223+
224+ # Fuzz corpus configuration (for coverage-guided fuzzing)
225+ # Path to corpus directory, enables coverage guided fuzzing mode
226+ # corpus_dir = 'corpus'
227+ # Whether corpus uses gzip compression
228+ corpus_gzip = true
229+ # Number of mutations until entry marked as eligible to be flushed from in-memory corpus
230+ corpus_min_mutations = 5
231+ # Minimum corpus size that won't be evicted from memory
232+ corpus_min_size = 0
233+ # Whether to collect and display edge coverage metrics
234+ show_edge_coverage = false
204235
205236[invariant ]
206237runs = 256
207238depth = 500
208239fail_on_revert = false
209240call_override = false
241+ # The maximum number of attempts to shrink the sequence
242+ shrink_run_limit = 5000
243+ # The maximum number of rejects via `vm.assume` which can be encountered during a single invariant run
244+ max_assume_rejects = 65536
245+ # Number of runs to execute and include in the gas report
246+ gas_report_samples = 256
247+ # Whether to collect and display fuzzed selectors metrics
248+ show_metrics = true
249+ # Optional timeout (in seconds) for each invariant test
250+ # timeout = 60
251+ # Display counterexample as solidity calls
252+ show_solidity = false
253+ # Maximum time (in seconds) between generated txs
254+ # max_time_delay = 86400
255+ # Maximum number of blocks elapsed between generated txs
256+ # max_block_delay = 10000
257+ # Path where invariant failures are recorded and replayed
258+ # failure_persist_dir = 'cache/invariant'
259+
260+ # Invariant dictionary configuration
210261dictionary_weight = 80
211262include_storage = true
212263include_push_bytes = true
213- shrink_run_limit = 5000
264+ # Maximum addresses to record for the fuzz dictionary
265+ max_fuzz_dictionary_addresses = 15728640
266+ # Maximum values to record for the fuzz dictionary
267+ max_fuzz_dictionary_values = 9830400
268+ # Maximum literals to seed from the AST for the fuzz dictionary
269+ max_fuzz_dictionary_literals = 6553600
270+
271+ # Invariant corpus configuration (for coverage-guided fuzzing)
272+ # Path to corpus directory, enables coverage guided fuzzing mode
273+ # corpus_dir = 'corpus'
274+ # Whether corpus uses gzip compression
275+ corpus_gzip = true
276+ # Number of mutations until entry marked as eligible to be flushed from in-memory corpus
277+ corpus_min_mutations = 5
278+ # Minimum corpus size that won't be evicted from memory
279+ corpus_min_size = 0
280+ # Whether to collect and display edge coverage metrics
281+ show_edge_coverage = false
214282
215283[fmt ]
216284line_length = 100
0 commit comments