-
Notifications
You must be signed in to change notification settings - Fork 447
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
eth_getLogs
returns bogus results that are different every time
#4384
Comments
To add more context, this is a major blocking bug for Chainlink services running on nethermind. |
Currently, the {
"fromBlock": "0x707032",
"toBlock": "0x707032"
} @samsondav What version of Geth are you comparing to? |
geth version used was v1.10.21. Changing the blockhash param is not possible for us, since we have that common code for all clients, and even other chains. |
Hi @samsondav and @prashantkumar1982 I see we never implemented https://github.com/ethereum/EIPs/blob/master/EIPS/eip-234.md So we don't support Currently you can just use We will implement |
Feature Parity will be definitely appreciated! Trying to have custom code for nethermind is hard to maintain, as then we need to configure our Nodes to know which client it is using, and based on that, which code logic should be used. We already are dealing with mutilple eth clients, eth RPC providers, other EVM chains. |
@prashantkumar1982 sure just reassuring its simple API mismatch rather than some serious bug in the inner mechanism. |
Thanks. I understand it is not a major bug in nethermind implementation. We were planning to test all Chainlink services running on nethermind client during Goerli Merge. But it seems like this bug will prevent testing during the Goerli merge, since that is just 2 days away. |
Describe the bug
eth_getLogs
returns wrong resultsTo Reproduce
curl -v --data '{"method":"eth_getLogs","id":"1","params":[{"blockhash": "0x892a8b3ccc78359e059e67ec44c83bfed496721d48c2d1dd929d6e4cd6559d35"}],"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST http://goerli-nethermind-rpc.example
It returns totally wrong results, including logs from a different blockhash than the one that was requested (actually, it gives different results every time you query it):
Expected behavior
I expect to see the same results that I would get from making the same query against go-ethereum, which is consistent every time and returns the logs from the block hash that was requested.
curl -v --data '{"method":"eth_getLogs","id":"1","params":[{"blockhash": "0x892a8b3ccc78359e059e67ec44c83bfed496721d48c2d1dd929d6e4cd6559d35"}],"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST http://goerli-go-ethereum-rpc.example
Version
Nethermind/v1.13.6-0-be7b4ab4c-20220805/X64-Linux/6.0.7
The text was updated successfully, but these errors were encountered: