Replies: 3 comments 6 replies
-
Can be reproduced with: const log = {
data: "0xf2a13c1651d41845f8c0994c30d40383b4f9d9b21856fde5f4fa910d340822be6ed43322383c3ab6650e2112c233411b5a39f961550f141f249372e68afc51240000000000000000000000000000000000000000000000a2a15d09519be00000",
topics: [
"0xc4109843e0b7d514e4c093114b863f8e7d8d9a458c372cd51bfe526b588006c9",
"0x000000000000000000000000e248eedbaca068e95b9c6effda5294a4d79a4439",
"0x0000000000000000000000000d89ed6effc9c847ce74b89253b851c80b76c62a",
"0x0000000000000000000000000000000000000000000000000000000000000000",
],
};
const iface = new ethers.utils.Interface(['event OrdersMatched (bytes32 buyHash, bytes32 sellHash, address indexed maker, address indexed taker, uint256 price, bytes32 indexed metadata)'])
iface.decodeEventLog('OrdersMatched', log) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The signature for the decodeEventLog is I think you are looking for the |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
when trying to decode event topics using decodeEventLogs,
UnhandledPromiseRejectionWarning: Error: data out-of-bounds (length=64, offset=96, code=BUFFER_OVERRUN, version=abi/5.4.1)
is triggered
Reproduction steps
You can try with this this transaction:
0xd41a038b3d5f1f0e1f8231a70d7dac6d55c111f72c656079d150c5d5f278bde5
Environment:
Node, Alchemy.
Beta Was this translation helpful? Give feedback.
All reactions