You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
System info: ethermint 0.7.2
Steps to reproduce:
We found in production that,
eth_getBlockByNumber
API can return empty transactions occasionally. Which causes issues in explorer and other clients.Investigation shows that for the problematic block, the tx indexer fails to work at all.
And the web3 API tries to call
GetTxsByEthHash
for each tx, and fails to find them.The tx indexer can also lag behind block commit since it's running async.
Expected behavior: getBlock API should work all the time
Actual behavior: fails occasionally
Additional info:
Possible solution:
GetTxsByEthHash
at all ineth_getBlockByNumber
and similar apis, we can callBlockResults
to get the information we need.The text was updated successfully, but these errors were encountered: