Skip to content

Commit f9d6429

Browse files
authored
docs: fix spelling issues (#24965)
1 parent 9e4d8f0 commit f9d6429

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ When a new major version of the SDK is released, the following steps should be t
7373
},
7474
```
7575

76-
* Add the new version sidebar to the list of versionned sidebar and add the version to `versions.json`.
76+
* Add the new version sidebar to the list of versioned sidebar and add the version to `versions.json`.
7777
* Update the latest version (`presets[1].docs.lastVersion`) in `docusaurus.config.js`.
7878
* Add the new version with in `presets[1].docs.versions` in `docusaurus.config.js`.
7979

docs/architecture/adr-007-specialization-groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ the members already in a specialization group to internally elect new members,
5151
or maybe the community may assign a permission to a particular specialization
5252
group to appoint members to other 3rd party groups. The sky is really the limit
5353
as to how membership admittance can be structured. We attempt to capture
54-
some of these possiblities in a common interface dubbed the `Electionator`. For
54+
some of these possibilities in a common interface dubbed the `Electionator`. For
5555
its initial implementation as a part of this ADR we recommend that the general
5656
election abstraction (`Electionator`) is provided as well as a basic
5757
implementation of that abstraction which allows for a continuous election of

docs/docs/build/building-modules/01-module-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/types/module/module.go#L77
271271
It implements the following methods:
272272

273273
* `NewBasicManager(modules ...AppModuleBasic)`: Constructor function. It takes a list of the application's `AppModuleBasic` and builds a new `BasicManager`. This function is generally called in the `init()` function of [`app.go`](../../learn/beginner/00-app-anatomy.md#core-application-file) to quickly initialize the independent elements of the application's modules (click [here](https://github.com/cosmos/gaia/blob/main/app/app.go#L59-L74) to see an example).
274-
* `NewBasicManagerFromManager(manager *Manager, customModuleBasics map[string]AppModuleBasic)`: Contructor function. It creates a new `BasicManager` from a `Manager`. The `BasicManager` will contain all `AppModuleBasic` from the `AppModule` manager using `CoreAppModuleBasicAdaptor` whenever possible. Module's `AppModuleBasic` can be overridden by passing a custom AppModuleBasic map
274+
* `NewBasicManagerFromManager(manager *Manager, customModuleBasics map[string]AppModuleBasic)`: Constructor function. It creates a new `BasicManager` from a `Manager`. The `BasicManager` will contain all `AppModuleBasic` from the `AppModule` manager using `CoreAppModuleBasicAdaptor` whenever possible. Module's `AppModuleBasic` can be overridden by passing a custom AppModuleBasic map
275275
* `RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)`: Registers the [`codec.LegacyAmino`s](../../learn/advanced/05-encoding.md#amino) of each of the application's `AppModuleBasic`. This function is usually called early on in the [application's construction](../../learn/beginner/00-app-anatomy.md#constructor).
276276
* `RegisterInterfaces(registry codectypes.InterfaceRegistry)`: Registers interface types and implementations of each of the application's `AppModuleBasic`.
277277
* `DefaultGenesis(cdc codec.JSONCodec)`: Provides default genesis information for modules in the application by calling the [`DefaultGenesis(cdc codec.JSONCodec)`](./08-genesis.md#defaultgenesis) function of each module. It only calls the modules that implements the `HasGenesisBasics` interfaces.

docs/docs/build/building-modules/11-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ x/{module_name}
8282
* `abci.go`: The module's `BeginBlocker` and `EndBlocker` implementations (this file is only required if `BeginBlocker` and/or `EndBlocker` need to be defined).
8383
* `autocli.go`: The module [autocli](https://docs.cosmos.network/main/core/autocli) options.
8484
* `simulation/`: The module's [simulation](./14-simulator.md) package defines functions used by the blockchain simulator application (`simapp`).
85-
* `REAMDE.md`: The module's specification documents outlining important concepts, state storage structure, and message and event type definitions. Learn more how to write module specs in the [spec guidelines](../spec/SPEC_MODULE.md).
85+
* `README.md`: The module's specification documents outlining important concepts, state storage structure, and message and event type definitions. Learn more how to write module specs in the [spec guidelines](../spec/SPEC_MODULE.md).
8686
* The root directory includes type definitions for messages, events, and genesis state, including the type definitions generated by Protocol Buffers.
8787
* `codec.go`: The module's registry methods for interface types.
8888
* `errors.go`: The module's sentinel errors.

docs/docs/learn/advanced/07-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.53.0/simapp/simd/cmd/root_v2.go#L47
7171

7272
:::tip
7373
Use the `EnhanceRootCommand()` from the AutoCLI options to automatically add auto-generated commands from the modules to the root command.
74-
Additionnally it adds all manually defined modules commands (`tx` and `query`) as well.
74+
Additionally it adds all manually defined modules commands (`tx` and `query`) as well.
7575
Read more about [AutoCLI](https://docs.cosmos.network/main/core/autocli) in its dedicated section.
7676
:::
7777

docs/docs/learn/advanced/11-runtx_middleware.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 1
44

55
# RunTx recovery middleware
66

7-
`BaseApp.runTx()` function handles Go panics that might occur during transactions execution, for example, keeper has faced an invalid state and paniced.
7+
`BaseApp.runTx()` function handles Go panics that might occur during transactions execution, for example, keeper has faced an invalid state and panicked.
88
Depending on the panic type different handler is used, for instance the default one prints an error log message.
99
Recovery middleware is used to add custom panic recovery for Cosmos SDK application developers.
1010

@@ -16,7 +16,7 @@ More context can found in the corresponding [ADR-022](../../build/architecture/a
1616
https://github.com/cosmos/cosmos-sdk/blob/v0.53.0-rc.2/baseapp/recovery.go#L14-L17
1717
```
1818

