Skip to content

UnhandledPromiseRejectionWarning: Error: Returned values aren't valid, did it run Out of Gas? #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
minji-o-j opened this issue Jun 22, 2020 · 1 comment
Labels
UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러

Comments

@minji-o-j
Copy link
Owner

(node:14060) UnhandledPromiseRejectionWarning: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
at ABICoder.decodeParameters (C:\Users\minji\Code\201810808\node_modules\web3-eth-abi\src\index.js:239:15)
at Contract._decodeMethodReturn (C:\Users\minji\Code\201810808\node_modules\web3-eth-contract\src\index.js:568:22)
at Method.outputFormatter (C:\Users\minji\Code\201810808\node_modules\web3-eth-contract\src\index.js:924:42)
at Method.formatOutput (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:167:54)
at sendTxCallback (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:622:33)
at C:\Users\minji\Code\201810808\node_modules\web3-core-requestmanager\src\index.js:173:9
at XMLHttpRequest.request.onreadystatechange (C:\Users\minji\Code\201810808\node_modules\web3-providers-http\src\index.js:110:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage. (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:14060) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14060) [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.

@minji-o-j minji-o-j added the UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러 label Jun 22, 2020
@minji-o-j
Copy link
Owner Author

버전 0.4.21로바꿈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러
Projects
None yet
Development

No branches or pull requests

1 participant