diff --git a/docs/build/building-modules/02-messages-and-queries.md b/docs/build/building-modules/02-messages-and-queries.md index fc7c6e29a..2b519c26c 100644 --- a/docs/build/building-modules/02-messages-and-queries.md +++ b/docs/build/building-modules/02-messages-and-queries.md @@ -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. diff --git a/docs/learn/advanced/17-autocli.md b/docs/learn/advanced/17-autocli.md index 8d0c97330..2c50e2f80 100644 --- a/docs/learn/advanced/17-autocli.md +++ b/docs/learn/advanced/17-autocli.md @@ -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 diff --git a/versioned_docs/version-0.52/build/building-modules/02-messages-and-queries.md b/versioned_docs/version-0.52/build/building-modules/02-messages-and-queries.md index fc7c6e29a..2b519c26c 100644 --- a/versioned_docs/version-0.52/build/building-modules/02-messages-and-queries.md +++ b/versioned_docs/version-0.52/build/building-modules/02-messages-and-queries.md @@ -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. diff --git a/versioned_docs/version-0.52/learn/advanced/17-autocli.md b/versioned_docs/version-0.52/learn/advanced/17-autocli.md index 0176733c2..cf9136726 100644 --- a/versioned_docs/version-0.52/learn/advanced/17-autocli.md +++ b/versioned_docs/version-0.52/learn/advanced/17-autocli.md @@ -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