exclude reverted events from results returned by eth_getLogs #3

Closed
i-norden wants to merge 2 commits from ian/exclude_reverted_events into master
Member

In Ethereum it is expected that the eth_getLogs endpoint will only return results for canonical blocks. Non-canonical logs are already being marked in the events.db sqlite database as "reverted", and this adds a missing conditional check on that column when selecting logs from the database.

In Ethereum it is expected that the `eth_getLogs` endpoint will only return results for canonical blocks. Non-canonical logs are already being marked in the events.db sqlite database as "reverted", and this adds a missing conditional check on that column when selecting logs from the database.
Author
Member

Reopening against upstream

Reopening against upstream

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cerc-io/lotus#3