Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ A `query` is a request for information made by end-users of applications through

### gRPC Queries

Queries should be defined using [Protobuf services](https://developers.google.com/protocol-buffers/docs/proto#services). A `Query` service should be created per module in `query.proto`. This service lists endpoints starting with `rpc`.
Queries should be defined using [Protobuf services](https://protobuf.dev/programming-guides/proto2/). A `Query` service should be created per module in `query.proto`. This service lists endpoints starting with `rpc`.

Here's an example of such a `Query` service definition:

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/build/building-modules/09-module-interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/bank/module.go#L84-L
### Query Commands

:::warning
This section is being rewritten. Refer to [AutoCLI](https://docs.cosmos.network/main/core/autocli) while this section is being updated.
This section is being rewritten. Refer to [AutoCLI](https://docs.cosmos.network/main/learn/advanced/autocli) while this section is being updated.
:::

<!-- UPDATE THIS TO AUTOCLI
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/build/building-modules/11-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ x/{module_name}
* `keeper/`: The module's `Keeper` and `MsgServer` implementation.
* `module/`: The module's `AppModule` and `AppModuleBasic` implementation.
* `abci.go`: The module's `BeginBlocker` and `EndBlocker` implementations (this file is only required if `BeginBlocker` and/or `EndBlocker` need to be defined).
* `autocli.go`: The module [autocli](https://docs.cosmos.network/main/core/autocli) options.
* `autocli.go`: The module [autocli](https://docs.cosmos.network/main/learn/advanced/autocli) options.
* `simulation/`: The module's [simulation](./14-simulator.md) package defines functions used by the blockchain simulator application (`simapp`).
* `README.md`: The module's specification documents outlining important concepts, state storage structure, and message and event type definitions. Learn more about how to write module specs in the [spec guidelines](../../../spec/SPEC_MODULE.md).
* The root directory includes type definitions for messages, events, and genesis state, including the type definitions generated by Protocol Buffers.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/build/building-modules/15-depinject.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/api/cosmos/group/modul
```

:::note
Pulsar is optional. The official [`protoc-gen-go`](https://developers.google.com/protocol-buffers/docs/reference/go-generated) can be used as well.
Pulsar is optional. The official [`protoc-gen-go`](https://protobuf.dev/reference/go/go-generated/) can be used as well.
:::

## Dependency Definition
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/build/building-modules/16-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The SDK uses `mockgen` to generate mocks for keepers:
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/scripts/mockgen.sh#L3-L6
```

You can read more about mockgen [here](https://go.uber.org/mock).
You can read more about mockgen [here](https://pkg.go.dev/go.uber.org/mock).

### Example

Expand Down
Loading