Skip to content
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

Error when compiling #2

Open
corentindenoeud opened this issue Apr 25, 2023 · 3 comments
Open

Error when compiling #2

corentindenoeud opened this issue Apr 25, 2023 · 3 comments

Comments

@corentindenoeud
Copy link

Hi, I have the following error when compiliing the SimpleStore contract, any clue ?

` SimpleStore
1) SimpleStore

0 passing (601ms)
1 failing

  1. SimpleStore
    SimpleStore:
    NomicLabsHardhatPluginError: You are trying to create a contract factory from an artifact, but you have not passed a valid artifact parameter.
    at getContractFactoryFromArtifact (/home/ubuntu/node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:132:11)
    at getContractFactory (/home/ubuntu/node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:101:12)
    at async Context. (/home/ubuntu/yul/test/test.js:6:25)`
@sewinter
Copy link

sewinter commented Sep 2, 2023

Did you end up solving this?

@ControlCplusControlV
Copy link
Owner

foundry supports compiling single Yul artifacts, would recommend using that instead at this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@sewinter @ControlCplusControlV @corentindenoeud and others