-
Notifications
You must be signed in to change notification settings - Fork 419
Config
Gustavo Grieco edited this page Feb 11, 2022
·
18 revisions
-
testLimit- Type: Int
- Default:
50000 - Description: Number of sequences of transactions to generate during testing.
-
seqLen- Type: Int
- Default:
100 - Description: Number of transactions to generate during testing.
-
shrinkLimit- Type: Int
- Default:
5000 - Description: Number of tries to attempt to shrink a failing sequence of transactions.
-
contractAddr- Type: Address
- Default:
"0x00a329c0648769a73afac7f9381e08fb43dbea72" - Description: Address to deploy the contract to test.
-
coverage- Type: Bool
- Default:
true - Description: Enable the use of coverage-guided fuzzing and corpus collection.
-
corpusDir- Type: String
- Default:
null - Description: Directory to save the corpus collected (requires coverage enabled).
-
deployer- Type: Address
- Default:
"0x30000" - Description: Address of the deployer of the contract to test.
-
sender- Type: [Address]
- Default:
["0x10000", "0x20000", "0x30000"] - Description: List of addresses to (randomly) use during for the transactions sent during testing.
-
psender- Type: Address
- Default:
"0x00a329c0648769a73afac7f9381e08fb43dbea70" - Description: Address of the sender of the property to test.
-
prefix- Type: String
- Default:
"echidna_" - Description: Prefix of the function names used as properties in the contract to test.
-
propMaxGas- Type: Int
- Default:
12500000(current max gas per block) - Description: Maximum amount of gas to consume when running function properties.
-
testMaxGas- Type: Int
- Default:
12500000(current max gas per block) - Description: Maximum amount of gas to consume when running random transactions.
-
maxGasprice- Type: Int
- Default:
0 - Description: Maximum amount of gas price to randomly use in transactions. Do not change it unless you absolutely need it.
-
maxTimeDelay- Type: Int
- Default:
604800(one week) - Description: Maximum amount of seconds of delay between transactions.
-
maxBlockDelay- Type: Int
- Default:
60480 - Description: Maximum amount of block numbers between transactions.
-
solcArgs- Type: [String]
- Default:
[] - Description: Additional arguments to use in
solcfor the compilation of the contract to test.
-
cryticArgs- Type: [String]
- Default:
[] - Description: Additional arguments to use in
crytic-compilefor the compilation of the contract to test.
-
quiet- Type: Bool
- Default:
False - Description: Hide
solcstderr output and additional information during the testing.
-
dashboard- Type: Bool
- Default:
True - Description: Show the ncurses dashboard with real-time information on the properties to test during the fuzzing campaign.
-
format- Type: String
- Default:
"text" - Description: Select an UI to show the results of each test.
-
"text": simple textual interface. -
"json": JSON output. -
"none": no output.
-
-
balanceContract- Type: Int
- Default:
0 - Description: Initial Ether balance of
contractAddr.
-
balanceAddr- Type: Int
- Default:
0xffffffff - Description: Initial Ether balance of
deployerand each of thesenderaccounts.
-
maxValue- Type: Int
- Default:
100000000000000000000(100 ETH) - Description: Max amount of value in each randomly generated transaction.