经历
使用openzeppelin写了个简单的Erc721合约,成功部署到goerli测试网,但是在验证的时候一直报错:
Error in plugin @nomiclabs/hardhat-etherscan: Failed to send contract verification request.
Endpoint URL: https://api-goerli.etherscan.io/api
Reason: Connect Timeout Error
NomicLabsHardhatPluginError: Failed to send contract verification request.
Endpoint URL: https://api-goerli.etherscan.io/api
Reason: Connect Timeout Error
at verifyContract (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\etherscan\EtherscanService.ts:35:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async attemptVerification (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\index.ts:461:20)
at async SimpleTaskDefinition.action (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\index.ts:765:48)
at async Environment._runTaskDefinition (F:\w\hardhat\proj