問題タブ [bsc]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
258 参照

ethereum - トリュフを使用してbscネットワークにコントラクトを展開できません

bsctest ネットワークと ropsten にデプロイした同じコードですが、bscmain ネットワークにはデプロイできません

ERROR : 未処理のエラー。({ コード: -32000、メッセージ: 'ヘッダーが見つかりません' })

privatetest@testcms:~/signcontract$ truffle migrate --reset --network bsc

契約を編集しています...

すべてが最新で、コンパイルするものは何もありません。

移行を開始しています...

ネットワーク名: 'bsc' ネットワーク ID: 56 ブロックガス制限: 100000000 (0x5f5e100)

1_initial_migration.js

「移行」の展開

トランザクション ハッシュ: 0xfe684e89b8c275483263248a818533432bda9d4f308ef4f09ee8fda2d783ff3e ⠇ ブロック: 17 秒: 68Error [ERR_UNHANDLED_ERROR]: 未処理のエラー。({ コード: -32000、メッセージ: 'ヘッダーが見つかりません' }) /home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index の Web3ProviderEngine.emit (events.js:304:17)。 js:57:14 at afterRequest (/home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index.js:151:21) at /home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider -engine/index.js:176:21 at /home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index.js:238:9 at /home/privatetest/signcontract/node_modules/async/internal/ once.js:12:16 補充時 (/home/privatetest/signcontract/node_modules/async/internal/eachOfLimit.js:61: 25) /home/privatetest/signcontract/node_modules/async/internal/eachOfLimit.js:71:9 at eachLimit (/home/privatetest/signcontract/node_modules/async/eachLimit.js:43:36) at /home/privatetest /signcontract/node_modules/async/internal/doLimit.js:9:16 最後 (/home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index.js:217:5) で Request._callback ( /home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js:70:28) Request.self.callback (/home/privatetest/signcontract/node_modules/request/request.js: 185:22) で Request.emit (events.js:315:20) で Request. (/home/privatetest/signcontract/node_modules/request/request.js:1154:10) Request.emit (events.js:315:20) で /home/privatetest/signcontract/node_modules/async/internal/doLimit.js:9:16 の各制限 (/home/privatetest/signcontract/node_modules/async/eachLimit.js:43:36) で 9 (/home/ privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index.js:217:5) Request._callback (/home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc. js:70:28) で Request.self.callback (/home/privatetest/signcontract/node_modules/request/request.js:185:22) で Request.emit (events.js:315:20) で Request. (/home/privatetest/signcontract/node_modules/request/request.js:1154:10) Request.emit (events.js:315:20) で /home/privatetest/signcontract/node_modules/async/internal/doLimit.js:9:16 の各制限 (/home/privatetest/signcontract/node_modules/async/eachLimit.js:43:36) で 9 (/home/ privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/index.js:217:5) Request._callback (/home/privatetest/signcontract/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc. js:70:28) で Request.self.callback (/home/privatetest/signcontract/node_modules/request/request.js:185:22) で Request.emit (events.js:315:20) で Request. (/home/privatetest/signcontract/node_modules/request/request.js:1154:10) Request.emit (events.js:315:20) で Request.self.callback (/home/privatetest/signcontract/node_modules/request/request. js:185:22) で Request.emit (events.js:315:20) で Request. (/home/privatetest/signcontract/node_modules/request/request.js:1154:10) Request.emit (events.js:315:20) で Request.self.callback (/home/privatetest/signcontract/node_modules/request/request. js:185:22) で Request.emit (events.js:315:20) で Request. (/home/privatetest/signcontract/node_modules/request/request.js:1154:10) Request.emit (events.js:315:20) で