Skip to content

[BUG] tx not found in full node rest api #816

@Ljzn

Description

@Ljzn

Describe the bug

Hello, I'm running a full node of TerraClassic, there is a tx which can be found on explorer https://finder.terra.money/classic/tx/10d31b63275e48b48ae84e8b4c240b8d3a08466b2f0e5455e3ca54fe8a9130e9 .

But when can not be found with REST api of my full node

/cosmos/tx/v1beta1/txs/10d31b63275e48b48ae84e8b4c240b8d3a08466b2f0e5455e3ca54fe8a9130e9

It returns

{
  "code": 5,
  "message": "rpc error: code = NotFound desc = tx not found: 10d31b63275e48b48ae84e8b4c240b8d3a08466b2f0e5455e3ca54fe8a9130e9: key not found",
  "details": [
  ]
}

When I request the block which contains that tx by /cosmos/tx/v1beta1/txs/block/12690375, it returns a super long respond.

And the /cosmos/tx/v1beta1/txs?events=tx.height%3D12690375 returns:

{
  "txs": [
  ],
  "tx_responses": [
  ],
  "pagination": {
    "next_key": null,
    "total": "0"
  }
}

How to let my full node get that transaction?

To Reproduce

Context & versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions