Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Fetch logs by block hash and avoid some redundant fetches [m16] 馃獌

Latest
Compare
Choose a tag to compare
@jflatow jflatow released this 25 Jun 23:41
· 15 commits to develop since this release
bf58203

This patch fixes the ethereum client to use the block hashes when fetching logs, instead of block number ranges, which return the wrong result in the face of reorgs. We also poll for the next block instead of the last processed block in order to sometimes avoid fetching redundant blocks when we can.