Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.