Skip to content

Commit 92536aa

Browse files
Added more info into the echidna FAQ as well as minor fixes (#137)
1 parent 1ed5a14 commit 92536aa

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

program-analysis/echidna/frequently_asked_questions.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,17 @@ Another way to see where an assertion failed is using the coverage information.
8484
The `e` marker indicates that Echidna collected a trace that ends with an assertion failure. As we can see,
8585
the path ends in the assert, so it should fail there.
8686

87+
## Why coverage information seems incorrect or incomplete?
88+
89+
Coverage mappings can be imprecesie, however, if it fails completely, it could be that you are using the [`viaIR` optimization option](https://docs.soliditylang.org/en/v0.8.14/ir-breaking-changes.html?highlight=viaIR#solidity-ir-based-codegen-changes), which seems to have some unexpected impact on the solc maps that we are still investigating. As a workaround, disable `viaIR`.
90+
91+
## Echidna crashes showing ` NonEmpty.fromList: empty list`
92+
93+
Echidna relies on the Solidity metadata to detect where each contract is deployed. Please do not disable it. If this is not the case, please [open an issue](https://github.com/crytic/echidna/issues) in our issue tracker.
94+
8795
## Echidna stopped working for some reason. How can I debug it?
8896

89-
Use --format text and open an issue with the error you see in your console or ask in the #ethereum channel at the EmpireHacking slack.
97+
Use `--format text` and open an issue with the error you see in your console or ask in the #ethereum channel at the EmpireHacking slack.
9098

9199
## I am not getting expected results from Echidna tests. What can I do?
92100

@@ -106,4 +114,4 @@ And for assertion mode:
106114
}
107115
```
108116

109-
If these are not failing, please open an issue so we can take a look.
117+
If these are not failing, please [open an issue](https://github.com/crytic/echidna/issues) so we can take a look.

0 commit comments

Comments
 (0)