Skip to content

Commit 783bee6

Browse files
committed
fix most docs
1 parent a8858ed commit 783bee6

37 files changed

+166
-166
lines changed

client/v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ To add positional arguments to a command, use the `autocliv1.PositionalArgDescri
150150
Here's an example of how to define a positional argument for the `Account` method of the `auth` service:
151151

152152
```go reference
153-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-beta.0/x/auth/autocli.go#L25-L30
153+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/autocli.go#L25-L30
154154
```
155155

156156
Then the command can be used as follows, instead of having to specify the `--address` flag:

collections/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Since a module can have multiple collections, the following is expected:
9090
We don't want a collection to write over the state of the other collection so we pass it a prefix, which defines a storage
9191
partition owned by the collection.
9292

93-
If you already built modules, the prefix translates to the items you were creating in your ``types/keys.go`` file, example: https://github.com/cosmos/cosmos-sdk/blob/v0.52.0-rc.1/x/feegrant/key.go#L16~L22
93+
If you already built modules, the prefix translates to the items you were creating in your ``types/keys.go`` file, example: https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/feegrant/key.go#L25~L22
9494

9595
your old:
9696

docs/DOC_WRITING_GUIDELINES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It is also possible to include code snippets from GitHub files by referencing th
3131

3232
```md
3333
```go reference
34-
https://github.com/cosmos/cosmos-sdk/blob/v0.46.0/server/types/app.go#L57-L59
34+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/server/types/app.go#L68-L69
3535
```
3636
```
3737

docs/architecture/adr-047-extend-upgrade-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It also defines a structure for providing downloadable artifacts involved in an
1919
The `upgrade` module in conjunction with Cosmovisor are designed to facilitate and automate a blockchain's transition from one version to another.
2020

2121
Users submit a software upgrade governance proposal containing an upgrade `Plan`.
22-
The [Plan](https://github.com/cosmos/cosmos-sdk/blob/v0.44.5/proto/cosmos/upgrade/v1beta1/upgrade.proto#L12) currently contains the following fields:
22+
The [Plan](https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/proto/cosmos/upgrade/v1beta1/upgrade.proto#L14) currently contains the following fields:
2323

2424
* `name`: A short string identifying the new version.
2525
* `height`: The chain height at which the upgrade is to be performed.

docs/docs/build/abci/03-vote-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Click [here](https://docs.cosmos.network/main/build/abci/vote-extensions) if you
3535

3636
Similar to extending a vote, an application can also verify vote extensions from
3737
other validators when validating their pre-commits. For a given vote extension,
38-
this process MUST be deterministic. The Cosmos SDK defines [`sdk.VerifyVoteExtensionHandler`](https://github.com/cosmos/cosmos-sdk/blob/v0.50.1/types/abci.go#L29-L31):
38+
this process MUST be deterministic. The Cosmos SDK defines [`sdk.VerifyVoteExtensionHandler`](https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/types/abci.go#L34-L36):
3939

4040
```go
4141
type VerifyVoteExtensionHandler func(Context, *abci.RequestVerifyVoteExtension) (*abci.ResponseVerifyVoteExtension, error)

docs/docs/build/building-apps/01-app-go-di.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ The `app_config.go` file is the single place to configure all modules parameters
2929
1. Create the `AppConfig` variable:
3030

3131
```go reference
32-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_config.go#L289-L303
32+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_config.go#L293-L307
3333
```
3434

3535
Where the `appConfig` combines the [runtime](./00-runtime.md) configuration and the (extra) modules configuration.
3636

3737
```go reference
38-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_di.go#L113-L161
38+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_di.go#L114-L157
3939
```
4040

4141
2. Configure the `runtime` module:
@@ -44,21 +44,21 @@ The `app_config.go` file is the single place to configure all modules parameters
4444
They are named in the order they should be executed by the module manager.
4545

4646
```go reference
47-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_config.go#L103-L188
47+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_config.go#L104-L189
4848
```
4949

5050
3. Wire the other modules:
5151

5252
Next to runtime, the other (depinject-enabled) modules are wired in the `AppConfig`:
5353

5454
```go reference
55-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_config.go#L103-L286
55+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_config.go#L106-L289
5656
```
5757

