Skip to content

Commit

Permalink
update default config and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tuturu-tech committed Apr 2, 2024
1 parent 4c5077c commit 61f1fe8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ The `template` command is used to generate a fuzzing harness. The harness can in

**Command-line options:**
- `compilation_path`: The path to the Solidity file or Foundry directory
- `-n`/`--name` `name: str`: The name of the fuzzing harness.
- `-c`/`--contracts` `target_contracts: list`: The name of the target contract.
- `-o`/`--output-dir` `output_directory: str`: Output directory name. By default it is `fuzzing`
- `-n`/`--name` `name: str`: The name of the fuzzing harness. By default `DefaultHarness`
- `-c`/`--contracts` `target_contracts: list`: The name of the target contract. Empty by default.
- `-o`/`--output-dir` `output_directory: str`: Output directory name. By default `fuzzing`
- `--config`: Path to the `fuzz-utils` config JSON file
- `--mode`: The strategy to use when generating the harnesses. Valid options: `simple`, `prank`, `actor`

Expand Down
6 changes: 3 additions & 3 deletions fuzz_utils/templates/default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"generate": {
"targetContract": "",
"compilationPath": ".",
"corpusDir": "",
"fuzzer": "",
"testsDir": "",
"corpusDir": "corpus",
"fuzzer": "medusa",
"testsDir": "test",
"inheritancePath": "",
"namedInputs": False,
"allSequences": False,
Expand Down

0 comments on commit 61f1fe8

Please sign in to comment.