-
Notifications
You must be signed in to change notification settings - Fork 629
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
docs: adding migration doc for ibc-go v6 #2417
Conversation
These functions have been deprecated in favour of the new `controller` submodule `MsgServer` and will be removed in later releases. | ||
Both APIs remain functional and maintain backwards compatibility in `ibc-go/v6`, however consumers of these APIs are now recommended to follow the message passing paradigm outlined in Cosmos SDK [ADR 031](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-031-msg-service.md) and [ADR 033](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-033-protobuf-inter-module-comm.md). This is facilitated by the Cosmos SDK [`MsgServiceRouter`](https://github.com/cosmos/cosmos-sdk/blob/main/baseapp/msg_service_router.go#L17) and chain developers creating custom application logic can now omit the ICS27 `ControllerKeeper` from their module and instead depend on message routing. | ||
|
||
For more information see the new [ICS27 integration documentation](TODO: add link to new docs). |
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.
I'll put together some new docs for message routing examples for MsgRegisterInterchainAccount
and MsgSendTx
.
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.
Really clear write up, nice job! 🥇
…-go into damian/2184-migration-docs-v6
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.
Great work :) Really nice migration docs!
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
…-go into damian/2184-migration-docs-v6
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.
These functions have been deprecated in favour of the new `controller` submodule `MsgServer` and will be removed in later releases. | ||
Both APIs remain functional and maintain backwards compatibility in `ibc-go/v6`, however consumers of these APIs are now recommended to follow the message passing paradigm outlined in Cosmos SDK [ADR 031](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-031-msg-service.md) and [ADR 033](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-033-protobuf-inter-module-comm.md). This is facilitated by the Cosmos SDK [`MsgServiceRouter`](https://github.com/cosmos/cosmos-sdk/blob/main/baseapp/msg_service_router.go#L17) and chain developers creating custom application logic can now omit the ICS27 `ControllerKeeper` from their module and instead depend on message routing. | ||
|
||
Legacy APIs are still required if application developers wish to consume IBC packet callbacks and react upon packet acknowledgements. In future this will be replaced by IBC Actor Callbacks, see [ADR 008](https://github.com/cosmos/ibc-go/pull/1976). |
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.
Would be nice to get it merged, so that we can use a relative link...
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Thanks for the detailed review @crodriguezvega .
I've documented changes in #2395 and #2446 as they effect end users. I've omitted adding info for the |
* WIP ics27 v6 migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * readding migration doc after merge nuked my file -_- * updating migration doc with ics27 host params updates * cleanup * adding controller api deprecation to migration doc * updating links * updating formatting * formatting * moving upgrade handler and migration details to chains section * Apply suggestions from code review Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * mitigate copy pasta by breaking code snippet compilation * added note about legacy APIs for packet cbs and ADR 008 ref * Apply suggestions from code review Co-authored-by: Carlos Rodriguez <carlos@interchain.io> * removing backticks in all refs to ibc-go, controller and host * addressing indentation * adding ics29 NewKeeper api breaking changes and removal of ics20 SendTransfer Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> Co-authored-by: Carlos Rodriguez <carlos@interchain.io> (cherry picked from commit 90b051e)
* WIP ics27 v6 migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * updating migration doc * readding migration doc after merge nuked my file -_- * updating migration doc with ics27 host params updates * cleanup * adding controller api deprecation to migration doc * updating links * updating formatting * formatting * moving upgrade handler and migration details to chains section * Apply suggestions from code review Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * mitigate copy pasta by breaking code snippet compilation * added note about legacy APIs for packet cbs and ADR 008 ref * Apply suggestions from code review Co-authored-by: Carlos Rodriguez <carlos@interchain.io> * removing backticks in all refs to ibc-go, controller and host * addressing indentation * adding ics29 NewKeeper api breaking changes and removal of ics20 SendTransfer Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> Co-authored-by: Carlos Rodriguez <carlos@interchain.io> (cherry picked from commit 90b051e) Co-authored-by: Damian Nolan <damiannolan@gmail.com>
Description
ibc-go/v6
closes: #2184
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/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes