Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Oct 3, 2024
1 parent ea75193 commit 7d1907e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/ethereum/evm/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ where
/// This applies the pre-execution and post-execution changes that require an [EVM](Evm), and
/// executes the transactions.
///
/// The optional `state_hook` will be executed with the state changes if present.
///
/// # Note
///
/// It does __not__ apply post-execution changes that do not require an [EVM](Evm), for that see
Expand Down Expand Up @@ -265,6 +267,8 @@ where
EnvWithHandlerCfg::new_with_cfg_env(cfg, block_env, Default::default())
}

/// Convenience method to invoke `execute_without_verification_with_state_hook` setting the
/// state hook as `None`.
fn execute_without_verification(
&mut self,
block: &BlockWithSenders,
Expand Down
4 changes: 4 additions & 0 deletions crates/optimism/evm/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ where
///
/// This applies the pre-execution changes, and executes the transactions.
///
/// The optional `state_hook` will be executed with the state changes if present.
///
/// # Note
///
/// It does __not__ apply post-execution changes.
Expand Down Expand Up @@ -282,6 +284,8 @@ where
EnvWithHandlerCfg::new_with_cfg_env(cfg, block_env, Default::default())
}

/// Convenience method to invoke `execute_without_verification_with_state_hook` setting the
/// state hook as `None`.
fn execute_without_verification(
&mut self,
block: &BlockWithSenders,
Expand Down

0 comments on commit 7d1907e

Please sign in to comment.