-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
$ node test2.js
(node:91538) UnhandledPromiseRejectionWarning: Error: Invalid bytes string given: 0x
at AbiCoder.decodeParameters (/Users/username/programming/learning_blockchain/web3_basic/node_modules/web3-eth-abi/dist/web3-eth-abi.cjs.js:64:15)
at CallContractMethod.afterExecution (/Users/username/programming/learning_blockchain/web3_basic/node_modules/web3-eth-contract/dist/web3-eth-contract.cjs.js:740:32)
at CallContractMethod._callee$ (/Users/username/programming/learning_blockchain/web3_basic/node_modules/web3-core-method/dist/web3-core-method.cjs.js:354:35)
at tryCatch (/Users/username/programming/learning_blockchain/web3_basic/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/Users/username/programming/learning_blockchain/web3_basic/node_modules/regenerator-runtime/runtime.js:288:22)
at Generator.prototype.(anonymous function) [as next] (/Users/username/programming/learning_blockchain/web3_basic/node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (/Users/username/programming/learning_blockchain/web3_basic/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/Users/username/programming/learning_blockchain/web3_basic/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7)
(node:91538) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:91538) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Metadata
Metadata
Assignees
Labels
No labels