Skip to content

Instantly share code, notes, and snippets.

@franckc
Created August 10, 2018 23:56
Show Gist options
  • Save franckc/532698008a1abc26db35b0da0242c58b to your computer and use it in GitHub Desktop.
Save franckc/532698008a1abc26db35b0da0242c58b to your computer and use it in GitHub Desktop.
EventListener failure on newly created listing from DApp
Decoding ABI for log: { logIndex: 0,
transactionIndex: 0,
transactionHash: '0xc2db77da67fba788fe9833e4b3af609935e358f40ce80bb3b87b57330f54abb9',
blockHash: '0x99768f8177e1c73fd9b862ecded3a1755f2551307f828770fc7df37cb5f94a0f',
blockNumber: 40,
address: '0x2a504B5e7eC284ACa5b6f49716611237239F0b97',
data: '0x0a6212e6873788f2f77bbdef103e73da9f74064393df70ce893a823ad3c3f2ff',
topics:
[ '0xec3d306143145322b45d2788d826e3b7b9ad062f16e1ec59a5eaba214f96ee3c',
'0x000000000000000000000000627306090abab3a6e1400e9345bc60c78a8bef57',
'0x0000000000000000000000000000000000000000000000000000000000000002' ],
type: 'mined',
id: 'log_33fc26a6' }
Running the rule
getListingDetails
getListing - listingId= 999-001-2
getListing - listing.ipfsHash == 0x0a6212e6873788f2f77bbdef103e73da9f74064393df70ce893a823ad3c3f2ff
(node:280) UnhandledPromiseRejectionWarning: Error: Failure to get IPFS file
at IpfsService._callee2$ (/app/dist/index.js:8682:23)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.(anonymous function) [as throw] (/app/node_modules/regenerator-runtime/runtime.js:117:21)
at step (/app/dist/index.js:8548:191)
at /app/dist/index.js:8548:402
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7)
(node:280) 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: 2)
(node:280) [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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment