Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to decode events with omitted indexed values. #65

Open
Chengxuan opened this issue May 15, 2024 · 1 comment
Open

Failed to decode events with omitted indexed values. #65

Chengxuan opened this issue May 15, 2024 · 1 comment

Comments

@Chengxuan
Copy link
Contributor

EVM connect could not index https://amoy.polygonscan.com/tx/0x4213981818bd5bc57b6bc7b9fd79e75927cee91bfac2b1a73b81fe17d885ef80#eventlog

due to

ERROR evmconnect: Failed to process event log: FF22053: Ran out of topics for indexed fields at field 2 of Approval(address,address,uint256)

This is because the decoding logic assumes all index fields in an event will be recorded in topics. However, for the example above, the tokenId was omitted.

@EnriqueL8
Copy link
Contributor

EnriqueL8 commented Jul 17, 2024

@Chengxuan is this a bug from the chain or in EVM Connect. From reading the EVM spec all the indexed fields should be recorded as topics so it seems a bug from Amoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants