hardhat-Yul icon indicating copy to clipboard operation
hardhat-Yul copied to clipboard

Error when compiling

Open corentindenoeud opened this issue 1 year ago • 3 comments

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)`

corentindenoeud avatar Apr 25 '23 01:04 corentindenoeud

Did you end up solving this?

sewinter avatar Sep 02 '23 17:09 sewinter

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

ControlCplusControlV avatar Sep 04 '23 02:09 ControlCplusControlV