Bump hardhat-gas-reporter in toolboxes
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
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 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.
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