Skip to content

Commit

Permalink
docs: fix the outdated description of transaction.Msg (backport #23409
Browse files Browse the repository at this point in the history
) (#23425)

Co-authored-by: SuiYuan <suiyuan.wood@gmail.com>
  • Loading branch information
mergify[bot] and suiyuan1314 authored Jan 17, 2025
1 parent 6260998 commit 536fe3f
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 536fe3f

Please sign in to comment.