Improve spend pagination and add more comprehensive pagination test#194
Merged
Conversation
gclaramunt
added a commit
that referenced
this pull request
Aug 4, 2025
* add deploy action * use postgres and prisma for dag, metagraph, and actions endpoints * temporarily change stage * add prisma binary targets * add new endpoints * update db structure * Added endpoint tests using local postgres db * fix typo * update db structure * fix typo * Adjust fields optionality * use ordinal from query parameters * update db structure * Adjust fields optionality * use ordinal from query parameters * add ordinal and unlock ordinal * fix: PROT-1112 add fee, staking address, owner addres, and size to metagraph snapshot response * fix: await globalSnapshotWhere and metagraphSnapshotWhere * PROT-1119 add detail endpoints * shorter names * Fix metagraph filters for findUnique * use proper latest for querying metagraph snapshot * fix: use metagraph_id for query * add active token locks query param * remove error details * fix transaction ordering and add tests * update tests * Add delegated staking endpoints * docs: added openapi spec covering current endpoints * token lock tests * add active filter to address endpoint * token locks tests * add active filter to allow spends * add metagraph count to response * Update docs/schemas/dag.yml Co-authored-by: Alex Brandes <asbrandes@gmail.com> * PROT-1163 increase page size limit * add snapshot ordinal to actions * add fee transactions endpoint and tests * add new fee tx endpoint docs * add position endponts * query tx by snapshot directly * rename sizeInKB * fix: delegated staking pagination * add nodeId filter * return transaction original * add delegated staking to actions * fix ordinal number * fallback to opensearch for balance changes * fix not found * remove opensearch fallback * optomize total rewards * fix snapshot count typo * fix dag/mg pagination * PROT 1236 remove transferred stakes from active and include transferred rewards in total withdrawal (#187) * optimize positions and fix bug * fix transfer from/to logic * fix total withdrawn amount and tests * feat: PROT 1237 add global snapshot to txs (#184) add global snapshot hash and ordinal to txs * Merge branch 'PROT-1266-add-before-after' into release/testnet * PROT-1257 add currencyId to locks and spends (#189) * add currencyId to locks and spends * remove obsolete triggers * add desc indexes * fix view create script for test * fix: global snapshot transactions pagination (#191) fix pagination for global snapshot txs * support multiple rewards per address (#192) * Support many rewards per address (#193) update types * Improve spend pagination and add more comprehensive pagination test (#194) add more comprehensive pagination test --------- Co-authored-by: Alex Brandes <alex@getdor.com> Co-authored-by: Alex Brandes <asbrandes@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.