How do I automatically mine blocks when I fork the mainnet? #4378
the-content
started this conversation in
General
Replies: 1 comment 1 reply
-
You could enable interval mining, or manually mine new blocks with the mine helper. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using hardhat's fork feature locally, I forked BSC's mainnet, and in my contract, I need to display the calculated gain based on block.timestamp in real time in the dapp based on the current block timestamp, but I noticed that the timestamp doesn't automatically increment if there is no transaction occurring, is there any way to do this? Or is there any config item to make the fork function tap automatically?
Beta Was this translation helpful? Give feedback.
All reactions