-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use v2 with @nomicfoundation/hardhat-toolbox ? #246
Comments
@kopax Does this fix itself if you completely uninstall the gas-reporter (e.g make sure neither version is in your dependency tree) and then only install the latest? Another approach is suggested in #229, where you can use npm's npm
yarn
|
Hi @cgewecke and thanks for your reply. I just pinned the hardhat-gas-reporter version to latest, and so far I do not see regression (your first suggestion). However, I am not if later i use more feature from hardhat-toolbox if it will become buggy. Are all the interface the same ? I wish they could upgrade hardhat-toolbox with the latest version, but no one poped yet in the opened issue on their repository. |
Yes, it should be ok. There were no relevant API changes in the gas reporter between v1 and v2 and the toolbox basically just imports a set of plugins - I think it's meant to make people's You might see peer dependency warnings from npm when installing since the toolbox lists v1 as a peer here, but that's all. |
Hi there, I can see you upgraded ethers v5 to v6 in v2, which is highly needed for deduping package.
However, @NomicFoundation use the obselete outdated v1 version.
I have tried to force install the v2 instead of v1, but it seem incompatible.
How do you guy use
hardhat-gas-reporter@2
? Do you have any top so I can use it with the toolbar ?Thanks
Link NomicFoundation/hardhat#5795
The text was updated successfully, but these errors were encountered: