Skip to content

Commit 1589a63

Browse files
committed
fix(tests): adapt e2e and unit tests to reth v2.0.0
- Migrate reth_primitives::{Header, Transaction} to alloy_consensus::Header and reth_ethereum_primitives::Transaction - Remove with_disable_proof_v2() from TreeConfig (method removed in v2.0.0)
1 parent 63c5b1f commit 1589a63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/tests/src/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ use ev_revm::{
1616
use eyre::Result;
1717
use reth_chainspec::{ChainSpec, ChainSpecBuilder};
1818
use reth_node_api::TreeConfig;
19-
use reth_primitives::{Header, Transaction};
19+
use alloy_consensus::Header;
20+
use reth_ethereum_primitives::Transaction;
2021
use reth_provider::test_utils::{ExtendedAccount, MockEthProvider};
2122
use serde_json::json;
2223
use tempfile::TempDir;
@@ -109,7 +110,6 @@ pub fn create_test_chain_spec_with_deploy_allowlist(
109110
pub fn e2e_test_tree_config() -> TreeConfig {
110111
TreeConfig::default()
111112
.with_legacy_state_root(true)
112-
.with_disable_proof_v2(true)
113113
}
114114

115115
/// Shared test fixture for evolve payload builder tests

0 commit comments

Comments
 (0)