Skip to content

fix: perserve block boundaries for v3 transaction cursors#2565

Merged
rafa-stacks merged 2 commits into
nextfrom
next--tx-cursor
May 26, 2026
Merged

fix: perserve block boundaries for v3 transaction cursors#2565
rafa-stacks merged 2 commits into
nextfrom
next--tx-cursor

Conversation

@rafa-stacks

Copy link
Copy Markdown
Collaborator
  • Fix v3 transaction cursor handling for height:0:0 cursors so anchored transactions with microblock_sequence = 2147483647 are included when the cursor represents a block boundary.
  • Preserve exact height:0:0 cursor behavior when an actual transaction exists at that cursor.
  • Fix previous cursor generation for partial previous pages, and share transaction cursor parsing/encoding logic through datastore helpers.

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.46018% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/datastore/v3/pg-store-v3.ts 94.11% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@rafa-stacks rafa-stacks merged commit c90cd50 into next May 26, 2026
59 of 60 checks passed
@rafa-stacks rafa-stacks deleted the next--tx-cursor branch May 26, 2026 20:08
@github-project-automation github-project-automation Bot moved this to ✅ Done in API Board May 26, 2026
rafa-stacks added a commit that referenced this pull request Jun 3, 2026
* local build

* use codec for pox4 events

* table migration

* bond schemas

* type and schema progress

* rewards start

* fix: perserve block boundaries for v3 transaction cursors (#2565)

* parse tx cursor

* tests

* chore(release): 9.0.0-next.34 [skip ci]

* feat: add v3 transaction events endpoint (#2566)

* events progress

* adjust event schemas

* query and indexes

* add tests

* fix clarity memo

* fix other tests

* fix: only modify event indexes if they dont exist (#2567)

* fix: only modify event indexes if they dont exist

* remove index removal

* chore(release): v9.0.0-next.35 [skip ci]

* fix: decode memo as straight ascii (#2568)

* chore(release): v9.0.0-next.36 [skip ci]

* start consuming bond events

* add some position updates

* bond rewards init

* bond summaries start

* new bond fields

* calculate bond paid out data

* bond status

* bond allowlist

* allowlist entry for principal

* registrations endpoints

* add pox4 unlock height

* pox4 boundary unlocks

* update snp

* upgrade codec

* fix client version merge

* fix ds test

* fix pox4 test

* fix esm imports in migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant