diff --git a/client/v2/README.md b/client/v2/README.md index 416883091ad0..84e44e11a7f9 100644 --- a/client/v2/README.md +++ b/client/v2/README.md @@ -10,7 +10,7 @@ This document details how to build CLI and REST interfaces for a module. Example :::note Pre-requisite Readings -* [CLI](https://docs.cosmos.network/main/core/cli) +* [CLI](https://docs.cosmos.network/sdk/latest/learn/concepts/cli-grpc-rest) ::: @@ -103,7 +103,7 @@ keyring.NewAutoCLIKeyring(kb) ## Signing `autocli` supports signing transactions with the keyring. -The [`cosmos.msg.v1.signer` protobuf annotation](https://docs.cosmos.network/main/build/building-modules/protobuf-annotations) defines the signer field of the message. +The [`cosmos.msg.v1.signer` protobuf annotation](https://docs.cosmos.network/sdk/latest/guides/reference/protobuf-annotations) defines the signer field of the message. This field is automatically filled when using the `--from` flag or defining the signer as a positional argument. :::warning @@ -232,7 +232,7 @@ If not set to true, `AutoCLI` will not generate commands for the module if there ### Skip a command -AutoCLI automatically skips unsupported commands when [`cosmos_proto.method_added_in` protobuf annotation](https://docs.cosmos.network/main/build/building-modules/protobuf-annotations) is present. +AutoCLI automatically skips unsupported commands when [`cosmos_proto.method_added_in` protobuf annotation](https://docs.cosmos.network/sdk/latest/guides/reference/protobuf-annotations) is present. Additionally, a command can be manually skipped using the `autocliv1.RpcCommandOptions`: diff --git a/contrib/x/circuit/README.md b/contrib/x/circuit/README.md index 5173966af124..7abdb6382b01 100644 --- a/contrib/x/circuit/README.md +++ b/contrib/x/circuit/README.md @@ -10,20 +10,20 @@ Circuit Breaker works with the idea that an address or set of addresses have the The transactions are checked and can be rejected at two points: -* In `CircuitBreakerDecorator` [ante handler](https://docs.cosmos.network/main/learn/advanced/baseapp#antehandler): +* In `CircuitBreakerDecorator` [ante handler](https://docs.cosmos.network/sdk/latest/learn/concepts/baseapp#antehandler): ```go reference https://github.com/cosmos/cosmos-sdk/blob/x/circuit/v0.1.0/x/circuit/ante/circuit.go#L27-L41 ``` -* With a [message router check](https://docs.cosmos.network/main/learn/advanced/baseapp#msg-service-router): +* With a [message router check](https://docs.cosmos.network/sdk/latest/learn/concepts/baseapp#msg-service-router): ```go reference https://github.com/cosmos/cosmos-sdk/blob/v0.50.1/baseapp/msg_service_router.go#L104-L115 ``` :::note -The `CircuitBreakerDecorator` works for most use cases, but [does not check the inner messages of a transaction](https://docs.cosmos.network/main/learn/beginner/tx-lifecycle#antehandler). This means some transactions (such as `x/authz` transactions or some `x/gov` transactions) may pass the ante handler. **This does not affect the circuit breaker** as the message router check will still fail the transaction. +The `CircuitBreakerDecorator` works for most use cases, but [does not check the inner messages of a transaction](https://docs.cosmos.network/sdk/latest/learn/concepts/lifecycle#antehandler). This means some transactions (such as `x/authz` transactions or some `x/gov` transactions) may pass the ante handler. **This does not affect the circuit breaker** as the message router check will still fail the transaction. This tradeoff is to avoid introducing more dependencies in the `x/circuit` module. Chains can re-define the `CircuitBreakerDecorator` to check for inner messages if they wish to do so. ::: diff --git a/docs/spec/README.md b/docs/spec/README.md index cca186ade311..225411dc3610 100644 --- a/docs/spec/README.md +++ b/docs/spec/README.md @@ -17,7 +17,7 @@ block. ## Modules specifications -Go to the [module directory](https://docs.cosmos.network/main/modules) +Go to the [module directory](https://docs.cosmos.network/sdk/latest/modules) ## CometBFT diff --git a/tools/cosmovisor/cmd/cosmovisor/help.go b/tools/cosmovisor/cmd/cosmovisor/help.go index 33add62cc636..b8f6a86a0b5c 100644 --- a/tools/cosmovisor/cmd/cosmovisor/help.go +++ b/tools/cosmovisor/cmd/cosmovisor/help.go @@ -18,7 +18,7 @@ the proposal. Cosmovisor interprets that data to perform an update: switch the c and restart the App. Configuration of Cosmovisor is done through environment variables, which are -documented in: https://docs.cosmos.network/main/build/tooling/cosmovisor`, +documented in: https://docs.cosmos.network/sdk/latest/guides/upgrades/cosmovisor`, cosmovisor.EnvName, cosmovisor.EnvHome, ) } diff --git a/x/README.md b/x/README.md index 208be985d068..4d7025804744 100644 --- a/x/README.md +++ b/x/README.md @@ -40,11 +40,11 @@ The following modules are deprecated. They will no longer be maintained activel * [Crisis](../contrib/x/crisis/README.md) - _Deprecated_ halting the blockchain under certain circumstances (e.g. if an invariant is broken). * [Params](./params/README.md) - _Deprecated_ Globally available parameter store. -* [NFT](../contrib/x/nft/README.md) - _Deprecated_ NFT module implemented based on [ADR43](https://docs.cosmos.network/main/build/architecture/adr-043-nft-module). +* [NFT](../contrib/x/nft/README.md) - _Deprecated_ NFT module implemented based on [ADR43](https://docs.cosmos.network/sdk/latest/reference/architecture/adr-043-nft-module). * [Group](../enterprise/group/README.md) - Allows for the creation and management of on-chain multisig accounts (enterprise module). * [Circuit](../contrib/x/circuit/README.md) _Deprecated_ - Circuit breaker module for pausing messages. -To learn more about the process of building modules, visit the [building modules reference documentation](https://docs.cosmos.network/main/building-modules/intro). +To learn more about the process of building modules, visit the [building modules reference documentation](https://docs.cosmos.network/sdk/latest/learn/concepts/modules). ## IBC diff --git a/x/auth/README.md b/x/auth/README.md index 56a2c420bdff..0b1957b04bab 100644 --- a/x/auth/README.md +++ b/x/auth/README.md @@ -138,7 +138,7 @@ message BaseAccount { ### Vesting Account -See [Vesting](https://docs.cosmos.network/main/modules/auth/vesting/). +See [Vesting](https://docs.cosmos.network/sdk/latest/modules/auth/vesting). ## AnteHandlers diff --git a/x/auth/tx/README.md b/x/auth/tx/README.md index 78da050350ed..d099c87388b7 100644 --- a/x/auth/tx/README.md +++ b/x/auth/tx/README.md @@ -6,8 +6,8 @@ sidebar_position: 1 :::note Pre-requisite Readings -* [Transactions](https://docs.cosmos.network/main/core/transactions#transaction-generation) -* [Encoding](https://docs.cosmos.network/main/core/encoding#transaction-encoding) +* [Transactions](https://docs.cosmos.network/sdk/latest/learn/concepts/transactions#transaction-generation) +* [Encoding](https://docs.cosmos.network/sdk/latest/learn/concepts/encoding#transaction-encoding) ::: @@ -50,12 +50,12 @@ https://github.com/cosmos/cosmos-sdk/tree/release/v0.50.x/x/auth/tx/config.go#L2 https://github.com/cosmos/cosmos-sdk/tree/release/v0.50.x/client/tx_config.go#L33-L50 ``` -The [`client.TxBuilder`](https://docs.cosmos.network/main/core/transactions#transaction-generation) interface is as well implemented by `x/auth/tx`. +The [`client.TxBuilder`](https://docs.cosmos.network/sdk/latest/learn/concepts/transactions#transaction-generation) interface is as well implemented by `x/auth/tx`. A `client.TxBuilder` can be accessed with `TxConfig.NewTxBuilder()`. ### `TxEncoder`/ `TxDecoder` -More information about `TxEncoder` and `TxDecoder` can be found [here](https://docs.cosmos.network/main/core/encoding#transaction-encoding). +More information about `TxEncoder` and `TxDecoder` can be found [here](https://docs.cosmos.network/sdk/latest/learn/concepts/encoding#transaction-encoding). ## Client diff --git a/x/genutil/README.md b/x/genutil/README.md index 45cb45355b86..5717bcdc5816 100644 --- a/x/genutil/README.md +++ b/x/genutil/README.md @@ -40,7 +40,7 @@ The genutil commands are available under the `genesis` subcommand. #### add-genesis-account -Add a genesis account to `genesis.json`. Learn more [here](https://docs.cosmos.network/main/run-node/run-node#adding-genesis-accounts). +Add a genesis account to `genesis.json`. Learn more [here](https://docs.cosmos.network/sdk/latest/node/run-node#adding-genesis-accounts). #### collect-gentxs diff --git a/x/upgrade/client/cli/tx.go b/x/upgrade/client/cli/tx.go index 71cdda5bd92a..2ffb7f3b9d11 100644 --- a/x/upgrade/client/cli/tx.go +++ b/x/upgrade/client/cli/tx.go @@ -51,7 +51,7 @@ func NewCmdSubmitUpgradeProposal(ac addresscodec.Codec) *cobra.Command { Short: "Submit a software upgrade proposal", Long: "Submit a software upgrade along with an initial deposit.\n" + "Please specify a unique name and height for the upgrade to take effect.\n" + - "You may include info to reference a binary download link, in a format compatible with: https://docs.cosmos.network/main/tooling/cosmovisor", + "You may include info to reference a binary download link, in a format compatible with: https://docs.cosmos.network/sdk/latest/guides/upgrades/cosmovisor", RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientTxContext(cmd) if err != nil { diff --git a/x/upgrade/doc.go b/x/upgrade/doc.go index a66ab41ea52d..567917845996 100644 --- a/x/upgrade/doc.go +++ b/x/upgrade/doc.go @@ -7,6 +7,6 @@ Without software support for upgrades, upgrading a live chain is risky because a their state machines at exactly the same point in the process. If this is not done correctly, there can be state inconsistencies which are hard to recover from. -For more information, read the documentation on https://docs.cosmos.network/main/modules/upgrade. +For more information, read the documentation on https://docs.cosmos.network/sdk/latest/modules/upgrade. */ package upgrade