erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.1k stars 1.09k forks source link

Refactor logsFilter to prevent concurrent map fatal errors & Added RPC filter limits, metrics, and better memory management. & Prevent invalid slice operations in filters #11886

Closed taratorio closed 1 week ago

taratorio commented 1 week ago

cherry picks from E3 to E2 to fix OOMs due to rpc filter:

Context: https://discord.com/channels/687972960811745322/983710221308416010/1281252059634597908

taratorio commented 1 week ago

closing - handled as part of https://github.com/erigontech/erigon/issues/11890 porting changes 1 by 1 from e3 instead of 1 big PR