You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number of transactions to generate during testing. The campaign will stop when the `testLimit` is reached or if a `timeout` is set and the execution time exceeds it.
35
+
Number of transactions to generate during testing. The campaign will stop when
36
+
the `testLimit` is reached or if a `timeout` is set and the execution time
37
+
exceeds it.
35
38
36
39
## `seqLen`
37
40
38
41
| Type | Default | Available in | CLI equivalent |
Number of transactions that a transaction sequence will have during testing, and maximum length of transaction sequences in the corpus. After every N transactions, Echidna will reset the EVM to the initial post-deployment state.
45
+
Number of transactions that a transaction sequence will have during testing, and
46
+
maximum length of transaction sequences in the corpus. After every N
47
+
transactions, Echidna will reset the EVM to the initial post-deployment state.
43
48
44
49
## `timeout`
45
50
46
51
| Type | Default | Available in | CLI equivalent |
Campaign timeout, in seconds. By default it is not time-limited. If a value is set, the campaign will stop when the time is exhausted or the `testLimit` is reached, whichever happens first.
55
+
Campaign timeout, in seconds. By default it is not time-limited. If a value is
56
+
set, the campaign will stop when the time is exhausted or the `testLimit` is
57
+
reached, whichever happens first.
51
58
52
59
## `seed`
53
60
54
61
| Type | Default | Available in | CLI equivalent |
Seed used for random value generation. By default it is a random integer. The seed may not guarantee reproducibility if multiple `workers` are used, as the operating system thread scheduling may introduce additional randomness into the process.
65
+
Seed used for random value generation. By default it is a random integer. The
66
+
seed may not guarantee reproducibility if multiple `workers` are used, as the
67
+
operating system thread scheduling may introduce additional randomness into the
68
+
process.
59
69
60
70
## `shrinkLimit`
61
71
@@ -79,7 +89,8 @@ Address to deploy the contract to test.
79
89
| ---- | ------- | ------------ |
80
90
| Bool |`true`|\*|
81
91
82
-
Enable the use of coverage-guided fuzzing and corpus collection. We recommend keeping this enabled.
92
+
Enable the use of coverage-guided fuzzing and corpus collection. We recommend
93
+
keeping this enabled.
83
94
84
95
## `corpusDir`
85
96
@@ -103,15 +114,18 @@ Address of the deployer of the contract to test.
Addresses and contract names to deploy using the available source code. The deployer address is the same as the contract to test. Echidna will error if the deployment fails.
117
+
Addresses and contract names to deploy using the available source code. The
118
+
deployer address is the same as the contract to test. Echidna will error if the
| Int |`12500000` (current max gas per block) |\*|
153
168
154
-
Maximum amount of gas to consume when running random transactions. A non-property transaction that runs out of gas (e.g. a transaction in assertion mode) will not be considered a failure.
169
+
Maximum amount of gas to consume when running random transactions. A
170
+
non-property transaction that runs out of gas (e.g. a transaction in assertion
171
+
mode) will not be considered a failure.
155
172
156
173
## `maxGasprice`
157
174
158
175
| Type | Default | Available in |
159
176
| ---- | ------- | ------------ |
160
177
| Int |`0`|\*|
161
178
162
-
Maximum amount of gas price to randomly use in transactions. Do not change it unless you absolutely need it.
179
+
Maximum amount of gas price to randomly use in transactions. Do not change it
180
+
unless you absolutely need it.
163
181
164
182
## `maxTimeDelay`
165
183
@@ -191,7 +209,8 @@ Additional arguments to use in `solc` for compiling the contract to test.
Select a textual output format. By default, interactive TUI is run or text if a terminal is absent.
229
+
Select a textual output format. By default, interactive TUI is run or text if a
230
+
terminal is absent.
211
231
212
232
-`"text"`: simple textual interface.
213
233
-`"json"`: JSON output.
@@ -219,23 +239,26 @@ Select a textual output format. By default, interactive TUI is run or text if a
219
239
| ---- | ------- | ------------ |
220
240
| Int |`0`|\*|
221
241
222
-
Initial Ether balance of `contractAddr`. See our tutorial on [working with ETH](./basic/working-with-eth.md) for more details.
242
+
Initial Ether balance of `contractAddr`. See our tutorial on [working with
243
+
ETH](./basic/working-with-eth.md) for more details.
223
244
224
245
## `balanceAddr`
225
246
226
247
| Type | Default | Available in |
227
248
| ---- | ------------ | ------------ |
228
249
| Int |`0xffffffff`|\*|
229
250
230
-
Initial Ether balance of `deployer` and each of the `sender` accounts. See our tutorial on [working with ETH](./basic/working-with-eth.md) for more details.
251
+
Initial Ether balance of `deployer` and each of the `sender` accounts. See our
252
+
tutorial on [working with ETH](./basic/working-with-eth.md) for more details.
Makes Echidna fuzz the provided test contracts and any other deployed contract whose ABI is known at runtime.
285
+
Makes Echidna fuzz the provided test contracts and any other deployed contract
286
+
whose ABI is known at runtime.
263
287
264
288
## `filterBlacklist`
265
289
@@ -361,15 +385,19 @@ relevant if `symExec` is true.
361
385
| ---- | ------- | ------------ |
362
386
| Int |`1`| 2.2.4+ |
363
387
364
-
Number of SMT solvers used in symbolic execution. While there is a single symExec worker, N threads may be used to solve SMT queries. Only relevant if `symExec` is true.
388
+
Number of SMT solvers used in symbolic execution. While there is a single
389
+
symExec worker, N threads may be used to solve SMT queries. Only relevant if
390
+
`symExec` is true.
365
391
366
392
## `symExecTimeout`
367
393
368
394
| Type | Default | Available in |
369
395
| ---- | ------- | ------------ |
370
396
| Int |`30`| 2.2.4+ |
371
397
372
-
Timeout for symbolic execution SMT solver. Only relevant if `symExec` is true. When the SMT solver used is Z3, this timeout applies per query, and is not global.
398
+
Timeout for symbolic execution SMT solver. Only relevant if `symExec` is true.
399
+
When the SMT solver used is Z3, this timeout applies per query, and is not
0 commit comments