-
Notifications
You must be signed in to change notification settings - Fork 3
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
Local network not restarting for every run #6
Comments
@xanderdeseyn Is there any update on this? I'm having the same issue. |
Same here. I have issues when using |
@ohaponiuk , are you resetting it via |
It doesn't work properly. Using only in the function that I need to reset causes this:
The idea of using loadFixture from hardhat is already to have a clean and reset node in each test, without the necessity to use beforeEach and afterEach (which will break if you try to reset the node state again). It works when running tests without test watcher, even if you use many time travel functions. |
can you provide a MRE please? |
I noticed that when I run tests with hardhat-watcher on local hardhat network if I spam tests, signers' balances don't reset and I get weird bugs where they don't have enough funds because they used them in the previous run of the same test.
The text was updated successfully, but these errors were encountered: