-
Notifications
You must be signed in to change notification settings - Fork 359
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
Review channel version code and cleanup #3213
Comments
@ancazamfir could you clarify what changes need to occur in Hermes in order to satisfy the changes proposed in cosmos/ibc#628? |
@seanchen1991 For open init, I think it's just a matter of turning this hermes/crates/relayer/src/channel.rs Lines 838 to 854 in a69bf5c
into something like this // If the user supplied a version, use that.
// Otherwise, use the empty version and let the app decide on it.
let version = self.dst_version().cloned().unwrap_or_else(Version::empty); And remove |
For open try, we already use the version that the app decided on, so there is nothing to do here. hermes/crates/relayer/src/channel.rs Lines 1023 to 1024 in a69bf5c
We could pass the empty version here since the app is going to ignore it anyway, but I don't believe it's necessary. |
Closing this as it seems like most chains have not incorporated these changes yet, so they aren't quite relevant for now. We can revisit if/when these changes become necessary. |
Summary of Bug
We should cleanup the code around channel version according to the changes in cosmos/ibc#628
Version
Steps to Reproduce
Acceptance Criteria
For Admin Use
The text was updated successfully, but these errors were encountered: