diff --git a/crates/engine/tree/src/tree/mod.rs b/crates/engine/tree/src/tree/mod.rs index 485f13693f..0a094fe533 100644 --- a/crates/engine/tree/src/tree/mod.rs +++ b/crates/engine/tree/src/tree/mod.rs @@ -164,7 +164,7 @@ impl TreeState { /// Tracks the state of the engine api internals. /// -/// This type is shareable. +/// This type is not shareable. #[derive(Debug)] pub struct EngineApiTreeState { /// Tracks the state of the blockchain tree. @@ -273,20 +273,32 @@ pub enum TreeAction { MakeCanonical(B256), } +/// The engine API tree handler implementation. +/// +/// This type is responsible for processing engine API requests, maintaining the canonical state and +/// emitting events. #[derive(Debug)] pub struct EngineApiTreeHandlerImpl
{
provider: P,
executor_provider: E,
consensus: Arc