-
Notifications
You must be signed in to change notification settings - Fork 267
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
Inconsistent data between /block and /tx_search endpoints #1526
Comments
hey @evan-forbes can you take a look at this please? |
Update: everything works fine in the previous mocha release |
@kinrokinro @mindstyle85 we'll pick this up this week |
hey @kinrokinro The tx search endpoint shows unexpected EOF in this file https://celestia-testnet-rpc.itrocket.net/tx_search?query="tx.height=3115506 was there a different log showing 1 transaction? Did this issue occur on any other block height? |
You missed the quote, please try this: Yes, this issue occur on almost any block height (probably except blocks without txs) |
TL;DR of the Issue:In the Next steps:Could you please bump This code has been in the codebase for years and was not modified by us in v3. I’m still investigating why it broke in v3, but the upstream codebase contains the same bug. We will upstream this fix as well. |
It works, thanks!
|
Bug Report
Setup
CometBFT version (use
cometbft version
orgit rev-parse --verify HEAD
if installed from source):Have you tried the latest version: yes
Environment:
What happened?
When querying /block and /tx_search, they return inconsistent data.
In this example /block returns 17 txs, but tx_search only 1:
https://celestia-testnet-rpc.itrocket.net/block?height=3115506
https://celestia-testnet-rpc.itrocket.net/tx_search?query="tx.height=3115506"
https://rpc.archive.celestia.testnet.dteam.tech/block?height=3115506
https://rpc.archive.celestia.testnet.dteam.tech/tx_search?query="tx.height=3115506"
What did you expect to happen?
All endpoints are expected to provide consistent data for this queries.
The text was updated successfully, but these errors were encountered: