Skip to content
Gustavo Grieco edited this page Nov 20, 2020 · 17 revisions

Parameters in the configuration file

  • 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.
  • deployer

    • Type: Address
    • Default: "0x00a329c0648769a73afac7f9381e08fb43dbea70"
    • Description: Address of the deployer of the contract to test.
  • sender

    • Type: [Address]
    • Default: ["0x00a329c0648769a73afac7f9381e08fb43dbea70"]
    • 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 solc for the compilation of the contract to test.
  • cryticArgs

    • Type: [String]
    • Default: []
    • Description: Additional arguments to use in crytic-compile for the compilation of the contract to test.
  • quiet

    • Type: Bool
    • Default: False
    • Description: Hide solc stderr 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.
  • style

    • 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.
  • initialBalance

    • Type: Int
    • Default: 0xffffffff
    • Description: Initial Ether balance of deployer and each of the sender accounts.
Clone this wiki locally