You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the ./ignition/modules, I've saved x.js and ran it with npx hardhat ignition deploy ./ignition/modules/x.js --network y . It returned:
Nothing to compile
IgnitionError: IGN702: Module validation failed with reason: Invalid artifact given.
Error in plugin hardhat-ignition: Module validation failed. Check the stack trace above to identify the issue and its source code location.
so I've put x.sol 's version into the hardhat.config.ts , should I reload something to be recognized?
Hi, I used your configuration and run npx hardhat compile. I get an error "Error: Must compile with ast" which is caused by @foundry-rs/hardhat-forge. This issue has been fixed in https://github.com/foundry-rs/hardhat/pull/114, but a new version of the npm package has not been released yet.
If I remove the import "@foundry-rs/hardhat-forge"; line from hardhat.config.ts, then I am able to compile the contract.
Version of Hardhat
2.22.10
What happened?
npx hardhat ignition deploy ./ignition/modules/x.js --network y
. It returned:npx hardhat clean --global
npx hardhat compile
, returned Nothing to compile so I've repeated with yarn, same message.Minimal reproduction steps
e.g. following Ignition quickstart with this config:
I try to deploy Split.sol in contracts with this .js:
Search terms
No response
The text was updated successfully, but these errors were encountered: