Skip to content

Conversation

minh-bq
Copy link
Contributor

@minh-bq minh-bq commented Feb 18, 2025

Currently, geth's will return [] for any len(topics) > 4 log filter. The
EVM only supports up to four logs, via LOG4 opcode, so larger criterias fail.
This change makes the filter query exit early in those cases.

This PR adds a limit of 1000 to the "inner" topics in a filter-criteria.

jsvisa and others added 2 commits February 18, 2025 15:06
commit ethereum/go-ethereum@e38b9f1.

Currently, geth's will return `[]` for any `len(topics) > 4` log filter. The
EVM only supports up to four logs, via LOG4 opcode, so larger criterias fail.
This change makes the filter query exit early in those cases.
commit ethereum/go-ethereum@ef5ac3f.

This PR adds a limit of 1000 to the "inner" topics in a filter-criteria
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

Successfully merging this pull request may close these issues.

3 participants