19-
`recoveryObj` is a return value for `recover()` function from the `buildin` Go package.
19+
`recoveryObj` is a return value for `recover()` function from the `building` Go package.
2020

2121
**Contract:**
2222

docs/docs/learn/beginner/00-app-anatomy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In general, the core of the state-machine is defined in a file called `app.go`.
5050

5151
The first thing defined in `app.go` is the `type` of the application. It is generally comprised of the following parts:
5252

53-
* **Embeding [runtime.App](../../build/building-apps/00-runtime.md)** The runtime package manages the application's core components and modules through dependency injection. It provides declarative configuration for module management, state storage, and ABCI handling.
53+
* **Embedding [runtime.App](../../build/building-apps/00-runtime.md)** The runtime package manages the application's core components and modules through dependency injection. It provides declarative configuration for module management, state storage, and ABCI handling.
5454
* `Runtime` wraps `BaseApp`, meaning when a transaction is relayed by CometBFT to the application, `app` uses `runtime`'s methods to route them to the appropriate module. `BaseApp` implements all the [ABCI methods](https://docs.cometbft.com/v0.38/spec/abci/) and the [routing logic](../advanced/00-baseapp.md#service-routers).
5555
* It automatically configures the **[module manager](../../build/building-modules/01-module-manager.md#manager)** based on the app wiring configuration. The module manager facilitates operations related to these modules, like registering their [`Msg` service](../../build/building-modules/03-msg-services.md) and [gRPC `Query` service](#grpc-query-services), or setting the order of execution between modules for various functions like [`InitChainer`](#initchainer), [`PreBlocker`](#preblocker) and [`BeginBlocker` and `EndBlocker`](#beginblocker-and-endblocker).
5656
* [**An App Wiring configuration file**](../../build/building-apps/00-runtime.md) The app wiring configuration file contains the list of application's modules that `runtime` must instantiate. The instantiation of the modules are done using `depinject`. It also contains the order in which all module's `InitGenesis` and `Pre/Begin/EndBlocker` methods should be executed.

docs/docs/user/run-node/06-run-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ tmkms softsign import $HOME/tmkms/config/secrets/priv_validator_key.json $HOME/t
196196

197197
At this point, it is necessary to delete the `priv_validator_key.json` from the validator node and the tmkms node. Since the key has been imported into tmkms (above) it is no longer necessary on the nodes. The key can be safely stored offline.
198198

199-
4. Modifiy the `tmkms.toml`.
199+
4. Modify the `tmkms.toml`.
200200

201201
```bash
202202
vim $HOME/tmkms/config/tmkms.toml

0 commit comments

Comments
 (0)