github NomicFoundation/hardhat hardhat-etherscan-v2.1.1
hardhat-etherscan v2.1.1

latest releases: @nomiclabs/hardhat-vyper@3.0.6, hardhat@2.22.3, @nomicfoundation/hardhat-viem@2.0.1...
3 years ago

This release includes some improvements to the hardhat-etherscan plugin.

Ambiguous contracts

The plugin tries to automatically detect the contract that is being verified, but sometimes you can have two different contracts that generate the same bytecode. In previous versions this meant that you couldn't verify those contracts without modifying one of them. Now you can use the --contract parameter to specify which of the ambiguous contracts should be used.

Undetectable libraries

The plugin also tries to detect which libraries are linked to the contract that is being verified, but there are some edge cases where this is not possible (for example, if a library is only used in the constructor). Now you can use the --libraries parameter to pass these undetectable libraries. Learn more here.

Binance Smart Chain

We added support for BSC and its testnet. Huge thanks to @purperen and @guagualvcha who contributed to this.

Don't miss a new hardhat release

NewReleases is sending notifications on new releases.