Skip to content

Feat/list settlements opened since#222

Open
dominiccreates wants to merge 2 commits into
AnchorNet-Org:mainfrom
dominiccreates:feat/list-settlements-opened-since
Open

Feat/list settlements opened since#222
dominiccreates wants to merge 2 commits into
AnchorNet-Org:mainfrom
dominiccreates:feat/list-settlements-opened-since

Conversation

@dominiccreates

Copy link
Copy Markdown

Closes #165 Implemented a new entrypoint list_settlements_opened_since(env, ledger, start, limit) -> Vec that allows querying settlements opened on or after a specified ledger sequence. This aligns with dashboard needs for recent activity (e.g., “show today’s settlements”).

Key Points
Mirrors existing list functions’ scan‑skip‑without‑counting pattern.
Includes comprehensive unit tests for ledger filtering and pagination.
Updated README settlement table with the new function reference.
No other parts of the codebase were modified.
Verification
All tests pass (cargo test) and the repository is up‑to‑date on the remote.

Feel free to review and merge!

@dominiccreates
dominiccreates force-pushed the feat/list-settlements-opened-since branch from d6c6057 to b1f6450 Compare July 22, 2026 23:37
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.

Add list_settlements_opened_since(ledger, start, limit) to filter settlements by opened_at without scanning from id 1

1 participant