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

Adding Pagination to Queries #1087

Merged
merged 4 commits into from
Feb 11, 2023
Merged

Conversation

joeabbey
Copy link
Contributor

@joeabbey joeabbey commented Feb 9, 2023

Fixes #1082

Somewhat naively iterating while a NextKey is available, and collecting results.

@joeabbey joeabbey changed the title Adding pagination to connections Adding pagination to QueryConnections Feb 9, 2023
relayer/chains/cosmos/query.go Outdated Show resolved Hide resolved
@joeabbey joeabbey changed the title Adding pagination to QueryConnections Adding Pagination to Queries Feb 9, 2023
@joeabbey joeabbey enabled auto-merge (squash) February 11, 2023 13:42
@joeabbey joeabbey merged commit 8ae794e into main Feb 11, 2023
@joeabbey joeabbey deleted the joeabbey/pagination-for-connections branch February 11, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DefaultPageRequest insufficient for chains with large sets of connections
2 participants