mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: EvmEnvConfig trait (#6051)
This commit is contained in:
@ -21,6 +21,7 @@ reth-provider.workspace = true
|
||||
reth-stages.workspace = true
|
||||
reth-interfaces.workspace = true
|
||||
reth-revm.workspace = true
|
||||
reth-node-builder.workspace = true
|
||||
|
||||
alloy-rlp.workspace = true
|
||||
tokio = "1.28.1"
|
||||
|
||||
@ -6,6 +6,7 @@ use crate::{
|
||||
};
|
||||
use alloy_rlp::Decodable;
|
||||
use reth_db::test_utils::create_test_rw_db;
|
||||
use reth_node_builder::EthEvmConfig;
|
||||
use reth_primitives::{BlockBody, SealedBlock};
|
||||
use reth_provider::{BlockWriter, HashingWriter, ProviderFactory};
|
||||
use reth_stages::{stages::ExecutionStage, ExecInput, Stage};
|
||||
@ -108,6 +109,7 @@ impl Case for BlockchainTestCase {
|
||||
// network.
|
||||
let _ = ExecutionStage::new_with_factory(reth_revm::EvmProcessorFactory::new(
|
||||
Arc::new(case.network.clone().into()),
|
||||
EthEvmConfig::default(),
|
||||
))
|
||||
.execute(
|
||||
&provider,
|
||||
|
||||
Reference in New Issue
Block a user