-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug-Candidate]: Error when saving corpus for basic truffle project #1046
Comments
The metacoin example requires library linking, that will explain why it fails. It will be nice if you can reproduce this issue with hardhat or foundry so we can take a better look. |
|
@samalws-tob can you take a look if this is still a problem? |
The problem still happens when I run the commands on echidna 2.2.2. This might not be important anymore though, since truffle is being sunset |
Let's close this one, truffle is no longer relevant. |
Describe the issue:
Tried setting up a basic truffle project according to the truffle guides, then placing a basic echidna contract into the
contracts
folder:mkdir metacoin; cd metacoin; truffle unbox metacoin; echo "contract Echidna { function echidna_false() public view returns (bool) { return false; } }" >> contracts/Echidna.sol; echidna . --contract Echidna --corpus-dir corpus
Echidna has the following error while saving the corpus:
This error message doesn't occur if
--corpus-dir corpus
is left out.The corpus dir is created, but the
covered. ... .txt
file is empty, and nocovered. ... .html
file is made.Judging by this issue on crytic-compile, truffle support doesn't seem particularly important and may be dropped anyway.
Code example to reproduce the issue:
mkdir metacoin; cd metacoin; truffle unbox metacoin; echo "contract Echidna { function echidna_false() public view returns (bool) { return false; } }" >> contracts/Echidna.sol; echidna . --contract Echidna --corpus-dir corpus
Version:
Relevant log output:
The text was updated successfully, but these errors were encountered: