Created
July 7, 2022 16:33
-
-
Save alcuadrado/7c1a64f05c90184b17dff866d7520d73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const helpers = require("@nomicfoundation/hardhat-network-helpers"); | |
await helpers.mine(100); | |
await helpers.time.increase(3600); | |
const snapshot = await helpers.takeSnapshot(); | |
await snapshot.restore() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment