Skip to content

Commit

Permalink
minor typo fix in docs (bluealloy#1266)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo
  • Loading branch information
h3lio5 authored Apr 6, 2024
1 parent af56651 commit eee0541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/src/crates/revm/handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ They are called in the following order:
* `validate_env`:
Verifies if all data is set in `Environment` and if valid, for example if `gas_limit` is smaller than block `gas_limit`.
* `validate_initial_tx_gas`:
Calculates initial gas needed for the transaction to be executed and checks if it is less them the transaction gas_limit.
Calculates initial gas needed for the transaction to be executed and checks if it is less than the transaction gas_limit.
Note that this does not touch the `Database` or state.
* `validate_tx_against_state`:
Loads the caller account and checks their information.
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/crates/revm/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can implement the traits `Database`, `DatabaseRef` or `Database + DatabaseCo
- `DatabaseRef`:
Takes a reference on the object.
It is useful if you only have a reference on the state and don't want to update anything on it.
It enables `previerify_transaction`, `transact_preverified_ref`, `transact_ref` and `inspect_ref` functions.
It enables `preverify_transaction`, `transact_preverified_ref`, `transact_ref` and `inspect_ref` functions.
- `Database + DatabaseCommit`:
Allows directly committing changes of a transaction.
It enables `transact_commit` and `inspect_commit` functions.

0 comments on commit eee0541

Please sign in to comment.