Giter Site home page Giter Site logo

foundry-yul-boilerplate's People

Stargazers

 avatar

Watchers

 avatar

foundry-yul-boilerplate's Issues

YulDeployer could not deploy contract

forge test --mt testBasic -vvvvvvv --use 0.8.20

The results:

[⠒] Compiling...
No files changed, compilation skipped
2023-07-20T01:21:09.870590Z ERROR forge::runner: setUp failed reason="YulDeployer could not deploy contract" contract=0x7fa9385be102ac3eac297483dd6233d62b3e1496

Running 1 test for test/Basic.t.sol:BasicTest
[FAIL. Reason: Setup failed: YulDeployer could not deploy contract] setUp() (gas: 0)
Traces:
  [8937393460516729874] BasicTest::setUp()
    ├─ [8937393460516724827] YulDeployer::deployContract(Basic)
    │   ├─ [0] VM::ffi([bash, -c, cast abi-encode "f(bytes)" $(solc --strict-assembly yul/Basic.yul --bin | tail -1)])
    │   │   └─ ← 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000017600c600b5f39600c5ff3fe6005600301805f5260205ff3000000000000000000
    │   ├─ [6] → new <Unknown>@0x104fBc016F4bb334D775a19E8A6510109AC63E00
    │   │   └─ ← 0 bytes of code
    │   └─ ← "YulDeployer could not deploy contract"
    └─ ← "YulDeployer could not deploy contract"

Test result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 32.21ms
Ran 1 test suites: 0 tests passed, 1 failed, 0 skipped (1 total tests)

Failing tests:
Encountered 1 failing test in test/Basic.t.sol:BasicTest
[FAIL. Reason: Setup failed: YulDeployer could not deploy contract] setUp() (gas: 0)

Encountered a total of 1 failing tests, 0 tests succeeded

My local solc version:

➜  foundry-yul-boilerplate git:(main) solc --version
solc, the solidity compiler commandline interface
Version: 0.8.20+commit.a1b79de6.Darwin.appleclang

My local forge version:

➜  foundry-yul-boilerplate git:(main) forge -V
forge 0.2.0 (d8d9aa1 2023-07-20T00:19:34.202604000Z)

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.