ChainSafe / ChainSafe/ethermint-deploy

Error: Returned error: UnmarshalBinaryLengthPrefixed cannot decode empty bytes

Offen
#5 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
10
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

192:ethermint-deploy a$ yarn start
yarn run v1.22.4
$ node ./web3/deploy_contract.js
Compiling contract code...
Unlocked account address: 0x16732d1b18a04A8106557a5806C992D33Ca12F59
Deploying contract...
Deployed contract Address: 0x81F59Ae90635FA0AF26131B77C9281f1463c6FbF
Error: Returned error: UnmarshalBinaryLengthPrefixed cannot decode empty bytes
at Object.ErrorResponse (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-core-helpers/src/errors.js:29:16)
at /Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-core-requestmanager/src/index.js:140:36
at XMLHttpRequest.request.onreadystatechange (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-providers-http/src/index.js:102:13)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
at IncomingMessage. (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Counter pre increment is: undefined
Sending add transaction...
Add tx finalized in block: 4048
Error: Returned error: UnmarshalBinaryLengthPrefixed cannot decode empty bytes
at Object.ErrorResponse (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-core-helpers/src/errors.js:29:16)
at /Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-core-requestmanager/src/index.js:140:36
at XMLHttpRequest.request.onreadystatechange (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/web3-providers-http/src/index.js:102:13)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
at IncomingMessage. (/Users/a/go/src/github.com/ChainSafe/ethermint-deploy/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Counter post increment is: undefined
✨ Done in 11.69s.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit web3/deploy_contract.js, dem im Bericht gezeigten Einstiegspunkt, und reproduziere das Deployment mit yarn start. Verfolge die Requests, die die Fehler UnmarshalBinaryLengthPrefixed und die undefined-Zählerwerte erzeugen; abgeschlossen ist die Aufgabe, wenn das Deployment und beide Counter-Lesevorgänge ohne diese Fehler abgeschlossen werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js
Bereich
blockchain
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.