-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement upgrade client proposal handler (#680)
* Abstract upgrade client proposal handler * Replace all upgrade-related abstractions under tendermint host * Adjust encapsulation * Move handler & helper functions to basecoin * Add unclog * Refine upgrade client errors * Reorganize some types * Add docstring for upgrade client types * Re-add upgrade_client_proposal_handler * Make zero_custom_fields public * upgrade_client_proposal_handler not needed to return Vec<Event> * upgrade_proposal module dosctring --------- Co-authored-by: Philippe Laferriere <[email protected]>
- Loading branch information
1 parent
304cf0e
commit 522aef1
Showing
24 changed files
with
593 additions
and
54 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/breaking-changes/420-abstract-upgrade-proposal.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Support for upgrade client proposal by featuring helper contexts and domain types | ||
([#420](https://github.com/cosmos/ibc-rs/issues/420)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/141-clarify-upgrade-path-usage.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Clarify usage of `upgrade_path` for handling upgrade proposals | ||
([#141](https://github.com/cosmos/ibc-rs/issues/141)) |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
//! Provides convenience implementations for various hosts | ||
pub mod tendermint; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//! Provides convenience implementations for Tendermint-based hosts | ||
pub mod upgrade_proposal; | ||
|
||
mod validate_self_client; | ||
pub use validate_self_client::ValidateSelfClientContext; | ||
|
||
/// ABCI store/query path for the IBC sub-store | ||
pub const IBC_QUERY_PATH: &str = "store/ibc/key"; | ||
|
||
/// ABCI store/query path for the upgrade sub-store | ||
pub const SDK_UPGRADE_QUERY_PATH: &str = "store/upgrade/key"; |
Oops, something went wrong.