-
Notifications
You must be signed in to change notification settings - Fork 586
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
feat: add channel version to core app callbacks #6902
feat: add channel version to core app callbacks #6902
Conversation
…-acknowledge-and-timeout-app-callbacks
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.
Nice work! The changes look good, there is an issue in ics29 though. Versions can be wrapped and when this version is passed down through the calls, it needs to be unwrapped (in a similar fashion to GetAppVersion
)
…-acknowledge-and-timeout-app-callbacks
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.
Nice start! I believe its at mergable state after addressing @colin-axner feedback.
Can we also remove or deprecate GetAppVersion now that we've made this change?
…-acknowledge-and-timeout-app-callbacks
No, the version still needs to be unwrapped for others uses (async packets or migrations). The port router refactor will address this interface though |
I've added app version callbacks, let me know if how I did it is reasonable or if it should be done differently @colin-axner |
…-acknowledge-and-timeout-app-callbacks
…-acknowledge-and-timeout-app-callbacks
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.
Nice work @gjermundgaraba! Thanks for the quick implementations and quick followup. The changes look great to me 👍
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.
lgtm!
…-acknowledge-and-timeout-app-callbacks
Quality Gate passed for 'ibc-go'Issues Measures |
* feat: add channel version to core app callbacks * refactor 05-port module interface signature with channel version after ctx * unwrap app version in ics29 * panic on unwrap app version and update mock apis * discard unused variables --------- Co-authored-by: DimitrisJim <[email protected]> (cherry picked from commit 954d8bd)
* feat: add channel version to core app callbacks * refactor 05-port module interface signature with channel version after ctx * unwrap app version in ics29 * panic on unwrap app version and update mock apis * discard unused variables --------- Co-authored-by: DimitrisJim <[email protected]> (cherry picked from commit 954d8bd) Co-authored-by: Gjermund Garaba <[email protected]> Co-authored-by: colin axnér <[email protected]>
Description
closes: #195
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.