NomicLabsHardhatPluginError: Failed to send contract verification request. when using this command “npm run deploy --network sepolia”

Đang mở
#169 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
blockchain

Hướng nghiên cứu

Start with the Quickstart tutorial and the npm run deploy --network sepolia entry point, then trace the verification request through @nomiclabs/hardhat-etherscan. Reproduce the timeout against https://api-sepolia.etherscan.io/api; done when the Sepolia deployment and contract-verification behavior is documented or the failure is fixed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I tried to deploy Hardhat Starter Kit following the tutorial in Quickstart, but it didn't work. Although I have changed the .env file and replaced the correct SEPOLIA_RPC_URL and my wallet address in the SEPOLIA network, the deployment still fails.

The following prompts in the terminal after failure:

APIConsumer deployed to 0xA8AB10f440949F3c779C002aa646543d0378094c on sepolia
Nothing to compile
NomicLabsHardhatPluginError: Failed to send contract verification request.
Endpoint URL: https://api-sepolia.etherscan.io/api
Reason: Connect Timeout Error
    at verifyContract (/Users/morethan/Documents/git/XJTLU_Master_Project/chainlink-smart-contract/hardhat-starter-kit/node_modules/@nomiclabs/hardhat-etherscan/src/etherscan/EtherscanService.ts:35:11)

This error means the connection timed out. I think the Sepolia network is a test network and may not be supported by Etherscan, hence the timeout error when trying to verify the contract.

Ngôn ngữ chính
JavaScript
Star
1.3k
Fork
510
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của smartcontractkit/hardhat-starter-kit

Tất cả issue của smartcontractkit/hardhat-starter-kit

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.