Skip to content

Implement Height Parameter for Queries #1063

@msteiner96

Description

@msteiner96

I suggest that we add another parameter to ALL querys, using which you can execute queries not automatically to the current blockheight but to a lower blockheight.

This needs an archive node, since most nodes only have 100 heights saved. Anyways, we can catch that error and it might be helpful.

Flags:
      --height int      Use a specific height to query state at (this can error if the node is pruning state)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions