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

chore: move status checks from connection verify_* functions to 02-client verify_* functions. #7006

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

DimitrisJim
Copy link
Contributor

Description

Moving status checks one layer down so as to not worry about them when directly calling Verify(Non)Membership in impl of eureka logic for packet handling.

Can also target main if needed.

closes: #6980


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@@ -502,6 +502,134 @@ func (suite *KeeperTestSuite) TestGetTimestampAtHeight() {
}
}

func (suite *KeeperTestSuite) TestVerifyMembership() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these (both for membership and non membership) were missing apparently (probably because it simply routed before?

Copy link

sonarqubecloud bot commented Aug 1, 2024

Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

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

Nice and clean!

@AdityaSripal AdityaSripal merged commit 15f3368 into feat/ibc-eureka Aug 1, 2024
65 checks passed
@AdityaSripal AdityaSripal deleted the jim/move-status-checks branch August 1, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants