Replies: 1 comment
-
Debugging this, I found that if the ABI event has any input without a name, the following issues occur:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a transaction (https://etherscan.io/tx/0x58779b2c975844399aa5d4e1a9c7f1a035098e1ca32b6c2755ee6fa6194b75f1#eventlog) with
data
:0x0000000000000000000000006cf029fe9c585f666255ff021c5114b6225a7bb0000000000000000000000000000000000000000000000000000000000004ac9c
topics
:[ '0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9', '0x0000000000000000000000008f6e363022a5612003d62f2d29ac5ea6b37bb1e0', '0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ]
The args returned from the
decodeEventLog
is an array instead of an object with a key-value pair. Not only that, only the decoded data is returned, the decoded topics are not returned.Why is that the case?
Beta Was this translation helpful? Give feedback.
All reactions