Skip to content

feat: queries height [WiP]#432

Draft
MissingNO57 wants to merge 39 commits into
mainfrom
feat/queries_height
Draft

feat: queries height [WiP]#432
MissingNO57 wants to merge 39 commits into
mainfrom
feat/queries_height

Conversation

@MissingNO57

Copy link
Copy Markdown
Contributor

Proposed Changes

[describe the changes here...]

Linked Issues

[if applicable, add links to issues resolved by this PR]

Types of changes

This PR introduces user-friendly support for historical (height-scoped) queries in LedgerClient by adding a height-aware client view that automatically injects the Cosmos SDK block height into gRPC query calls.

The solution works transparently for:

  • Raw gRPC stub usage (e.g. client.at_height(h).bank.AllBalances(...))
  • High-level Aerial query methods (e.g. client.at_height(h).query_bank_all_balances(...))

No global state is mutated, making the implementation safe for concurrent and parallel usage.

  • Bug fix (non-breaking change that fixes an issue).
  • New feature added (non-breaking change that adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to stop working as expected).
  • Documentation update.
  • Something else (e.g., tests, scripts, example, deployment, infrastructure).

Checklist

Put an x in the boxes that apply:

  • I have read the CONTRIBUTING guide
  • Checks and tests pass locally

If applicable

  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that code coverage does not decrease
  • I have added/updated the documentation

Further comments

[if this is a relatively large or complex change, kick off a discussion by explaining why you chose the solution you did, what alternatives you considered, etc...]

@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 0b2c51b):

https://fetch-docs-preview--pr432-feat-queries-height-6bq7p80i.web.app

(expires Fri, 22 May 2026 13:50:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f2de39fd4e81249941960b74fbab0a62d90d69f8

@MissingNO57 MissingNO57 changed the base branch from feat/cosmos_sdk_0_53 to main May 20, 2026 13:52
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