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

Old testnet txs not found in tendermint indexer #3040

Open
skosito opened this issue Oct 24, 2024 · 1 comment
Open

Old testnet txs not found in tendermint indexer #3040

skosito opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@skosito
Copy link
Contributor

skosito commented Oct 24, 2024

Describe the Bug
It was reported that for 2 blocks on testnet, eth_getTransactionReceipt is returning null (eg. block https://athens.explorer.zetachain.com/block/911330) . Upon closer look, tx_search json rpc tendermint method is not returning those txs, and this method is used by rpc to further parse tx, therefore bug is not in rpc code. Transactions in block 911332, just 2 blocks after are working fine, so it appears that for some reason just couple of blocks are not indexed in tendermint indexer.

Since this was 1 year ago, and it is testnet, it is not huge priority, as there could be a lot of reasons why indexer missed in testnet phase before mainnet - incomplete or buggy functionality, network upgrades etc.

One of the ways to try to reindex them is to introduce reindex-event command which is currently removed from tendermint/comet. TBD if this is necessary, if its just for couple of old testnet blocks then it is not priority.

To Reproduce

Example transaction from above mentioned block, empty result is returned:

https://zetachain-athens.g.allthatnode.com/archive/tendermint/tx_search?query="ethereum_tx.ethereumTxHash='0x7d02ea99085583a9b360d91bf7956323d64827e70c177cdad4c043920d296f6a'"

Expected Behavior
tx_search should return it, eg for working transaction:

https://zetachain-athens.g.allthatnode.com/archive/tendermint/tx_search?query="ethereum_tx.ethereumTxHash='0x528f1575be118dd6b1219bb3e6af713a9618d3962af73d4b370b31a23edd2e00'"

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS
  • Version used
@skosito skosito added the bug Something isn't working label Oct 24, 2024
@skosito skosito self-assigned this Oct 24, 2024
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

2 participants
@skosito and others