Giter Site home page Giter Site logo

Comments (8)

ggrieco-tob avatar ggrieco-tob commented on May 13, 2024 1

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.

ggrieco-tob avatar ggrieco-tob commented on May 13, 2024 1

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.

snd avatar snd commented on May 13, 2024

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.

snd avatar snd commented on May 13, 2024

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.

makoto avatar makoto commented on May 13, 2024

Yeah, I created the test sol file on a brand new project I created using truffle.

from echidna.

ggrieco-tob avatar ggrieco-tob commented on May 13, 2024

Please test this possible fix: #29

from echidna.

ggrieco-tob avatar ggrieco-tob commented on May 13, 2024

Should be fixed in 75afb17.

from echidna.

thumphries avatar thumphries commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.