From c09ef532a0164681941ef95cf393fe127a6bed60 Mon Sep 17 00:00:00 2001 From: Abhishekkochar Date: Fri, 15 Nov 2024 12:37:38 +0530 Subject: [PATCH] feat(refractor): move imports to blockchain-tree-api crate Signed-off-by: Abhishekkochar --- crates/engine/tree/src/tree/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/engine/tree/src/tree/mod.rs b/crates/engine/tree/src/tree/mod.rs index adc9230af34b..4abceafd0f1c 100644 --- a/crates/engine/tree/src/tree/mod.rs +++ b/crates/engine/tree/src/tree/mod.rs @@ -18,9 +18,10 @@ use reth_beacon_consensus::{ BeaconConsensusEngineEvent, BeaconEngineMessage, ForkchoiceStateTracker, InvalidHeaderCache, OnForkChoiceUpdated, MIN_BLOCKS_FOR_PIPELINE_RUN, }; -use reth_blockchain_tree::{ +use reth_blockchain_tree::BlockBuffer; +use reth_blockchain_tree_api::{ error::{InsertBlockErrorKindTwo, InsertBlockErrorTwo, InsertBlockFatalError}, - BlockBuffer, BlockStatus2, InsertPayloadOk2, + BlockStatus2, InsertPayloadOk2, }; use reth_chain_state::{ CanonicalInMemoryState, ExecutedBlock, MemoryOverlayStateProvider, NewCanonicalChain,