solidity-coverage: Cannot find generated artifacts
I am using hardhat-deploy with solidity-coverage so there might be some incompatibilities but cannot find any obvious one
The issue I have is that there seems to be no generated artifacts in the temp folder, even though the .coverage_cache
contains solidity-files-cache.json
I commented the line that delete the temp folder and after execution of hardhat coverage
the folder exist but is empty.
Any idea ?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (8 by maintainers)
@wighawag This should be fixed with
0.7.13
in combination with Hardhat2.0.4
. There’s no longer any need to use the--temp
flag and solidity-coverage has stopped trying to modify thepaths
artifacts & cache values.Have also added your a fork of your ethereum-template-contracts project as a smoke-test in CI here and everything seems to work as expected.
Just lmk if you see any further problems on your side.
No problem, glad to be of help. solidity-coverage is a great tool 😃
note that generating temp in the default artifacts folder (but saving the cache in a different folder than the default cache folder) will make hardhat caching fails as it will keep using soldity-coverage artifacts unless changes to file happen
I guess the artifacts are suposed to be generated in the temp folder , right ?