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
I'm using ignition to deploy contracts from external repository by specifying artifacts to deploy as described in the docs.
Getting this error when running `npx hardhat ignition verify...:
Error: ENOENT: no such file or directory, open '/home/tadas/sources/sim31/frapps/impl/ordao/sc-deployment/ignition/deployments/op-sepolia-1/artifacts/Orec#Orec.dbg.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/tadas/sources/sim31/frapps/impl/ordao/sc-deployment/ignition/deployments/op-sepolia-1/artifacts/Orec#Orec.dbg.json'
}
When I place the expected debug file, the error goes away.
Then another error appears:
Error: ENOENT: no such file or directory, open '/home/tadas/sources/sim31/frapps/impl/ordao/sc-deployment/ignition/deployments/build-info/2bf29f558aacadc638c9589b99d7fcc1.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/tadas/sources/sim31/frapps/impl/ordao/sc-deployment/ignition/deployments/build-info/2bf29f558aacadc638c9589b99d7fcc1.json'
}
Again I solve this by copying expected build-info files to the expected place. Then finally verification works.
Would be nice if ignition would either handle this automatically (although I understand that the user would then have to specify these debug and build-info files somehow) or there would be some warnings in the docs about these extra manual steps.
Minimal reproduction steps
Create sample hardhat project 1, compile it;
Create hardhat project 2, create ignition module that tries to deploy artifact from project 1 (as described here);
Use ignition to deploy to testnet (I was deploying to OP Sepolia)
Try using ignition to verify testnet deployment
Search terms
ignition, verification
The text was updated successfully, but these errors were encountered:
Version of Hardhat
2.22.8
What happened?
I'm using ignition to deploy contracts from external repository by specifying artifacts to deploy as described in the docs.
Getting this error when running `npx hardhat ignition verify...:
When I place the expected debug file, the error goes away.
Then another error appears:
Again I solve this by copying expected build-info files to the expected place. Then finally verification works.
Would be nice if ignition would either handle this automatically (although I understand that the user would then have to specify these debug and build-info files somehow) or there would be some warnings in the docs about these extra manual steps.
Minimal reproduction steps
Search terms
ignition, verification
The text was updated successfully, but these errors were encountered: