ethermint icon indicating copy to clipboard operation
ethermint copied to clipboard

RPC eth_getTransactionByBlockHashAndIndex does not work as expected when querying a cosmos transaction

Open banishee opened this issue 4 years ago • 1 comments

System info: [Include Ethermint commit, operating system name, and other relevant details]

Steps to reproduce:

  1. Assuming the transaction index 9 is belong to a cosmos transaction, calls this api with such a parameter:
params: [
   '0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331',
   '0x9' // 9
]
  1. the result will be null

Expected behavior: [What you expected to happen]

  • It is supposed to return a transaction object in any condition, as long as it receives the legal parameter.

Actual behavior: [What actually happened]

  • It returns null when the index does not belong to MsgEthereumTx transaction

Additional info: [Include gist of relevant config, logs, etc.]

  • linked to #809

banishee avatar Feb 17 '21 10:02 banishee

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Apr 04 '21 00:04 github-actions[bot]