Lesson 5: Error! Unable to locate ContractCode at #6600
Replies: 1 comment
-
npx hardhat verify --network <network-name> <contract-address> Fix: Deploy the contract again using: npx hardhat run scripts/deploy.js --network <network-name> 2- Incorrect Network Used for Verification npx hardhat verify --network goerli <contract-address> Constructor Arguments Not Provided (Hardhat Verification) npx hardhat verify --network goerli <contract-address> "arg1" "arg2" Fix: Get the arguments from the deployment script and pass them: npx hardhat verify --network goerli <contract-address> "arg1" "arg2" If the contract uses a .json file for arguments: npx hardhat verify --network goerli --constructor-args arguments.js <contract-address> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting Error when trying to verify and publish the contract.
Error! Unable to locate ContractCode at " Contract address"
Beta Was this translation helpful? Give feedback.
All reactions