From 77b8265ea97548adbb4a01232c8ee71f2360f72c Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 17 Oct 2023 05:34:21 +0800 Subject: [PATCH] docs: fix typos (#3695) Co-authored-by: Danilo Pantani --- docs/docs/02-guide/07-interchange/03-walkthrough.md | 2 +- docs/docs/02-guide/08-debug.md | 2 +- docs/versioned_docs/version-v0.25.2/guide/02-hello.md | 4 ++-- .../version-v0.25.2/guide/04-nameservice/00-tutorial.md | 2 +- .../version-v0.25.2/guide/04-nameservice/05-play.md | 2 +- .../version-v0.25.2/guide/05-scavenge/07-keeper.md | 2 +- .../version-v0.25.2/guide/08-interchange/02-init.md | 2 +- .../version-v0.25.2/guide/08-interchange/03-walkthrough.md | 2 +- .../guide/08-interchange/04-creating-order-books.md | 2 +- .../version-v0.26.1/02-guide/03-hello/00-express.md | 2 +- .../version-v0.26.1/02-guide/07-interchange/03-walkthrough.md | 2 +- docs/versioned_docs/version-v0.26.1/02-guide/08-debug.md | 2 +- .../version-v0.27.1/02-guide/07-interchange/03-walkthrough.md | 2 +- docs/versioned_docs/version-v0.27.1/02-guide/08-debug.md | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/docs/02-guide/07-interchange/03-walkthrough.md b/docs/docs/02-guide/07-interchange/03-walkthrough.md index 131dbba605..c6c1caa8d2 100644 --- a/docs/docs/02-guide/07-interchange/03-walkthrough.md +++ b/docs/docs/02-guide/07-interchange/03-walkthrough.md @@ -435,7 +435,7 @@ buyOrderBook: interchanged q bank balances $(interchanged keys show -a alice --home ~/.mars) ``` -The author of the sell order successfuly exchanged 5 marscoin and received 25 +The author of the sell order successfully exchanged 5 marscoin and received 25 venuscoin vouchers. The other 5marscoin created a sell order: ```yml diff --git a/docs/docs/02-guide/08-debug.md b/docs/docs/02-guide/08-debug.md index e1b578a9fe..ee73027510 100644 --- a/docs/docs/02-guide/08-debug.md +++ b/docs/docs/02-guide/08-debug.md @@ -24,7 +24,7 @@ To start a debugging session in the terminal run: ignite chain debug ``` -The command runs your blockchan app in the background, attaches to it and +The command runs your blockchain app in the background, attaches to it and launches a terminal debugger shell: ``` diff --git a/docs/versioned_docs/version-v0.25.2/guide/02-hello.md b/docs/versioned_docs/version-v0.25.2/guide/02-hello.md index 3766995671..dc12f58a28 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/02-hello.md +++ b/docs/versioned_docs/version-v0.25.2/guide/02-hello.md @@ -143,7 +143,7 @@ create x/hello/keeper/grpc_query_hello.go Let's examine some of these changes. For clarity, the following code blocks do not show the placeholder comments that Ignite CLI uses to scaffold code. Don't delete these placeholders since they are required to continue using Ignite CLI's scaffolding functionality. -Note: it's recommended to commit changes to a version control system (for example, Git) after scaffolding. This allows others to easily distinguish between code generated by Ignite and the code writen by hand. +Note: it's recommended to commit changes to a version control system (for example, Git) after scaffolding. This allows others to easily distinguish between code generated by Ignite and the code written by hand. ``` git add . @@ -169,7 +169,7 @@ Here's how the `Hello` rpc for the `Query` service works: - Returns response of type `QueryHelloResponse` - The `option` defines the endpoint that is used by gRPC to generate an HTTP API -### Request and reponse types +### Request and response types Now, take a look at the following request and response types: diff --git a/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/00-tutorial.md b/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/00-tutorial.md index 9898d973bb..2f3131c7c2 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/00-tutorial.md +++ b/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/00-tutorial.md @@ -8,7 +8,7 @@ slug: /guide/nameservice The nameservice tutorial provides step-by-step instructions to build a blockchain app for a nameservice. The goal of the nameservice app is to send tokens between participants so that end users can buy names and set a value to the names. -This tutorial builds on knowlege and skills developed in the earlier tutorials in the Ignite CLI Developer Tutorials. Before you start this building your nameservice app, we recommend that you complete these foundational tutorials: +This tutorial builds on knowledge and skills developed in the earlier tutorials in the Ignite CLI Developer Tutorials. Before you start this building your nameservice app, we recommend that you complete these foundational tutorials: - [Install Ignite CLI](../01-install.md) - [Hello, World](../02-hello.md) diff --git a/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/05-play.md b/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/05-play.md index 6bc2935fa5..b9b074ce12 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/05-play.md +++ b/docs/versioned_docs/version-v0.25.2/guide/04-nameservice/05-play.md @@ -104,7 +104,7 @@ After the transaction is broadcast and included in a block, the blockchain retur ## Query the Chain for a List of Names -Query the chain for a list of name and correponding values. Query commands don't need the `--from` flag, because they don't broadcast transactions and make only free requests. +Query the chain for a list of name and corresponding values. Query commands don't need the `--from` flag, because they don't broadcast transactions and make only free requests. ```bash nameserviced q nameservice list-whois diff --git a/docs/versioned_docs/version-v0.25.2/guide/05-scavenge/07-keeper.md b/docs/versioned_docs/version-v0.25.2/guide/05-scavenge/07-keeper.md index b76b914408..45a7b1970f 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/05-scavenge/07-keeper.md +++ b/docs/versioned_docs/version-v0.25.2/guide/05-scavenge/07-keeper.md @@ -238,7 +238,7 @@ func (k msgServer) RevealSolution(goCtx context.Context, msg *types.MsgRevealSol return nil, sdkError } - // save the udpated scavenge to the store + // save the updated scavenge to the store k.SetScavenge(ctx, scavenge) return &types.MsgRevealSolutionResponse{}, nil } diff --git a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/02-init.md b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/02-init.md index 509d9002fc..4cc23cfb94 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/02-init.md +++ b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/02-init.md @@ -94,7 +94,7 @@ Use the optional `--desc` flag to define a description of the CLI command that i The token denoms must have the same behavior as described in the `ibc-transfer` module: -- An external token received from a chain has a unique `denom`, reffered to as `voucher`. +- An external token received from a chain has a unique `denom`, referred to as `voucher`. - When a token is sent to a blockchain and then sent back and received, the chain can resolve the voucher and convert it back to the original token denomination. `Voucher` tokens are represented as hashes, therefore you must store which original denomination is related to a voucher. You can do this with an indexed type. diff --git a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/03-walkthrough.md b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/03-walkthrough.md index 0cef375003..7345907063 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/03-walkthrough.md +++ b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/03-walkthrough.md @@ -248,7 +248,7 @@ BuyOrderBook: priceDenom: venuscoin ``` -The author of the sell order successfuly exchanged 5 marscoin and received 25 venuscoin vouchers. The other 5marscoin created a sell order: +The author of the sell order successfully exchanged 5 marscoin and received 25 venuscoin vouchers. The other 5marscoin created a sell order: ```yaml # Source blockchain diff --git a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/04-creating-order-books.md b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/04-creating-order-books.md index 5937400c84..97ae66e414 100644 --- a/docs/versioned_docs/version-v0.25.2/guide/08-interchange/04-creating-order-books.md +++ b/docs/versioned_docs/version-v0.25.2/guide/08-interchange/04-creating-order-books.md @@ -248,7 +248,7 @@ func (k Keeper) OnRecvCreatePairPacket(ctx sdk.Context, packet channeltypes.Pack ## Receive an IBC Acknowledgement -When an IBC acknowledgement is recieved on the source chain, the module must check whether a book already exists. If not, create a sell order book for the specified denoms. +When an IBC acknowledgement is received on the source chain, the module must check whether a book already exists. If not, create a sell order book for the specified denoms. Create a new file `x/dex/types/sell_order_book.go`. Insert the `NewSellOrderBook` function which creates a new sell order book. diff --git a/docs/versioned_docs/version-v0.26.1/02-guide/03-hello/00-express.md b/docs/versioned_docs/version-v0.26.1/02-guide/03-hello/00-express.md index 09dd19a781..48b18ead69 100644 --- a/docs/versioned_docs/version-v0.26.1/02-guide/03-hello/00-express.md +++ b/docs/versioned_docs/version-v0.26.1/02-guide/03-hello/00-express.md @@ -40,7 +40,7 @@ The `ignite scaffold query` command is a tool used to quickly create new queries. When you run this command, it makes changes to your source code to add the new query and make it available in your API. This command accepts a query name (`"say-hello"`) and a list of request fields (in our case only `name`). The -optional `--reponse` flag specifies the return values of the query. +optional `--response` flag specifies the return values of the query. This command made the following changes to the source code. diff --git a/docs/versioned_docs/version-v0.26.1/02-guide/07-interchange/03-walkthrough.md b/docs/versioned_docs/version-v0.26.1/02-guide/07-interchange/03-walkthrough.md index 131dbba605..c6c1caa8d2 100644 --- a/docs/versioned_docs/version-v0.26.1/02-guide/07-interchange/03-walkthrough.md +++ b/docs/versioned_docs/version-v0.26.1/02-guide/07-interchange/03-walkthrough.md @@ -435,7 +435,7 @@ buyOrderBook: interchanged q bank balances $(interchanged keys show -a alice --home ~/.mars) ``` -The author of the sell order successfuly exchanged 5 marscoin and received 25 +The author of the sell order successfully exchanged 5 marscoin and received 25 venuscoin vouchers. The other 5marscoin created a sell order: ```yml diff --git a/docs/versioned_docs/version-v0.26.1/02-guide/08-debug.md b/docs/versioned_docs/version-v0.26.1/02-guide/08-debug.md index e1b578a9fe..ee73027510 100644 --- a/docs/versioned_docs/version-v0.26.1/02-guide/08-debug.md +++ b/docs/versioned_docs/version-v0.26.1/02-guide/08-debug.md @@ -24,7 +24,7 @@ To start a debugging session in the terminal run: ignite chain debug ``` -The command runs your blockchan app in the background, attaches to it and +The command runs your blockchain app in the background, attaches to it and launches a terminal debugger shell: ``` diff --git a/docs/versioned_docs/version-v0.27.1/02-guide/07-interchange/03-walkthrough.md b/docs/versioned_docs/version-v0.27.1/02-guide/07-interchange/03-walkthrough.md index 131dbba605..c6c1caa8d2 100644 --- a/docs/versioned_docs/version-v0.27.1/02-guide/07-interchange/03-walkthrough.md +++ b/docs/versioned_docs/version-v0.27.1/02-guide/07-interchange/03-walkthrough.md @@ -435,7 +435,7 @@ buyOrderBook: interchanged q bank balances $(interchanged keys show -a alice --home ~/.mars) ``` -The author of the sell order successfuly exchanged 5 marscoin and received 25 +The author of the sell order successfully exchanged 5 marscoin and received 25 venuscoin vouchers. The other 5marscoin created a sell order: ```yml diff --git a/docs/versioned_docs/version-v0.27.1/02-guide/08-debug.md b/docs/versioned_docs/version-v0.27.1/02-guide/08-debug.md index e1b578a9fe..ee73027510 100644 --- a/docs/versioned_docs/version-v0.27.1/02-guide/08-debug.md +++ b/docs/versioned_docs/version-v0.27.1/02-guide/08-debug.md @@ -24,7 +24,7 @@ To start a debugging session in the terminal run: ignite chain debug ``` -The command runs your blockchan app in the background, attaches to it and +The command runs your blockchain app in the background, attaches to it and launches a terminal debugger shell: ```