hardhat上 部署bsc测试网络失败,按照视频里面的代码sepolia上可以正常部署成功

オープン
#33 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, solidity

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)

主要言語
Solidity
スター
1.5k
フォーク
383
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

smartcontractkit/Web3_tutorial_Chinese のほかの issue

smartcontractkit/Web3_tutorial_Chinese の issue をすべて見る

似ている issue

Blockchain の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。