go-ethereum/eth/filters
Delweng e38b9f1830
eth/filters: exit early if topics-filter has more than 4 topics (#28494)
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.
2023-11-10 08:10:03 +01:00
..
api.go eth/filters: exit early if topics-filter has more than 4 topics (#28494) 2023-11-10 08:10:03 +01:00
api_test.go rpc: change BlockNumber constant values to match ethclient (#27219) 2023-05-23 13:18:38 +02:00
bench_test.go eth/filters: add global block logs cache (#25459) 2022-08-19 11:14:59 +02:00
filter.go eth/filters, core/rawdb: remove unused param, refactor filtering-loop (#27891) 2023-08-10 06:49:05 -04:00
filter_system.go eth/filters: exit early if topics-filter has more than 4 topics (#28494) 2023-11-10 08:10:03 +01:00
filter_system_test.go eth/filters: exit early if topics-filter has more than 4 topics (#28494) 2023-11-10 08:10:03 +01:00
filter_test.go core: add basic chain history support in GenerateChain (#28428) 2023-10-31 12:39:25 +01:00