Refactor of state_change functionality (#11878)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Gerson
2024-10-19 10:01:26 -06:00
committed by GitHub
parent c803012085
commit a78de201b3
15 changed files with 28 additions and 26 deletions

View File

@ -16,6 +16,7 @@ use reth_evm::{
BatchExecutor, BlockExecutionError, BlockExecutionInput, BlockExecutionOutput,
BlockExecutorProvider, BlockValidationError, Executor, ProviderError,
},
state_change::post_block_balance_increments,
system_calls::{NoopHook, OnStateHook, SystemCaller},
ConfigureEvm,
};
@ -25,7 +26,6 @@ use reth_prune_types::PruneModes;
use reth_revm::{
batch::BlockBatchRecord,
db::{states::bundle_state::BundleRetention, State},
state_change::post_block_balance_increments,
Evm,
};
use revm_primitives::{

View File

@ -16,13 +16,13 @@ use reth_evm::{
BlockExecutionError, BlockExecutionStrategy, BlockExecutionStrategyFactory,
BlockValidationError, ProviderError,
},
state_change::post_block_balance_increments,
system_calls::{OnStateHook, SystemCaller},
ConfigureEvm, ConfigureEvmEnv,
};
use reth_primitives::{BlockWithSenders, Header, Receipt};
use reth_revm::{
db::{states::bundle_state::BundleRetention, BundleState},
state_change::post_block_balance_increments,
Database, DatabaseCommit, State,
};
use revm_primitives::{BlockEnv, CfgEnvWithHandlerCfg, EnvWithHandlerCfg, ResultAndState, U256};