moonbeam
moonbeam copied to clipboard
Calling eth_getBlockByHash with event log transaction hash race condition
eth_getBlockByHash
sometimes returns "not found"
when called with the transaction hash from a smart contract event log. It's hard to reproduce consistently which leads us to believe that there might be a race condition causing it in the moonbeam node.
Thank you @kev1n-peters, can you give us more information ? Is this on a local node or in a public RPC node ? What configuration is used ?
A local node, version 0.30.0, happens sometimes when making the RPC call through a WebSocket.
Hey @kev1n-peters I think this PR should fix the issue -> https://github.com/paritytech/frontier/pull/1030
@albertov19 do you perhaps have any info on when we might expect that to be merged?
@crystalin what do you think? It has not been merged upstream in Frontier so it might not make it to client v0.31.0 right?