forked from cosmos/ibc-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: turn ClientConsensusStatePath::haight into Height
Replace ClientConsensusStatePath’s epoch and height fields with a single height field whose type is Height. This stores the exact same information but allows infallible way to get Height out of the path. Arguably it also makes more sense conceptually since the epoch and height are really just a single Height field. Even in formatted paths those two are a single component so it makes sense to have them as a single field. Issue: cosmos#603
- Loading branch information
Showing
3 changed files
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters