hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Update hardhat-gas-reporter dependency in hardhat-toolbox to the v2

Open videvian opened this issue 1 year ago • 1 comments

Describe the feature

There's a known issue when hardhat-gas-reporter@2 and @nomicfoundation/hardhat-toolbox@5 are used together, there's an error while running any hardhat command:

Error HH201: Could not set param output for task gas-reporter:merge because its name is already used. For more info go to https://hardhat.org/HH201 or run Hardhat with --show-stack-traces

Issue: https://github.com/cgewecke/hardhat-gas-reporter/issues/229

The suggested workaround doesn't work for me.

It would be nice if the dependency of @nomicfoundation/hardhat-toolbox on hardhat-gas-reporter would be updated to the latest v2. The latest [email protected] was released in May 2024 and it's pretty stable https://github.com/cgewecke/hardhat-gas-reporter/releases/tag/v2.2.0

Search terms

No response

videvian avatar Jul 26 '24 21:07 videvian

This will imply a major bump to both toolboxes (ethers based and viem based).

kanej avatar Aug 13 '24 08:08 kanej