Skip to content

Commit

Permalink
chore: update documentation from cosmos-sdk/docs (#261)
Browse files Browse the repository at this point in the history
chore: Sync docs from cosmos-sdk/docs

Co-authored-by: tac0turtle <[email protected]>
  • Loading branch information
github-actions[bot] and tac0turtle authored Jan 17, 2025
1 parent 68fd51b commit 88259fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/build/building-modules/02-messages-and-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ https://github.com/cosmos/cosmos-sdk/blob/28fa3b8/x/bank/proto/cosmos/bank/v1bet

### `transaction.Msg` Interface

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

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

Signers from the `GetSigners()` call is automated via a protobuf annotation.
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/advanced/17-autocli.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
For example, here is how the SDK does it for `cometbft` gRPC commands:

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

#### Conventions for the `Use` field in Cobra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ https://github.com/cosmos/cosmos-sdk/blob/28fa3b8/x/bank/proto/cosmos/bank/v1bet

### `transaction.Msg` Interface

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

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

Signers from the `GetSigners()` call is automated via a protobuf annotation.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.52/learn/advanced/17-autocli.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
For example, here is how the SDK does it for `cometbft` gRPC commands:

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

#### Conventions for the `Use` field in Cobra
Expand Down

0 comments on commit 88259fa

Please sign in to comment.