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(ibc-client-tendermint-types): drop frozen height check in TryFrom of TmClientState #1062

Merged
merged 6 commits into from
Jan 26, 2024

Conversation

Farhad-Shabani
Copy link
Member

@Farhad-Shabani Farhad-Shabani commented Jan 25, 2024

Closes: #1061

Integration tests: informalsystems/basecoin-rs#151


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 changed the title Fix: ease frozen height check within TryFrom of TmClientState conversion fix(ibc-client-tendermint-types): drop frozen height check in TryFrom of TmClientState Jan 25, 2024
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (24a09d0) 67.05% compared to head (dbcecb1) 67.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1062      +/-   ##
==========================================
- Coverage   67.05%   67.02%   -0.04%     
==========================================
  Files         204      204              
  Lines       20552    20525      -27     
==========================================
- Hits        13782    13756      -26     
+ Misses       6770     6769       -1     

☔ 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.

Thanks for taking care of this 🙏

@rnbguy rnbguy merged commit 0546c6c into main Jan 26, 2024
15 checks passed
@rnbguy rnbguy deleted the farhad/allow-client-state-from-proto-when-frozen branch January 26, 2024 12:14
@Farhad-Shabani Farhad-Shabani added this to the 0.51.0 milestone Feb 6, 2024
Farhad-Shabani added a commit that referenced this pull request Sep 9, 2024
…m` of `TmClientState` (#1062)

* Fix issues related to frozen height of tendermint client.

* fix: ease frozen height check within TryFrom for TmClientState

* nit: set correct vallue for the frozen height in test

* nit

* use rstest cases

* add check for is_frozen

---------

Co-authored-by: Rivers Yang <[email protected]>
Co-authored-by: Ranadeep Biswas <[email protected]>
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
3 participants