Skip to content

[sui-rpc-api][sui-kv-rpc] refactor Resolved*Range.apply_cursor_bounds in preparation for single range on Bound<T> - #27736

Closed
wlmyng wants to merge 6 commits into
wlmyng/ledger-history-window-resolutionfrom
wlmyng/ledger-history-cursor-application
Closed

[sui-rpc-api][sui-kv-rpc] refactor Resolved*Range.apply_cursor_bounds in preparation for single range on Bound<T>#27736
wlmyng wants to merge 6 commits into
wlmyng/ledger-history-window-resolutionfrom
wlmyng/ledger-history-cursor-application

Conversation

@wlmyng

@wlmyng wlmyng commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Reorganize the logic around applying cursor bounds, in preparation for a single range generic on the scan coordinates

the refactor reveals the following asymmetries:

  1. Range<u64> vs Bound`
  2. consequently, scalar range decodes eagerly and operates on plain arithmetic, while the latter IntraTx is symbolic (Item maps to Excluded, Boundary maps to Included)

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview Aug 18, 2026 7:42pm
sui-kiosk Building Building Preview Aug 18, 2026 7:42pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Aug 18, 2026 7:42pm

Request Review

@wlmyng
wlmyng deployed to sui-typescript-aws-kms-test-env August 18, 2026 01:02 — with GitHub Actions Active
@wlmyng
wlmyng force-pushed the wlmyng/ledger-history-cursor-application branch from bea73fa to e35b0ab Compare August 18, 2026 01:11
@wlmyng
wlmyng deployed to sui-typescript-aws-kms-test-env August 18, 2026 01:11 — with GitHub Actions Active
@wlmyng wlmyng changed the title Wlmyng/ledger history cursor application [sui-rpc-api][sui-kv-rpc] refactor Resolved*Range.apply_cursor_bounds Aug 18, 2026
@wlmyng
wlmyng force-pushed the wlmyng/ledger-history-cursor-application branch from e35b0ab to a91726f Compare August 18, 2026 18:35
@wlmyng
wlmyng deployed to sui-typescript-aws-kms-test-env August 18, 2026 18:35 — with GitHub Actions Active
wlmyng added 6 commits August 18, 2026 12:09
… one wire-visible change: if after-Item is u64max, it previously early returned, now it just follows the ordinary emptying path. This means if both cursors are present, the before-arm now participates instead of being short-circuited, and attribution goes to the min position
@wlmyng
wlmyng force-pushed the wlmyng/ledger-history-cursor-application branch from a91726f to 9502f5b Compare August 18, 2026 19:39
@wlmyng
wlmyng deployed to sui-typescript-aws-kms-test-env August 18, 2026 19:39 — with GitHub Actions Active
@wlmyng wlmyng changed the title [sui-rpc-api][sui-kv-rpc] refactor Resolved*Range.apply_cursor_bounds [sui-rpc-api][sui-kv-rpc] refactor Resolved*Range.apply_cursor_bounds in preparation for single range on Bound<T> Aug 18, 2026
@wlmyng

wlmyng commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by a re-cut of this stack with cleaner PR boundaries (renames → behavior-preserving consolidation with characterization pins → wire-semantics alignment → unification → symbolic resume): #27751#27752#27753#27754#27755. Content is carried over commit-for-commit; the old branch stays as reference.

@wlmyng wlmyng closed this Aug 19, 2026
@wlmyng
wlmyng deleted the wlmyng/ledger-history-cursor-application branch August 19, 2026 07:15
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