Skip to content

"data out-of-bounds" error when parse transaction log #3542

Answered by ricmoo
I-Lotus asked this question in Q&A
Discussion options

You must be logged in to vote

Just by inspection, I can tell the log data is not sufficient for two dynamic-length arrays; each dynamic-length array (the non-indexed parameters) requires 2 words (a pointer, and a length) for a total of 4 words. It looks to be about 2 words.

You should check the contract; maybe they are using asm to emit the log and not computing it correctly. The two words look to encode the values 8 and 2.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@I-Lotus
Comment options

Answer selected by I-Lotus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3541 on November 23, 2022 09:31.