docs: fix ordering (#15387)

This commit is contained in:
Julien Robert 2023-03-14 14:00:19 +01:00 committed by GitHub
parent 3513c5dfc2
commit a392bae9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 9 additions and 14 deletions

View File

@ -91,4 +91,4 @@ Modules are by convention defined in the `./x/` subfolder (e.g. the `bank` modul
In addition to these components, modules implement the `AppModule` interface in order to be managed by the [`module manager`](./01-module-manager.md).
Please refer to the [structure document](./10-structure.md) to learn about the recommended structure of a module's directory.
Please refer to the [structure document](./11-structure.md) to learn about the recommended structure of a module's directory.

View File

@ -120,13 +120,13 @@ Here are some example commands that use the positional arguments we defined abov
To query an account by address:
```bash
`./app query auth account cosmos1abcd...xyz`
<appd> query auth account cosmos1abcd...xyz
```
To query an account address by account number:
```bash
`./app query auth address-by-acc-num 1`
<appd> query auth address-by-acc-num 1
```
In both of these commands, the `auth` service is being queried with the `query` subcommand, followed by the specific method being called (`account` or `address-by-acc-num`). The positional argument is included at the end of the command (`cosmos1abcd...xyz` or `1`) to specify the address or account number, respectively.

View File

@ -80,10 +80,10 @@ x/{module_name}
* `keeper/`: The module's `Keeper` and `MsgServer` implementation.
* `module/`: The module's `AppModule` and `AppModuleBasic` implementation.
* `abci.go`: The module's `BeginBlocker` and `EndBlocker` implementations (this file is only required if `BeginBlocker` and/or `EndBlocker` need to be defined).
* `simulation/`: The module's [simulation](./13-simulator.md) package defines functions used by the blockchain simulator application (`simapp`).
* `simulation/`: The module's [simulation](./14-simulator.md) package defines functions used by the blockchain simulator application (`simapp`).
* `REAMDE.md`: The module's specification documents outlining important concepts, state storage structure, and message and event type definitions. Learn more how to write module specs in the [spec guidelines](../spec/SPEC-SPEC.md).
* The root directory includes type definitions for messages, events, and genesis state, including the type definitions generated by Protocol Buffers.
* `autocli.go`: The module [autocli](./09-autocli.md) options.
* `autocli.go`: The module [autocli](./10-autocli.md) options.
* `codec.go`: The module's registry methods for interface types.
* `errors.go`: The module's sentinel errors.
* `events.go`: The module's event types and constructors.

View File

@ -97,5 +97,5 @@ Here are some suggestions when encountering a simulation failure:
Learn how you can integrate the simulation into your Cosmos SDK-based application:
* Application Simulation Manager
* [Building modules: Simulator](../building-modules/13-simulator.md)
* [Building modules: Simulator](../building-modules/14-simulator.md)
* Simulator tests

View File

@ -16,7 +16,7 @@ The Cosmos SDK uses two methods to perform upgrades:
* Exporting the entire application state to a JSON file using the `export` CLI command, making changes, and then starting a new binary with the changed JSON file as the genesis file.
* Perform upgrades in place, which significantly decrease the upgrade time for chains with a larger state. Use the [Module Upgrade Guide](../building-modules/12-upgrade.md) to set up your application modules to take advantage of in-place upgrades.
* Perform upgrades in place, which significantly decrease the upgrade time for chains with a larger state. Use the [Module Upgrade Guide](../building-modules/13-upgrade.md) to set up your application modules to take advantage of in-place upgrades.
This document provides steps to use the In-Place Store Migrations upgrade method.
@ -63,7 +63,7 @@ app.UpgradeKeeper.SetUpgradeHandler("my-plan", func(ctx sdk.Context, plan upgrad
})
```
To learn more about configuring migration scripts for your modules, see the [Module Upgrade Guide](../building-modules/12-upgrade.md).
To learn more about configuring migration scripts for your modules, see the [Module Upgrade Guide](../building-modules/13-upgrade.md).
### Order Of Migrations

View File

@ -1,5 +0,0 @@
{
"label": "Notable Packages",
"position": 10,
"link": null
}

View File

@ -2,4 +2,4 @@
"label": "RFCs",
"position": 12,
"link": null
}
}