Git Product home page Git Product logo

Comments (1)

danceratopz avatar danceratopz commented on June 16, 2024
  • The last few versions of solc are supported (currently 0.8.20, 0.8.21, and custom builds of upcoming 0.8.22).
  • Test cases do not specify which version of solc is required to compile the yul defined within the test.

The following error messages are provided:

  1. solc not found
    fill tests/homestead/yul/test_yul_example.py -x --solc-bin=/home/dtopz/bin/solc-0.123.0
    
    says:
    INTERNALERROR> Exception: `solc` binary executable not found, please refer to
    INTERNALERROR>                 https://docs.soliditylang.org/en/latest/installing-solidity.html
    INTERNALERROR>                 for help downloading and installing `solc`
    
  2. Not applicable as it currently stands.
  3. Example error:
    <----snip---->
                if result.returncode != 0:
                    stderr_lines = result.stderr.decode().split("\n")
                    stderr_message = "\n".join(line.strip() for line in stderr_lines)
    >               raise Exception(f"failed to compile yul source:\n{stderr_message[7:]}")
    E               Exception: failed to compile yul source:
    E               Function "retrn" not found.
    E               --> <stdin>:8:17:
    E               |
    E               8 |                 retrn(0, 32)
    E               |                 ^^^^^
    
    
    
    src/ethereum_test_tools/code/yul.py:99: Exception
    ============= short test summary info ============
    FAILED tests/homestead/yul/test_yul_example.py::test_yul[fork=Homestead] - Exception: failed to compile yul source:
    

from execution-spec-tests.

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.