Skip to content

Commit

Permalink
docs: fix the outdated description of transaction.Msg (#23409)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
  • Loading branch information
suiyuan1314 and aljo242 authored Jan 17, 2025
1 parent 77d4359 commit adc1d31
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 adc1d31

Please sign in to comment.