Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query client status command #3044

Merged
merged 7 commits into from
Mar 24, 2023
Merged

Add query client status command #3044

merged 7 commits into from
Mar 24, 2023

Conversation

romac
Copy link
Member

@romac romac commented Jan 27, 2023

Closes: #3041
Closes: #3124

Description

TODO

  • Open GitHub issue to track this
  • Remove debug statements
  • Document in guide

Follow-up issue at #3191 for the following items:

  • Add support for specifying a height
  • Refactor relevant ForeignClient code so that:
    • we may use it from the command code
    • we may distinguish between frozen and expired client

PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

@romac romac requested review from seanchen1991 and ljoss17 and removed request for seanchen1991 March 23, 2023 15:24
@romac romac marked this pull request as ready for review March 23, 2023 15:25
@@ -258,6 +259,104 @@ impl Runnable for QueryClientHeaderCmd {
}
}

/// Query client status command
#[derive(Clone, Command, Debug, Parser, PartialEq, Eq)]
pub struct QueryClientStatusCmd {
Copy link
Contributor

Choose a reason for hiding this comment

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

Everything seems good to me. Just missing the 3 unit tests for the new CLI

@romac romac merged commit fa2c038 into master Mar 24, 2023
@romac romac deleted the romac/query-client-status branch March 24, 2023 13:16
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 query client status command Hermes query client consensus does not sort the consensus states by height
3 participants