This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Problem: tx index is incorrect when there's failed tx in block #705
Labels
C:JSON-RPC
JSON-RPC client
System info: ethermint main branch
Steps to reproduce:
Since failed tx don't increase the tx index in transient store, so the tx index recorded in the log is actually excludes the failed tx, so don't match the tx list in
getBlock
where there are failed tx in present.Expected behavior: web3 apis should be consistent with each other
Actual behavior: tx index could be inconsistent
Additional info:
Proposal:
getBlock
andeth_getTransactionByBlockHashAndIndex
,GetTransactionByBlockNumberAndIndex
, etc.The text was updated successfully, but these errors were encountered: