mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: default impl for some BlockExecutionStrategy methods (#11941)
This commit is contained in:
@ -21,7 +21,7 @@ use reth_evm::{
|
||||
ConfigureEvm,
|
||||
};
|
||||
use reth_primitives::{BlockWithSenders, Receipt};
|
||||
use reth_revm::db::{states::bundle_state::BundleRetention, BundleState, State};
|
||||
use reth_revm::db::State;
|
||||
use revm_primitives::{
|
||||
db::{Database, DatabaseCommit},
|
||||
BlockEnv, CfgEnvWithHandlerCfg, EnvWithHandlerCfg, ResultAndState, U256,
|
||||
@ -264,11 +264,6 @@ where
|
||||
self.system_caller.with_state_hook(hook);
|
||||
}
|
||||
|
||||
fn finish(&mut self) -> BundleState {
|
||||
self.state.merge_transitions(BundleRetention::Reverts);
|
||||
self.state.take_bundle()
|
||||
}
|
||||
|
||||
fn validate_block_post_execution(
|
||||
&self,
|
||||
block: &BlockWithSenders,
|
||||
|
||||
Reference in New Issue
Block a user