web3.eth.call({from: "0x11438391c521C6D0bc98CAa13C002a78d8dc7766", to: "0xb68d4ff190cB6B3d577335c89B40961853723768", data: "0x60810032"}).then(console.log);
Promise { }
> (node:8072) UnhandledPromiseRejectionWarning: Error: Returned error: VM Exception while processing transaction: revert
at Object.ErrorResponse (C:\nodeproject\node_modules\web3-core-helpers\lib\errors.js:28:19)
at C:\nodeproject\node_modules\web3-core-requestmanager\lib\index.js:303:36
at XMLHttpRequest.request.onreadystatechange (C:\nodeproject\node_modules\web3-providers-http\lib\index.js:98:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage. (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:388:22)
at IncomingMessage.emit (domain.js:532:15)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:8072) 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: 4)
> (node:8072) UnhandledPromiseRejectionWarning: Error: Returned error: VM Exception while processing transaction: revert
at Object.ErrorResponse (C:\nodeproject\node_modules\web3-core-helpers\lib\errors.js:28:19)
at C:\nodeproject\node_modules\web3-core-requestmanager\lib\index.js:303:36
at XMLHttpRequest.request.onreadystatechange (C:\nodeproject\node_modules\web3-providers-http\lib\index.js:98:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\nodeproject\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage.
at IncomingMessage.emit (events.js:388:22)
at IncomingMessage.emit (domain.js:532:15)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:8072) 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: 4)
Jun 7, 2021, 7:15 AM
ohhh i think it was solved :))) thnx
Jun 7, 2021, 7:23 AM