Skip to content

Commit

Permalink
docs: fix the outdated description of transaction.Msg
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyuan1314 authored Jan 16, 2025
1 parent a03c90b commit 3d08f2d
Showing 1 changed file with 2 additions and 2 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

0 comments on commit 3d08f2d

Please sign in to comment.