Skip to content

Improve spend pagination and add more comprehensive pagination test#194

Merged
gclaramunt merged 1 commit into
release/testnetfrom
fix-pagination
Jul 30, 2025
Merged

Improve spend pagination and add more comprehensive pagination test#194
gclaramunt merged 1 commit into
release/testnetfrom
fix-pagination

Conversation

@gclaramunt

Copy link
Copy Markdown
Contributor

No description provided.

@gclaramunt gclaramunt merged commit 28dc8c9 into release/testnet Jul 30, 2025
1 check passed
@gclaramunt gclaramunt deleted the fix-pagination branch July 30, 2025 14:46
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>
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.

1 participant