Skip to content

Commit 88259fa

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

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ https://github.com/cosmos/cosmos-sdk/blob/28fa3b8/x/bank/proto/cosmos/bank/v1bet
3838

3939
### `transaction.Msg` Interface
4040

41-
`transaction.Msg` is an alias of `proto.Message`.
41+
`transaction.Msg` uses structural types to define the interface for a message.
4242

4343
```go reference
44-
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L8
44+
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L4-L9
4545
```
4646

4747
Signers from the `GetSigners()` call is automated via a protobuf annotation.

docs/learn/advanced/17-autocli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
252252
For example, here is how the SDK does it for `cometbft` gRPC commands:
253253

254254
```go reference
255-
https://github.com/cosmos/cosmos-sdk/blob/main/client/grpc/cmtservice/autocli.go#L52-L71
255+
https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/client/grpc/cmtservice/autocli.go#L52-L71
256256
```
257257

258258
#### Conventions for the `Use` field in Cobra

versioned_docs/version-0.52/build/building-modules/02-messages-and-queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ https://github.com/cosmos/cosmos-sdk/blob/28fa3b8/x/bank/proto/cosmos/bank/v1bet
3838

3939
### `transaction.Msg` Interface
4040

41-
`transaction.Msg` is an alias of `proto.Message`.
41+
`transaction.Msg` uses structural types to define the interface for a message.
4242

4343
```go reference
44-
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L8
44+
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L4-L9
4545
```
4646

4747
Signers from the `GetSigners()` call is automated via a protobuf annotation.

versioned_docs/version-0.52/learn/advanced/17-autocli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
252252
For example, here is how the SDK does it for `cometbft` gRPC commands:
253253

254254
```go reference
255-
https://github.com/cosmos/cosmos-sdk/blob/main/client/grpc/cmtservice/autocli.go#L52-L71
255+
https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/client/grpc/cmtservice/autocli.go#L52-L71
256256
```
257257

258258
#### Conventions for the `Use` field in Cobra

0 commit comments

Comments
 (0)