Replies: 2 comments 10 replies
-
Push to GitHub and reply w/ the link |
Beta Was this translation helpful? Give feedback.
6 replies
-
@jameslivancouver Hey! This happens sometime, etherscan does these issues. Now you can it will work. Here is your contract, I have deployed: Make sure you have |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have to add customChains section in order to verify my raffle contract , otherwise, it will be thrown error like:
TypeError: customChains is not iterable at getEtherscanEndpoints (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/@nomiclabs/hardhat-etherscan/src/network/prober.ts:33:37) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Environment._runTaskDefinition (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14) at Environment.run (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/hardhat/src/internal/core/runtime-environment.ts:156:14) at SimpleTaskDefinition.verifySubtask [as action] (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/@nomiclabs/hardhat-etherscan/src/index.ts:209:30) at Environment._runTaskDefinition (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14) at Environment.run (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/hardhat/src/internal/core/runtime-environment.ts:156:14) at verify (/Users/tony/Desktop/hardhat-lottery-fullstack/helper-functions.js:5:9) at Object.module.exports [as func] (/Users/tony/Desktop/hardhat-lottery-fullstack/deploy/01_Deploy_Raffle.js:46:9) at DeploymentsManager.executeDeployScripts (/Users/tony/Desktop/hardhat-lottery-fullstack/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1220:22) ✨ Done in 87.91s.
However, I know rinkeby is supported network by hardhat etherscan plugin , it doesn't have to add a customChains section .
Code as below:
Beta Was this translation helpful? Give feedback.
All reactions