hardhat上 部署bsc测试网络失败,按照视频里面的代码sepolia上可以正常部署成功
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, solidity
- Lĩnh vực
- blockchain, devtools
Hướng nghiên cứu
Start at lesson-4/scripts/deployFundMe.js line 12 and trace the deployment call that reaches HardhatEthersProvider. Compare the BSC testnet configuration with the working Sepolia setup, then verify that deployment no longer produces the reported provider argument error; the repository is marked as no longer maintained.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ProviderError: too many arguments, want at most 1
at HttpProvider.request (E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules\hardhat\src\internal\core\providers\http.ts:90:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at HardhatEthersProvider.estimateGas (E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules@nomicfoundation\hardhat-ethers\src\internal\hardhat-ethers-provider.ts:237:27)
at E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules@nomicfoundation\hardhat-ethers\src\signers.ts:235:35
at async Promise.all (index 0)
at HardhatEthersSigner._sendUncheckedTransaction (E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules@nomicfoundation\hardhat-ethers\src\signers.ts:256:7)
at HardhatEthersSigner.sendTransaction (E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules@nomicfoundation\hardhat-ethers\src\signers.ts:125:18)
at ContractFactory.deploy (E:\Git\Web3_tutorial_Chinese\lesson-4\node_modules\ethers\src.ts\contract\factory.ts:111:24)
at main (E:\Git\Web3_tutorial_Chinese\lesson-4\scripts\deployFundMe.js:12:20)
- Ngôn ngữ chính
- Solidity
- Star
- 1.5k
- Fork
- 383
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của smartcontractkit/Web3_tutorial_Chinese
-
第三节问题 Mapping 问题Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 15/100
-
hardhat 部署问题Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 10/100
smartcontractkit/Web3_tutorial_Chinese#96 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
smartcontractkit/Web3_tutorial_Chinese#94 · 1 bình luận ·
-
我在第六课中进行编译时总是提示我未安装open zeppelin/[email protected],但实际上我已经安装,并且缺少一个名为ccipReceive.sol的文件,具体问题如下图Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
smartcontractkit/Web3_tutorial_Chinese#93 · 6 bình luận ·
Tất cả issue của smartcontractkit/Web3_tutorial_Chinese
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
icon-project/sodax-sdks#696 ·
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
th30d4y/OpenLearnX#737 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
btclib-org/btclib-node#2656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hiero-ledger/hiero-sdk-js#4832 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bigint RPC params are sent as strings when the application defines BigInt.prototype.toJSONCó thể đã có người làm @andreisilviudragnea đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày