feat: add channel version to core app callbacks#6902
Conversation
…-acknowledge-and-timeout-app-callbacks
colin-axner
left a comment
There was a problem hiding this comment.
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
AdityaSripal
left a comment
There was a problem hiding this comment.
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
colin-axner
left a comment
There was a problem hiding this comment.
Nice work @gjermundgaraba! Thanks for the quick implementations and quick followup. The changes look great to me 👍
…-acknowledge-and-timeout-app-callbacks
|
* 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 <d.f.hilliard@gmail.com> (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 <d.f.hilliard@gmail.com> (cherry picked from commit 954d8bd) Co-authored-by: Gjermund Garaba <bjaanes@gmail.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>



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/).godoccomments.Files changedin the GitHub PR explorer.SonarCloud Reportin the comment section below once CI passes.