github NomicFoundation/hardhat hardhat-core-v2.0.10
Hardhat v2.0.10

latest releases: hardhat@2.22.4, @nomiclabs/hardhat-solhint@3.1.0, @nomicfoundation/hardhat-viem@2.0.2...
3 years ago

This PR fixes a problem introduced in v2.0.9 that caused Hardhat to stop working with node 14.

Besides that, there are two important fixes to mainnet forking:

  • The nonces of the unlocked accounts now use the values in the forked chain, instead of being set to 0. This was causing an issue when several contracts were deployed with the first default account.
  • The timestamps of new blocks are now computed based on the forked block. This means that if, for example, the forked block has a timestamp of 2021-01-01 06:00, and you mine a block one minute after forking, the timestamp of that block will be 2021-01-01 06:01 instead of using the current date. There's a slight change that this fix breaks something for you, so keep this change in mind

Huge thanks to @fubhy for contributing to this release!

Don't miss a new hardhat release

NewReleases is sending notifications on new releases.