chore(execution): rename EVMProcessor factory (#5533)

This commit is contained in:
Roman Krasiuk
2023-11-22 09:03:12 -08:00
committed by GitHub
parent 5ae4fd1c65
commit 9ecdea7eef
17 changed files with 49 additions and 45 deletions

View File

@ -30,7 +30,7 @@ use reth_provider::{
PrunableBlockExecutor,
};
use reth_prune::Pruner;
use reth_revm::Factory;
use reth_revm::EvmProcessorFactory;
use reth_rpc_types::engine::{
CancunPayloadFields, ExecutionPayload, ForkchoiceState, ForkchoiceUpdated, PayloadStatus,
};
@ -45,7 +45,7 @@ type TestBeaconConsensusEngine<Client> = BeaconConsensusEngine<
Arc<DatabaseEnv>,
ShareableBlockchainTree<
Arc<DatabaseEnv>,
EitherExecutorFactory<TestExecutorFactory, Factory>,
EitherExecutorFactory<TestExecutorFactory, EvmProcessorFactory>,
>,
>,
Arc<EitherDownloader<Client, NoopFullBlockClient>>,
@ -481,9 +481,9 @@ where
executor_factory.extend(results);
EitherExecutorFactory::Left(executor_factory)
}
TestExecutorConfig::Real => {
EitherExecutorFactory::Right(Factory::new(self.base_config.chain_spec.clone()))
}
TestExecutorConfig::Real => EitherExecutorFactory::Right(EvmProcessorFactory::new(
self.base_config.chain_spec.clone(),
)),
};
// Setup pipeline