New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters: eth_newBlockFilter does not return canonical blocks #18026
Comments
This is an important issue, I believe many companies rely on this. It's also a major differentiator if it works in Geth, also Parity is unreliable. |
This is linked to #18029 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It should be fixed, reference: #18322 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
System information
Geth version: 1.8.17-stable-8bbe7207
OS & Version: Ubuntu 18.04
Expected behaviour
The
eth_newBlockFilter
when queried for usingeth_getFilterChanges
should return the forked blocks and also subsequently the canonical blocks.Actual behaviour
The
eth_newBlockFilter
when queried for usingeth_getFilterChanges
does not return the canonical blocks (for almost every ~70 blocks)Steps to reproduce the behaviour
I have a local geth node, am using web3.py for getting newblockfilters
From time to time, I get a forked block from the filter but not the canonical block.
As we an see the hash of block
6630926
does not match the parent hash of6630927
, also the block0x316c065382afdaa0a5946c168d151d5178690e94bf523571da323f5330c40363
does not exist in the canonical blockchain.Is it possible to get canonical blocks from
filterchanges
method without relying on using the methodeth_getBlockByNumber
?The text was updated successfully, but these errors were encountered: