Skip to content

Add RESTful API for state map iteration#2693

Open
preston-evans98 wants to merge 17 commits intodevfrom
preston/state-map-iteration-api
Open

Add RESTful API for state map iteration#2693
preston-evans98 wants to merge 17 commits intodevfrom
preston/state-map-iteration-api

Conversation

@preston-evans98
Copy link
Copy Markdown
Member

@preston-evans98 preston-evans98 commented Apr 3, 2026

Description

This PR adds support for iterating State maps via API. Each call is internally consistent (i.e. maintains a snapshot of state), but the underlying data may change as callers paginate.

  • I have updated CHANGELOG.md with a new entry if my PR makes any breaking changes or fixes a bug. If my PR removes a feature or changes its behavior, I provide help for users on how to migrate to the new behavior.
  • I have carefully reviewed all my Cargo.toml changes before opening the PRs. (Are all new dependencies necessary? Is any module dependency leaked into the full-node (hint: it shouldn't)?)

Linked Issues

  • Fixes # (issue, if applicable)
  • Related to # (issue)

Testing

Describe how these changes were tested. If you've added new features, have you added unit tests?

Docs

Describe where this code is documented. If it changes a documented interface, have the docs been updated?

Rendered docs are available at https://sovlabs-ci-rustdoc-artifacts.us-east-1.amazonaws.com/<BRANCH_NAME>/index.html

@preston-evans98 preston-evans98 changed the title Preston/state map iteration api Add RESTful API for state map iteration Apr 21, 2026
@preston-evans98 preston-evans98 marked this pull request as ready for review April 21, 2026 13:24
{
match value {
Some(value) => {
// Only consider the key if it wasn't delted by a local write
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo delted

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.

2 participants