generated from wighawag/template-hardhat-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
Great plugin, although etherscan fails - i presume this is because etherscan-verify plugin isn't in the same pipeline or something so it doesn't get run - so hence the files are different ?
The only thing I was doing was removing "console.log"
preprocess: {
eachLine: removeConsoleLog((hre) => hre.network.name !== 'hardhat' && hre.network.name !== 'localhost'),
},
This is the error (npx hardhat etherscan-verify --network bsc_mainnet)
Failed to verify contract Token: NOTOK, Fail - Unable to verify
{
"apikey": "XXXXXX",
"module": "contract",
"action": "verifysourcecode",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels