Replies: 2 comments 1 reply
-
It may be an issue with my network, and I will try running it again tomorrow morning |
Beta Was this translation helpful? Give feedback.
1 reply
-
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮件我已经收到,我会尽快回复,谢谢。
|
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
-
When I deploying my contract and verify the source code, I got the issue that 'NetworkRequestError: A network request failed. This is an error from the block explorer, not Hardhat. Error: connect ECONNREFUSED 54.89.135.129:443
at Etherscan.isVerified' , i have the same code with the lesson. I'm not sure if it's a problem with my network, but I am open the vpn and I can deploy the Contract.
the hardhat.config.js
the deolpy.js
and the error
Verify contract... NetworkRequestError: A network request failed. This is an error from the block explorer, not Hardhat. Error: connect ECONNREFUSED 54.89.135.129:443 at Etherscan.isVerified (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:111:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at SimpleTaskDefinition.action (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/@nomicfoundation/hardhat-verify/src/internal/tasks/etherscan.ts:105:24) at Environment._runTaskDefinition (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14) at Environment.run (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14) at SimpleTaskDefinition.action (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/@nomicfoundation/hardhat-verify/src/index.ts:298:9) at Environment._runTaskDefinition (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14) at Environment.run (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14) at verify (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/scripts/deploy.js:43:9) at main (/Users/icanci/Solidity/Solidity-Learn-for-Hardhat/hardhat-simple-storage-fcc/scripts/deploy.js:24:9) currentValue: 0 newValue: 7 ✨ Done in 104.27s.
Beta Was this translation helpful? Give feedback.
All reactions