Skip to content

Commit 88f52c8

Browse files
chore: update documentation from cosmos-sdk/docs (#262)
chore: Sync docs from cosmos-sdk/docs Co-authored-by: tac0turtle <[email protected]>
1 parent 88259fa commit 88f52c8

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

versioned_docs/version-0.52/build/migrations/02-upgrading.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Note, always read the **SimApp** section for more information on application wir
55

66
## [v0.52.x](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.52.0-alpha.0)
77

8-
Documentation to migrate an application from v0.50.x to server/v2 is available elsewhere.
9-
It is additional to the changes described here.
108

119
### SimApp
1210

@@ -33,7 +31,7 @@ clientCtx = clientCtx.
3331

3432
**When using `depinject` / `app_di`, the client codecs can be provided directly from application config.**
3533

36-
Refer to SimApp `root_v2.go` and `root.go` for an example with an app di and a legacy app.
34+
Refer to SimApp `root.go` for an example with an app di and a legacy app.
3735

3836
Additionally, a simplification of the start command leads to the following change:
3937

@@ -329,7 +327,7 @@ All modules (expect `auth`) were spun out into their own `go.mod`. Replace their
329327

330328
##### Core API
331329

332-
Core API has been introduced for modules since v0.47. With the deprecation of `sdk.Context`, we strongly recommend to use the `cosmossdk.io/core/appmodule` interfaces for the modules. This will allow the modules to work out of the box with server/v2 and baseapp, as well as limit their dependencies on the SDK.
330+
Core API has been introduced for modules since v0.47. With the deprecation of `sdk.Context`, we strongly recommend to use the `cosmossdk.io/core/appmodule` interfaces for the modules. This will allow the modules to work out of the box with baseapp, as well as limit their dependencies on the SDK.
333331

334332
Additionally, the `appmodule.Environment` struct is introduced to fetch different services from the application.
335333
This should be used as an alternative to using `sdk.UnwrapContext(ctx)` to fetch the services.
@@ -465,9 +463,6 @@ Existing chains using `x/distribution` module must add the new `x/protocolpool`
465463
#### `x/gov`
466464

467465
Gov v1beta1 proposal handler has been changed to take in a `context.Context` instead of `sdk.Context`.
468-
This change was made to allow legacy proposals to be compatible with server/v2.
469-
If you wish to migrate to server/v2, you should update your proposal handler to take in a `context.Context` and use services.
470-
On the other hand, if you wish to keep using baseapp, simply unwrap the sdk context in your proposal handler.
471466

472467
#### `x/mint`
473468

@@ -510,7 +505,7 @@ storetypes.StoreUpgrades{
510505

511506
#### `x/validate`
512507

513-
Introducing `x/validate` a module that is solely used for registering default ante/post handlers and global tx validators when using runtime and runtime/v2. If you wish to set your custom ante/post handlers, no need to use this module.
508+
Introducing `x/validate` a module that is solely used for registering default ante/post handlers and global tx validators when using runtime. If you wish to set your custom ante/post handlers, no need to use this module.
514509
You can however always extend them by adding extra tx validators (see `x/validate` documentation).
515510

516511
#### `tools/benchmark`

0 commit comments

Comments
 (0)