NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Add `eth_getLogs` chunking to `SafeEthClient` #230

Open Hyodar opened 4 weeks ago

Hyodar commented 4 weeks ago

We could be adding log fetching block range chunking to SafeEthClient. First, we try the same range as asked by the user. If we get an error, we split those into chunks and potentially do a batched call to the client. The approach for configuring the chunk max size should be discussed.