Comments (8)
I cannot reproduce exactly your error:
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.4.21+commit.dfe3193c.Linux.g++
$ echidna-test contracts/testme.sol
━━━ contracts/testme.sol ━━━
✗ "echidna_alwaystrue" failed after 1 test and 1 shrink.
│ Call sequence: lower(true);
✗ 1 failed.
from echidna.
I can confirm that echidna fails to run properly outside the repository folder. Sorry for the long delay. It seems to be a known bug in hedgehog.
from echidna.
i get the same error with solc 0.4.18
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.4.18+commit.9cf6e910.Darwin.appleclang
$ echidna-test contracts/testme.sol
━━━ contracts/testme.sol ━━━
○ 0/1 complete (running)
↯ "echidna_alwaystrue" failed after 1 test and 1 shrink (shrinking)
echidna-test: lib/Echidna/Exec.hs: openFile: does not exist (No such file or directory)
OSX 10.11.6
built from 159b595
installed as described there: #12 (comment)
from echidna.
the above was in a directory different from the echidna directory.
when i copy the contract into the echidna directory (where i cloned and installed with stack) it works:
$ echidna-test testme.sol
━━━ testme.sol ━━━
✗ "echidna_alwaystrue" failed after 3 tests.
│ Call sequence: lower(true);
✗ 1 failed.
it should work in any directory
from echidna.
Yeah, I created the test sol file on a brand new project I created using truffle.
from echidna.
Please test this possible fix: #29
from echidna.
Should be fixed in 75afb17.
from echidna.
This was also fixed upstream in Hedgehog recently, sorry about that! Is part of the 0.6 release. hedgehogqa/haskell-hedgehog#184
from echidna.
Related Issues (20)
- [Bug-Candidate]: Unequal work spread across workers on corpus replay is bottlenecked by worker 0
- [Bug-Candidate]: Maximize CPU output when running fuzzer HOT 2
- Show coverage on constructors
- [Bug-Candidate]: Inconsistent "thread blocked indefinitely in an mvar operation"
- Consider printing out hexadecimal representation of panics and the error msg for a specific panic HOT 3
- Provide more information on debugging `error Revert 0x`
- Increased documentation on config values and how they skew
- [Bug-Candidate]: Fix coverage report HOT 2
- Allow echidna to pin to specific system variables, and only show the value of those variables after each failed call sequence
- Opcode "mcopy" not implemented HOT 1
- [Bug-Candidate]: echidna: thread blocked indefinitely in an MVar operation HOT 3
- Feature Request: Continuously save progress while shrinking HOT 1
- [Bug-Candidate]: Echidna can get stuck while shrinking HOT 2
- [Bug-Candidate]: Minor log message tweak HOT 2
- Improve UX around configuring Etherscan API key HOT 4
- Support `startPrank` and `stopPrank`
- Feature Request: Option to disable Etherscan downloads with onchain fuzzing HOT 3
- [Bug-Candidate]: Sequences from corpus do not adhere to time/block delay settings HOT 2
- Feature Request: Support for logging in view functions like Foundry's `console2` HOT 1
- [Bug-Candidate]: HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echidna.