-
I am having the issue when running
Is there any alternative way to do this smoothly? |
Beta Was this translation helpful? Give feedback.
Answered by
ricmoo
Apr 18, 2023
Replies: 1 comment 4 replies
-
Can you include the error? Also, the event ABI and full event would be helpful too. Keep in mind if the event has any |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks.
There is definitely something wrong with the ABI or the data. To encode a bytes, the first 32 bytes of the data represent the offset, in this case it should be
0x0000…080
(it must start with 620
’s and then80
). But you can see there is a bunch of non-zero data in the first 32 bytes, it’s invalid data for that ABI.Since the offset is a 32-byte number (i.e.
0x6f6e…
), is huge, it is larger than the total data available, that is why it is a numeric overflow.My guess is the ABI is incorrect. Where did you get it from?