This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
eth_getFilterChanges on Block Filter returns previous block on first poll #7816
Labels
F2-bug 🐞
The client fails to follow expected behavior.
M6-rpcapi 📣
RPC API.
P5-sometimesoon 🌲
Issue is worth doing soon.
Milestone
Before filing a new issue, please provide the following information.
_Your issue description goes here below. Try to include actual vs. expected behavior and steps to reproduce the issue.
The first poll of a newly created block filter returns the last block. The expected behavior on first poll is to return only changes since the creation of the blockFilter.
The following example is with an unsynced parity node using the ropstein chain. The last block is the genesis block.
Checking the latest block:
Creation of the block filter:
First poll with expected empty result. Instead it returns the hash of the genesis block present before filter creation.
Subsequent polls are empty as expected:
This has been tested on a synced client as well, with similar results.
The text was updated successfully, but these errors were encountered: