Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

RPC eth_getTransactionByBlockNumberAndIndex does not work as expected when querying a cosmos transaction #809

Open
@banishee

Description

@banishee

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: [
   '0x29c', //668
   '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.]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions