Open ChristopherDedominici opened 1 week ago
2.22.5
See this issue to better understand the problem.
PROBLEM snapshot.restore cannot be used (e.g. in a afterEach) when loadFixture is used, because loadFixture already reset the snapshot. We should better understand if we should allow the users to run snapshot.restore also when loadFixture is used
snapshot.restore
loadFixture
Run the code mentioned in the original issue
No response
Version of Hardhat
2.22.5
What happened?
See this issue to better understand the problem.
PROBLEM
snapshot.restore
cannot be used (e.g. in a afterEach) whenloadFixture
is used, becauseloadFixture
already reset the snapshot. We should better understand if we should allow the users to runsnapshot.restore
also whenloadFixture
is usedMinimal reproduction steps
Run the code mentioned in the original issue
Search terms
No response