From 06ca0523fc85fa70667226e91ed29b268ec9c6f7 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Thu, 12 Jan 2023 08:46:20 +0100 Subject: [PATCH] Fix: typos (#1602) * Fix: typos Fix: typos * Fix: typo Fix: typo * Fix: typos Fix: typos --- docs/api/proto-docs.md | 10 +++++----- docs/architecture/README.md | 2 +- docs/architecture/adr-001-state.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api/proto-docs.md b/docs/api/proto-docs.md index 6f09d71f..74a9f93d 100644 --- a/docs/api/proto-docs.md +++ b/docs/api/proto-docs.md @@ -286,7 +286,7 @@ TraceConfig holds extra parameters to trace functions. ### TransactionLogs TransactionLogs define the logs generated from a transaction execution -with a given hash. It it used for import/export data as transactions are not +with a given hash. It is used for import/export data as transactions are not persisted on blockchain state after an upgrade. @@ -340,7 +340,7 @@ TxResult stores results of Tx execution. ### GenesisAccount GenesisAccount defines an account to be initialized in the genesis state. -Its main difference between with Geth's GenesisAccount is that it uses a +Its main difference with Geth's GenesisAccount is that it uses a custom storage type and that it doesn't contain the private key field. @@ -415,7 +415,7 @@ AccessListTx is the data of EIP-2930 access list transactions. ### DynamicFeeTx -DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. +DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. | Field | Type | Label | Description | @@ -426,7 +426,7 @@ DynamicFeeTx is the data of EIP-1559 dinamic fee transactions. | `gas_fee_cap` | [string](#string) | | gas fee cap defines the max value for the gas fee | | `gas` | [uint64](#uint64) | | gas defines the gas limit defined for the transaction. | | `to` | [string](#string) | | hex formatted address of the recipient | -| `value` | [string](#string) | | value defines the the transaction amount. | +| `value` | [string](#string) | | value defines the transaction amount. | | `data` | [bytes](#bytes) | | input defines the data payload bytes of the transaction. | | `accesses` | [AccessTuple](#ethermint.evm.v1.AccessTuple) | repeated | | | `v` | [bytes](#bytes) | | v defines the signature value | @@ -717,7 +717,7 @@ RPC method. | ----- | ---- | ----- | ----------- | | `cosmos_address` | [string](#string) | | cosmos_address is the cosmos address of the account. | | `sequence` | [uint64](#uint64) | | sequence is the account's sequence number. | -| `account_number` | [uint64](#uint64) | | account_number is the account numbert | +| `account_number` | [uint64](#uint64) | | account_number is the account number. | diff --git a/docs/architecture/README.md b/docs/architecture/README.md index a4ad1404..917698cf 100644 --- a/docs/architecture/README.md +++ b/docs/architecture/README.md @@ -30,7 +30,7 @@ If recorded decisions turned out to be lacking, convene a discussion, record the Note the context/background should be written in the present tense. -Please add a entry below in your Pull Request for an ADR. +Please add an entry below in your Pull Request for an ADR. ## ADR Table of Contents diff --git a/docs/architecture/adr-001-state.md b/docs/architecture/adr-001-state.md index 8ae0901f..c2ee6e7c 100644 --- a/docs/architecture/adr-001-state.md +++ b/docs/architecture/adr-001-state.md @@ -98,7 +98,7 @@ type Keeper struct { This means that a `Keeper` pointer will now directly be passed to the `vm.EVM` for accessing the state and performing state transitions. -The ABCI `BeginBlock` and `EndBlock` are have now been refactored to only keep track of internal fields (hashes, block bloom, etc). +The ABCI `BeginBlock` and `EndBlock` have now been refactored to only keep track of internal fields (hashes, block bloom, etc). ```go func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) { @@ -131,7 +131,7 @@ func (k Keeper) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.Valid } ``` -The new `StateDB` (`Keeper`) will adopt the use of the [`TransientStore`](https://docs.cosmos.network/master/core/store.html#transient-store) that discards the existing values of the store when the block is commited. +The new `StateDB` (`Keeper`) will adopt the use of the [`TransientStore`](https://docs.cosmos.network/master/core/store.html#transient-store) that discards the existing values of the store when the block is committed. The fields that have been modified to use the `TransientStore` are: