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

fix: add frozen client check for create_client handler #1063

Merged

Conversation

Farhad-Shabani
Copy link
Member

Closes: #1061

Fixes #1062 by adding the missing frozen client check in the client creation handler.


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests.
  • 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).

@Farhad-Shabani Farhad-Shabani marked this pull request as ready for review January 26, 2024 17:57
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4718ca6) 67.02% compared to head (08aef51) 67.06%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1063      +/-   ##
==========================================
+ Coverage   67.02%   67.06%   +0.04%     
==========================================
  Files         204      204              
  Lines       20525    20532       +7     
==========================================
+ Hits        13756    13769      +13     
+ Misses       6769     6763       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@rnbguy rnbguy left a comment

Choose a reason for hiding this comment

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

Looks good ! 🙌 Thanks for the test 👍

ibc-testkit/tests/core/ics02_client/create_client.rs Outdated Show resolved Hide resolved
@Farhad-Shabani Farhad-Shabani merged commit 06725c1 into main Jan 26, 2024
15 checks passed
@Farhad-Shabani Farhad-Shabani deleted the farhad/add-frozen-client-check-for-client-creation branch January 26, 2024 20:13
Farhad-Shabani added a commit that referenced this pull request Sep 9, 2024
* fix: add frozen client check for create_client handler

* imp: merge assert checks for test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Ease frozen Height check in tendermint ClientState protobuf deserialization
2 participants