mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore(execution): rename EVMProcessor factory (#5533)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user