hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Bump hardhat-gas-reporter in toolboxes

Open fvictorio opened this issue 6 months ago • 2 comments

We need to:

  • Bump the gas reporter to v2 in both toolboxes
  • Do some minimal manual testing to check that everything works
  • Check if we need to update any docs/readmes
  • Release major versions of both toolboxes

fvictorio avatar Jun 04 '25 09:06 fvictorio

While the v2 release is necessary if you were relying on the Etherscan API, I would be careful as this is a breaking change for the plugin and should be explicitly communicated if this is released as a Hardhat minor release.

See https://github.com/cgewecke/hardhat-gas-reporter/releases/tag/v2.0.0 for some of the changes introduced. When I checked the major repositories, and also NPM, the majority of the hardhat-gas-reporter repositories (possibly due to hardhat-toolbox) is still on 1.x.

nebasuke avatar Jun 04 '25 11:06 nebasuke

@nebasuke agree, that's why I mentioned that we need to release new major versions of each toolbox. For Hardhat itself we can release just a minor because it only affects new initalized projects.

fvictorio avatar Jun 04 '25 13:06 fvictorio

The new versions of the toolbox have been released:

  • https://github.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation%2Fhardhat-toolbox%406.0.0
  • https://github.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation%2Fhardhat-toolbox-viem%404.0.0

kanej avatar Jun 23 '25 12:06 kanej