5858
Note: the `tx` isn't a module, but a configuration. It should be wired in the `AppConfig` as well.
5959
6060
```go reference
61-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_config.go#L222-L227
61+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_config.go#L226-L231
6262
```
6363
6464
See the complete `app_config.go` file for `SimApp` [here](https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_config.go).
@@ -111,7 +111,7 @@ A more complete example of `app.yaml` can be found [here](https://github.com/cos
111111
In short `depinject` and the [`runtime` package](./00-runtime.md) abstract the wiring of the app, and the `AppBuilder` is the place where the app is constructed. [`runtime`](./00-runtime.md) takes care of registering the codecs, KV store, subspaces and instantiating `baseapp`.
112112
113113
```go reference
114-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_di.go#L100-L270
114+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_di.go#L114-L264
115115
```
116116
117117
:::warning
@@ -125,7 +125,7 @@ In this case, use `depinject.Configs` for combining the extra configuration, and
125125
More information on how `depinject.Configs` and `depinject.Supply` function can be found in the [`depinject` documentation](https://pkg.go.dev/cosmossdk.io/depinject).
126126
127127
```go reference
128-
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/simapp/app_di.go#L114-L162
128+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/app_di.go#L114-L157
129129
```
130130
131131
### Registering non app wiring modules

docs/docs/build/building-apps/04-vote-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ other validators when validating their pre-commits. For a given vote extension,
4040
this process MUST be deterministic. The Cosmos SDK defines `sdk.VerifyVoteExtensionHandler`:
4141

4242
```go reference
43-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/types/abci.go#L26-L27
43+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/types/abci.go#L31-L32
4444
```
4545

4646
An application can set this handler in `app.go` via the `baseapp.SetVerifyVoteExtensionHandler`

docs/docs/build/building-modules/02-messages-and-queries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Each `Msg` service method must have exactly one argument, which must implement t
3434
See an example of a `Msg` service definition from `x/bank` module:
3535

3636
```protobuf reference
37-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/proto/cosmos/bank/v1beta1/tx.proto#L13-L36
37+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/proto/cosmos/bank/v1beta1/tx.proto#L13-L32
3838
```
3939

4040
### `sdk.Msg` Interface
@@ -98,7 +98,7 @@ Queries should be defined using [Protobuf services](https://developers.google.co
9898
Here's an example of such a `Query` service definition:
9999

100100
```protobuf reference
101-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/proto/cosmos/auth/v1beta1/query.proto#L14-L89
101+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/proto/cosmos/auth/v1beta1/query.proto#L12-L78
102102
```
103103

104104
As `proto.Message`s, generated `Response` types implement by default `String()` method of [`fmt.Stringer`](https://pkg.go.dev/fmt#Stringer).
@@ -133,5 +133,5 @@ Store queries query directly for store keys. They use `clientCtx.QueryABCI(req a
133133
See following examples:
134134

135135
```go reference
136-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/baseapp/abci.go#L864-L894
136+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/baseapp/abci.go#L1050-L1074
137137
```

docs/docs/build/building-modules/03-msg-services.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ As further described in [ADR 031](../architecture/adr-031-msg-service.md), this
2424
Protobuf generates a `MsgServer` interface based on a definition of `Msg` service. It is the role of the module developer to implement this interface, by implementing the state transition logic that should happen upon receival of each `sdk.Msg`. As an example, here is the generated `MsgServer` interface for `x/bank`, which exposes two `sdk.Msg`s:
2525

2626
```go reference
27-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/types/tx.pb.go#L550-L568
27+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/types/tx.pb.go#L538-L556
2828
```
2929

3030
When possible, the existing module's [`Keeper`](./06-keeper.md) should implement `MsgServer`, otherwise a `msgServer` struct that embeds the `Keeper` can be created, typically in `./keeper/msg_server.go`:
3131

3232
```go reference
33-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/keeper/msg_server.go#L17-L19
33+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/keeper/msg_server.go#L17-L19
3434
```
3535

3636
`msgServer` methods can retrieve the `context.Context` from the `context.Context` parameter method using the `sdk.UnwrapSDKContext`:
3737

3838
```go reference
39-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/keeper/msg_server.go#L56
39+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/keeper/msg_server.go#L56
4040
```
4141

4242
`sdk.Msg` processing usually follows these 3 steps:
@@ -95,13 +95,13 @@ These events are relayed back to the underlying consensus engine and can be used
9595
The invoked `msgServer` method returns a `proto.Message` response and an `error`. These return values are then wrapped into an `*sdk.Result` or an `error` using `sdk.WrapServiceResult(ctx context.Context, res proto.Message, err error)`:
9696

9797
```go reference
98-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/baseapp/msg_service_router.go#L160
98+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/baseapp/msg_service_router.go#L208
9999
```
100100

101101
This method takes care of marshaling the `res` parameter to protobuf and attaching any events on the `ctx.EventManager()` to the `sdk.Result`.
102102

103103
```protobuf reference
104-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/proto/cosmos/base/abci/v1beta1/abci.proto#L93-L113
104+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/proto/cosmos/base/abci/v1beta1/abci.proto#L90-L106
105105
```
106106

107107
This diagram shows a typical structure of a Protobuf `Msg` service, and how the message propagates through the module.
@@ -115,5 +115,5 @@ New [telemetry metrics](../../learn/advanced/09-telemetry.md) can be created fro
115115
This is an example from the `x/auth/vesting` module:
116116

117117
```go reference
118-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/vesting/msg_server.go#L76-L88
118+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/vesting/msg_server.go#L79-L90
119119
```

docs/docs/build/building-modules/06-keeper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type Keeper struct {
4141
For example, here is the type definition of the `keeper` from the `staking` module:
4242

4343
```go reference
44-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/staking/keeper/keeper.go#L23-L31
44+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/staking/keeper/keeper.go#L24-L31
4545
```
4646

4747
Let us go through the different parameters:

docs/docs/build/building-modules/07-invariants.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ An invariant is a property of the application that should always be true. In the
1919
An `Invariant` is a function that checks for a particular invariant within a module. Module `Invariant`s must follow the `Invariant` type:
2020

2121
```go reference
22-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/types/invariant.go#L9
22+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/types/invariant.go#L9
2323
```
2424

2525
The `string` return value is the invariant message, which can be used when printing logs, and the `bool` return value is the actual result of the invariant check.
@@ -70,21 +70,21 @@ The `InvariantRegistry` is a registry where the `Invariant`s of all the modules
7070
At its core, the `InvariantRegistry` is defined in the Cosmos SDK as an interface:
7171

7272
```go reference
73-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/types/invariant.go#L14-L17
73+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/types/invariant.go#L14-L17
7474
```
7575

7676
Typically, this interface is implemented in the `keeper` of a specific module. The most used implementation of an `InvariantRegistry` can be found in the `crisis` module:
7777

7878
```go reference
79-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/crisis/keeper/keeper.go#L48-L50
79+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/crisis/keeper/keeper.go#L51-L53
8080
```
8181

8282
The `InvariantRegistry` is therefore typically instantiated by instantiating the `keeper` of the `crisis` module in the [application's constructor function](../../learn/beginner/00-app-anatomy.md#constructor-function).
8383

8484
`Invariant`s can be checked manually via [`message`s](./02-messages-and-queries.md), but most often they are checked automatically at the end of each block. Here is an example from the `crisis` module:
8585

8686
```go reference
87-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/crisis/abci.go#L13-L23
87+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/crisis/abci.go#L12-L21
8888
```
8989

9090
In both cases, if one of the `Invariant`s returns false, the `InvariantRegistry` can trigger special logic (e.g. have the application panic and print the `Invariant`s message in the log).

docs/docs/build/building-modules/08-genesis.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Next we present the main genesis-related methods that need to be implemented by
3232
The `DefaultGenesis()` method is a simple method that calls the constructor function for `GenesisState` with the default value for each parameter. See an example from the `auth` module:
3333

3434
```go reference
35-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/module.go#L63-L67
35+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/module.go#L61-L65
3636
```
3737

3838
### `ValidateGenesis`
3939

4040
The `ValidateGenesis(data GenesisState)` method is called to verify that the provided `genesisState` is correct. It should perform validity checks on each of the parameters listed in `GenesisState`. See an example from the `auth` module:
4141

4242
```go reference
43-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/types/genesis.go#L62-L75
43+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/types/genesis.go#L62-L73
4444
```
4545

4646
## Other Genesis Methods
@@ -56,7 +56,7 @@ The [module manager](./01-module-manager.md#manager) of the application is respo
5656
See an example of `InitGenesis` from the `auth` module:
5757

5858
```go reference
59-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/keeper/genesis.go#L8-L35
59+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/keeper/genesis.go#L8-L32
6060
```
6161

6262
### `ExportGenesis`
@@ -66,13 +66,13 @@ The `ExportGenesis` method is executed whenever an export of the state is made.
6666
See an example of `ExportGenesis` from the `auth` module.
6767

6868
```go reference
69-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/keeper/genesis.go#L37-L49
69+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/keeper/genesis.go#L36-L46
7070
```
7171

7272
### GenesisTxHandler
7373

7474
`GenesisTxHandler` is a way for modules to submit state transitions prior to the first block. This is used by `x/genutil` to submit the genesis transactions for the validators to be added to staking.
7575

7676
```go reference
77-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/core/genesis/txhandler.go#L3-L6
77+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/core/genesis/txhandler.go#L3-L6
7878
```

docs/docs/build/building-modules/09-module-interfaces.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Transaction commands typically have their own `tx.go` file that lives within the
2727
Here is an example from the `x/bank` module:
2828

2929
```go reference
30-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/client/cli/tx.go#L37-L76
30+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/client/cli/tx.go#L39-L72
3131
```
3232

3333
In the example, `NewSendTxCmd()` creates and returns the transaction command for a transaction that wraps and delivers `MsgSend`. `MsgSend` is the message used to send tokens from one account to another.
@@ -49,13 +49,13 @@ In general, the getter function does the following:
4949
Each module can implement `NewTxCmd()`, which aggregates all of the transaction commands of the module. Here is an example from the `x/bank` module:
5050

5151
```go reference
52-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/client/cli/tx.go#L20-L35
52+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/client/cli/tx.go#L22-L35
5353
```
5454

5555
Each module then can also implement a `GetTxCmd()` method that simply returns `NewTxCmd()`. This allows the root command to easily aggregate all of the transaction commands for each module. Here is an example:
5656

5757
```go reference
58-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/module.go#L84-L86
58+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/module.go#L88-L90
5959
```
6060

6161
### Query Commands
@@ -96,7 +96,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/client/cli/quer
9696
Each module must also implement the `GetQueryCmd()` method for `AppModuleBasic` that returns the `GetQueryCmd()` function. This allows for the root command to easily aggregate all of the query commands for each module. Here is an example:
9797
9898
```go reference
99-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/module.go#L84-L87
99+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/module.go#L88-L90
100100
```
101101
102102
### Flags
@@ -124,15 +124,15 @@ For more detailed information on creating flags, visit the [Cobra Documentation]
124124
As mentioned in [transaction commands](#transaction-commands), there is a set of flags that all transaction commands must add. This is done with the `AddTxFlagsToCmd` method defined in the Cosmos SDK's `./client/flags` package.
125125
126126
```go reference
127-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/client/flags/flags.go#L108-L138
127+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/client/flags/flags.go#L110-L138
128128
```
129129
130130
Since `AddTxFlagsToCmd(cmd *cobra.Command)` includes all of the basic flags required for a transaction command, module developers may choose not to add any of their own (specifying arguments instead may often be more appropriate).
131131
132132
Similarly, there is a `AddQueryFlagsToCmd(cmd *cobra.Command)` to add common flags to a module query command.
133133
134134
```go reference
135-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/client/flags/flags.go#L95-L106```
135+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/client/flags/flags.go#L99-L108```
136136
-->
137137

138138
## gRPC
@@ -146,7 +146,7 @@ In order to do that, modules must implement `RegisterGRPCGatewayRoutes(clientCtx
146146
Here's an example from the `x/auth` module:
147147

148148
```go reference
149-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/auth/module.go#L71-L76
149+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/auth/module.go#L70-L74
150150
```
151151

152152
## gRPC-gateway REST
@@ -156,7 +156,7 @@ Applications need to support web services that use HTTP requests (e.g. a web wal
156156
Modules that want to expose REST queries should add `google.api.http` annotations to their `rpc` methods, such as in the example below from the `x/auth` module:
157157

158158
```protobuf reference
159-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/proto/cosmos/auth/v1beta1/query.proto#L14-L89
159+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/proto/cosmos/auth/v1beta1/query.proto#L12-L78
160160
```
161161

162162
gRPC gateway is started in-process along with the application and CometBFT. It can be enabled or disabled by setting gRPC Configuration `enable` in [`app.toml`](../run-node/01-run-node.md#configuring-the-node-using-apptoml-and-configtoml).

docs/docs/build/building-modules/12-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ execution.
4343
Example:
4444

4545
```go reference
46-
https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/keeper/keeper.go#L141-L182
46+
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/x/bank/keeper/keeper.go#L122-L157
4747
```
4848

4949
Regardless if an error is wrapped or not, the Cosmos SDK's `errors` package provides a function to determine if

0 commit comments

Comments
 (0)