parseLog - Deferred error during ABI decoding triggered accessing property "to" #2735
-
Describe the bug Transaction: https://rinkeby.etherscan.io/tx/0xcbb6f53e05b3bfde1fde259f9b44d48fde73f4f633604cbe6bd4375dddbefa0f Reproduction steps
Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this error indicates that the data is invalid, but ethers tries to keep things together as long as possible, so that if you, for example, didn't require the If you look at the above topics,
As you can see the value for The contract is not verified, but decompiling it, it simply hard-codes the event to emit (using log3), but if you modify the ABI a bit, you can see that it just has its indexed properties rearranged. If you change the signature to Does that make sense? |
Beta Was this translation helpful? Give feedback.
Yes, this error indicates that the data is invalid, but ethers tries to keep things together as long as possible, so that if you, for example, didn't require the
to
, it won't fail.If you look at the above topics,
As you can see the value for
topic2
is invalid. It has 2 bytes (4 ni…