feat(pse): Split scheduled distributions query into processed and unprocessed endpoints#116
Conversation
TxCorpi0x
left a comment
There was a problem hiding this comment.
@metalarm10 Is the intention to add Unprocessed/Processed as well as existing old (all) query, or we are going to remove it?
@TxCorpi0x made 1 comment.
Reviewable status: 0 of 8 files reviewed, all discussions resolved (waiting on masihyeganeh, miladz68, and ysv).
TxCorpi0x
left a comment
There was a problem hiding this comment.
According to the call, We can keep all of them.
@TxCorpi0x reviewed 8 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on masihyeganeh, miladz68, and ysv).
ysv
left a comment
There was a problem hiding this comment.
@ysv reviewed 8 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on masihyeganeh and miladz68).
Closes: https://app.clickup.com/t/868j3a66m
Description
Adds two new query endpoints for PSE scheduled distributions:
/tx/pse/v1/unprocessed_scheduled_distributions: returns only upcoming (ID > LastProcessedDistributionID)/tx/pse/v1/processed_scheduled_distributions: returns only completed (ID <= LastProcessedDistributionID)Both responses include
last_processed_distribution_idfor context. Existingscheduled_distributionsendpoint unchanged.gRPC query tests added for new endpoints.
Reviewers checklist:
Authors checklist
This change is