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

Unable to query trailing TXs #352

Closed
nghuyenthevinh2000 opened this issue Sep 19, 2023 · 3 comments
Closed

Unable to query trailing TXs #352

nghuyenthevinh2000 opened this issue Sep 19, 2023 · 3 comments
Labels
l2 support Layer 2 support

Comments

@nghuyenthevinh2000
Copy link
Contributor

/cosmos/tx/v1beta1/txs?events=tx.height=14600621&pagination.limit=100&pagination.offset=0

/cosmos/tx/v1beta1/txs?events=tx.height=14600621&pagination.limit=100&pagination.offset=100

returns the same response. the block has 106 txs, we can not get the trailing 6 txs by the above pagination query

@nghuyenthevinh2000 nghuyenthevinh2000 added bug Something isn't working security Security concerns l2 support Layer 2 support labels Sep 19, 2023
@StrathCole
Copy link
Collaborator

For the LCD the command is different.

It is /cosmos/tx/v1beta1/txs?events=tx.height=14600621&limit=100&page=1 and page=2

@nghuyenthevinh2000
Copy link
Contributor Author

nghuyenthevinh2000 commented Sep 19, 2023

strangely for LCD, I can query all 106 TXs

cosmos/cosmos-sdk#12261

Using page seems to return correctly
Screenshot 2023-09-19 at 19 07 25

@inon-man
Copy link
Collaborator

Yes. page=2 works

@inon-man inon-man removed security Security concerns bug Something isn't working labels Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l2 support Layer 2 support
Projects
None yet
Development

No branches or pull requests

3 participants