-
Notifications
You must be signed in to change notification settings - Fork 269
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
Support HardHat #541
Comments
Looking forward to this! |
See the new Hardhat README for installation instructions, etc. By default coverage now runs on the HardhatEVM / network and requires no additional config or ganache provider setup. Also about 2X faster. Please just lmk if you run into any issues with this. |
Amazing! I upgraded to 0.7.12 in my [solidity-template][1] and it works like a charm with Hardhat. Thanks @cgewecke! |
Hi, For example in my repo I have
So with still the tests fail unless I run with I think the right thing to do here is for the plugin to have the artifacts be stored in the paths.artifacts path instead of the hardcoded This is an example repo with this config: https://github.com/unipeer/unipeer |
Hi @shalzz, thanks for reporting. Yes, I think at a minimum the README needs to highlight this option and discuss how to use w/ typechain or other plugins that also rely on the The difficulty with storing coverage artifacts in the default location is that they are "corrupted" by the instrumentation the tool adds to the solidity code. And it's possible people rely on the artifacts folder being preserved across commands and would be upset when coverage automatically deletes it. Additionally, there is a bug discovered yesterday in the way |
The text was updated successfully, but these errors were encountered: