-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Compiles Every Time #4439
Comments
Hi @amarpatel, I tried to repro but for me it works correctly. |
My team is working on a private repo, so I'm not able to provide a link. Are there any limitations that cause compiles to run on every action? (EG: memory limits, quantity of solidity files, etc.). My dev environment includes the following: export HARDHAT_MAX_MEMORY=4096
export NODE_OPTIONS=--max_old_space_size=4096 |
Hey @amarpatel, if you are running If this is a bug, then we'll need some way to reproduce it. If you can give me or @ChristopherDedominici temporary access to your repo, we can take a look. If that's not possible, then the only thing you could do is try to create a separate reproduction repo that you can share (for example, by eliminating all the code you can while preserving the unexpected behavior). |
Version of Hardhat
2.17.4 + 2.17.1
What happened?
After compiling, when running tests, HH used to say some message like "nothing to compile". That isn't happening anymore.
I ran the following command:
Unless
--no-compile
is specified, this behavior adds ~60s to each test run. It's impractical to update all the callsites to address this regression.Minimal reproduction steps
Search terms
hardhat compile every time, hardhat compile before testing
The text was updated successfully, but these errors were encountered: