Skip to content

Commit

Permalink
Fix: typos (#1602)
Browse files Browse the repository at this point in the history
* Fix: typos

Fix: typos

* Fix: typo

Fix: typo

* Fix: typos

Fix: typos
  • Loading branch information
IceCaptain0715 committed Jan 12, 2023
1 parent 7cc6523 commit 9797342
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions docs/api/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down Expand Up @@ -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.


Expand Down Expand Up @@ -415,7 +415,7 @@ AccessListTx is the data of EIP-2930 access list transactions.
<a name="ethermint.evm.v1.DynamicFeeTx"></a>

### 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 |
Expand All @@ -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 |
Expand Down Expand Up @@ -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. |



Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/architecture/adr-001-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit 9797342

Please sign in to comment.