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 frozen_height() to ClientState #1619

Merged
merged 7 commits into from
Dec 1, 2021

Conversation

yito88
Copy link
Contributor

@yito88 yito88 commented Nov 29, 2021

Closes: cosmos/ibc-rs#65

Description


For contributor use:

  • Added a changelog entry, using unclog.
  • If applicable: Unit tests written, added test to CI.
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments.
  • Re-reviewed Files changed in the Github PR explorer.

Copy link
Member

@hu55a1n1 hu55a1n1 left a comment

Choose a reason for hiding this comment

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

Thanks, @yito88! I added some suggestions, but the PR is looking great already. 👌

modules/src/clients/ics07_tendermint/client_state.rs Outdated Show resolved Hide resolved
modules/src/clients/ics07_tendermint/client_state.rs Outdated Show resolved Hide resolved
modules/src/clients/ics07_tendermint/client_state.rs Outdated Show resolved Hide resolved
modules/src/clients/ics07_tendermint/client_state.rs Outdated Show resolved Hide resolved
@yito88
Copy link
Contributor Author

yito88 commented Nov 29, 2021

Thank you for revieiwing! Your suggestion makes sense.
I made the frozen_height private and fixed them.

Copy link
Member

@hu55a1n1 hu55a1n1 left a comment

Choose a reason for hiding this comment

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

LGTM! 🌷

Copy link
Member

@adizere adizere 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, would be nice to fix the nit that Shoaib raised wrt reporting in the changelog as 'breaking' instead of improvement. Thank you Yito88!

@romac romac merged commit 45ac6ca into informalsystems:master Dec 1, 2021
@yito88 yito88 deleted the yuji/frozen_height branch December 15, 2021 13:14
hu55a1n1 added a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
* add frozen_height() to ClientState

* fix for clippy

* make frozen_height private

* Remove AnyClientState::is_frozen() to reuse provided trait impl

* Modify .changelog entry

* rename to with_frozen_height

* Move changelog entry to breaking-changes section

Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com>
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.

4 participants