hardhat-ignition icon indicating copy to clipboard operation
hardhat-ignition copied to clipboard

Wipe entire deployment

Open samokander opened this issue 5 months ago • 0 comments

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

samokander avatar Sep 23 '24 17:09 samokander