cjmling / findings

Notes on stuff i finds worth keeping for quick reference later on.
2 stars 0 forks source link

Error in plugin @nomiclabs/hardhat-etherscan: The constructor for contracts 1 parameters but 0 arguments were provided instead. #333

Open cjmling opened 2 years ago

cjmling commented 2 years ago

That mean we have to pass default constructor argument

For example

npx hardhat verify --network mainnet DEPLOYED_CONTRACT_ADDRESS "Constructor argument 1"

Error in plugin @nomiclabs/hardhat-etherscan: The constructor for contracts 1 parameters but 0 arguments were provided instead.