This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
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.