Skip to content
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

Wipe entire deployment #811

Open
samokander opened this issue Sep 23, 2024 · 0 comments
Open

Wipe entire deployment #811

samokander opened this issue Sep 23, 2024 · 0 comments

Comments

@samokander
Copy link

Describe the feature

While using Hardhat Ignition modules with hardhat fixtures in tests, I'm facing a problem. When using hardhat network and repeatedly executing hardhat test test/myTest.ts I get many errors in console, linked to the fact that I'm running the test for the second time - the state of the contracts is altered by the first test run.

Maybe consider adding something like hardhat ignition wipe deploymentId * so that at least it is possible to delete entire deployment via console.
Or perhaps —reset flag on hardhat test would be handy.

Search terms

hardhat ignition test hardhat network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant