-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: update upgrade doc and changelog for MigrationModuleManager #17373
Conversation
@@ -74,6 +74,11 @@ allows an application to define handlers for these methods via `ExtendVoteHandle | |||
and `VerifyVoteExtensionHandler` respectively. Please see [here](https://docs.cosmos.network/v0.50/building-apps/vote-extensions) | |||
for more info. | |||
|
|||
```diff |
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.
We should add the following to be more precise:
**Users using `depinject` / app v2 do not need any changes, this is abstracted for them.**
I would as well create this within an Upgrade
section under baseapp (like done for Events).
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.
Good catch
can we get updates to the upgrade section in docs. (https://docs.cosmos.network/main/building-apps/app-upgrade) and potentially others, this is pretty breaking for users |
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.
Thanks!
@@ -52,6 +52,12 @@ be a matter of minutes and not even require them to be awake at that time. | |||
|
|||
## Integrating With An App | |||
|
|||
After app initiation, call `SetMigrationModuleManager` with ModuleManager to give BaseApp access to `RunMigrationBeginBlock`: |
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.
We need to add a :::tip
(https://docusaurus.io/docs/next/markdown-features/admonitions) that says the same thing about not being necessary for users of app v2 / depinject.
Or alternatively this should be in a :::warning
saying this is required when not using app v2.
…smos#17373) Co-authored-by: Julien Robert <julien@rbrt.fr>
…smos#17373) Co-authored-by: Julien Robert <julien@rbrt.fr>
Description
For more info
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
make lint
andmake test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change