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

fix: remove start_epoch and end_epoch parameters in APIs #305

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

SebastianElvis
Copy link
Member

Fixes BM-519

This PR removes start_epoch and end_epoch parameters in two paginated APIs. The pagination parameters already provide such functionality. In particular, given a range query with start_epoch and end_epoch, the query with pagination.key = str(bytes(start_epoch)) and pagination.limit = end_epoch-start_epoch+1 gives the same result. Pagination parameters are also more versatile, e.g., it can reverse results.

@SebastianElvis SebastianElvis merged commit a5b42bf into dev Feb 14, 2023
@SebastianElvis SebastianElvis deleted the api-revert-start-end-epoch branch February 14, 2023 23:34
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.

2 participants