-
Notifications
You must be signed in to change notification settings - Fork 82
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 upgrade-client issues and refactor relevant tests #673
Merged
Conversation
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
7 tasks
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #673 +/- ##
==========================================
+ Coverage 72.86% 72.99% +0.12%
==========================================
Files 113 113
Lines 15258 15304 +46
==========================================
+ Hits 11118 11171 +53
+ Misses 4140 4133 -7
☔ View full report in Codecov by Sentry. |
plafer
reviewed
May 11, 2023
plafer
reviewed
May 11, 2023
plafer
approved these changes
May 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
Farhad-Shabani
added a commit
that referenced
this pull request
Sep 9, 2024
* Fix upgrade-client bugs and refactor relevant tests * Update ADR06 * Add APIs for storing/retrieving upgraded client/cons states * Add unclog * Remove upgrade APIs to be added in a later PR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #385
Closes: #671
Closes: #672
Description
Check out Basecoin-rs PR99 for the new integration test covering client upgrades.
Note:
With the current implementation, all comet-based chains can upgrade their clients on hosts using IBC-rs, but hosts for handling an upgrade proposal must figure out the implementation suits their architecture, but can use the newly defined APIs here for setting/getting upgraded_client/cons_state.
The new APIs haven't been implemented for
MockContext
yet because both it and its storage will be undergoing changes. Additionally, the methods aren't callable anywhere for testing purposes due to the lack of an upgrade proposal handler.PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.