ChainSafe / ChainSafe/ethermint-deploy

Error: Returned error: UnmarshalBinaryLengthPrefixed cannot decode empty bytes

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
10
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da web3/deploy_contract.js, il punto di ingresso mostrato nel report, e riproduci il deployment con yarn start. Traccia le richieste che producono gli errori UnmarshalBinaryLengthPrefixed e i valori undefined dei contatori; il lavoro è completato quando il deployment e entrambe le letture dei contatori terminano senza questi errori.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
blockchain
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.