Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ljzn opened this issue Jul 19, 2023 · 0 comments
Open

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

Ljzn opened this issue Jul 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Ljzn
Copy link

Ljzn commented Jul 19, 2023

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

@Ljzn Ljzn added the bug Something isn't working label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant