This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 569
Problem: eth_getLogs with large block range is slow and cause OOM #858
Comments
11 tasks
yihuang
added a commit
to yihuang/ethermint
that referenced
this issue
Dec 28, 2021
Closes: evmos#858 - add limit to number of logs of filter response - make block limit and log limit configurable
fedekunze
added a commit
that referenced
this issue
Dec 29, 2021
* fix: OOM when eth_getLogs response too large Closes: #858 - add limit to number of logs of filter response - make block limit and log limit configurable * return error if exceeds log limit * Apply suggestions from code review * parse from config * read cli flags * add to config template * fix bloomFilter * changelog * add validation Co-authored-by: Federico Kunze Küllmer <[email protected]>
yihuang
added a commit
to yihuang/ethermint
that referenced
this issue
Dec 31, 2021
* fix: OOM when eth_getLogs response too large Closes: evmos#858 - add limit to number of logs of filter response - make block limit and log limit configurable * return error if exceeds log limit * Apply suggestions from code review * parse from config * read cli flags * add to config template * fix bloomFilter * changelog * add validation Co-authored-by: Federico Kunze Küllmer <[email protected]>
yihuang
added a commit
to crypto-org-chain/ethermint
that referenced
this issue
Feb 15, 2022
* fix: OOM when eth_getLogs response too large Closes: evmos#858 - add limit to number of logs of filter response - make block limit and log limit configurable * return error if exceeds log limit * Apply suggestions from code review * parse from config * read cli flags * add to config template * fix bloomFilter * changelog * add validation Co-authored-by: Federico Kunze Küllmer <[email protected]> fix lint Update PR url in CHANGELOG
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System info: ethermint main
Steps to reproduce:
Currently, the max block range of
eth_getLogs
is 100000, and there's not other limitation, which could be too costly for public RPC nodes, even cause OOM.Expected behavior: make it turnable for public node
Actual behavior: too costly for public node
Additional info:
The text was updated successfully, but these errors were encountered: