Open cjmling opened 2 years ago
If we see this error when verify then we have to pass the --contract option
hardhat verify "<address>" --network rinkeby --contract contracts/<FileName>.sol:<ContractName> <other args>
Example : hardhat verify "<address>" --network rinkeby --contract contracts/Example.sol:ExampleContract <other args>
hardhat verify "<address>" --network rinkeby --contract contracts/Example.sol:ExampleContract <other args>
Error in plugin @nomiclabs/hardhat-etherscan: More than one contract was found to match the deployed bytecode.
If we see this error when verify then we have to pass the --contract option
hardhat verify "<address>" --network rinkeby --contract contracts/<FileName>.sol:<ContractName> <other args>
Example :
hardhat verify "<address>" --network rinkeby --contract contracts/Example.sol:ExampleContract <other args>
Error in plugin @nomiclabs/hardhat-etherscan: More than one contract was found to match the deployed bytecode.