mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore(deps): bump alloy-evm (#16385)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@ use crate::evm::CustomEvmConfig;
|
||||
use alloy_evm::{
|
||||
block::{
|
||||
BlockExecutionError, BlockExecutionResult, BlockExecutor, BlockExecutorFactory,
|
||||
BlockExecutorFor, ExecutableTx, OnStateHook,
|
||||
BlockExecutorFor, CommitChanges, ExecutableTx, OnStateHook,
|
||||
},
|
||||
precompiles::PrecompilesMap,
|
||||
Database, Evm,
|
||||
@@ -38,12 +38,12 @@ where
|
||||
self.inner.apply_pre_execution_changes()
|
||||
}
|
||||
|
||||
fn execute_transaction_with_result_closure(
|
||||
fn execute_transaction_with_commit_condition(
|
||||
&mut self,
|
||||
tx: impl ExecutableTx<Self>,
|
||||
f: impl FnOnce(&ExecutionResult<<Self::Evm as Evm>::HaltReason>),
|
||||
) -> Result<u64, BlockExecutionError> {
|
||||
self.inner.execute_transaction_with_result_closure(tx, f)
|
||||
f: impl FnOnce(&ExecutionResult<<Self::Evm as Evm>::HaltReason>) -> CommitChanges,
|
||||
) -> Result<Option<u64>, BlockExecutionError> {
|
||||
self.inner.execute_transaction_with_commit_condition(tx, f)
|
||||
}
|
||||
|
||||
fn finish(self) -> Result<(Self::Evm, BlockExecutionResult<OpReceipt>), BlockExecutionError> {
|
||||
|
||||
Reference in New Issue
Block a user