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

imp: add a check for the client status in CreateClient #3514

Merged
merged 9 commits into from
May 3, 2023

Conversation

DimitrisJim
Copy link
Contributor

@DimitrisJim DimitrisJim commented Apr 24, 2023

Description

closes: #186

Commit Message / Changelog Entry

imp: add a check for the client status in CreateClient

see the guidelines for commit messages. (view raw markdown for examples)


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 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/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

@DimitrisJim DimitrisJim linked an issue Apr 24, 2023 that may be closed by this pull request
6 tasks
@DimitrisJim DimitrisJim marked this pull request as ready for review April 24, 2023 08:47
@codecov-commenter
Copy link

codecov-commenter commented Apr 26, 2023

Codecov Report

Merging #3514 (a1fd77e) into main (87ac1a9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3514   +/-   ##
=======================================
  Coverage   78.78%   78.78%           
=======================================
  Files         182      182           
  Lines       12687    12690    +3     
=======================================
+ Hits         9995     9998    +3     
  Misses       2261     2261           
  Partials      431      431           
Impacted Files Coverage Δ
modules/core/02-client/keeper/client.go 91.89% <100.00%> (+0.22%) ⬆️

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

LGTM, left a few suggestions on the testing code

modules/core/02-client/keeper/client_test.go Show resolved Hide resolved
modules/core/02-client/keeper/client_test.go Outdated Show resolved Hide resolved
modules/core/02-client/keeper/client_test.go Show resolved Hide resolved
modules/core/02-client/keeper/client_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

ACK

Copy link
Member

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

Nice one! LGTM

@DimitrisJim DimitrisJim merged commit c3b12b1 into main May 3, 2023
@DimitrisJim DimitrisJim deleted the 186-add-more-status-check-to-createclient branch May 3, 2023 12: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 more status check to CreateClient
4 participants