refactor(engine): update sync state for r/w hooks (#4687)

This commit is contained in:
Alexey Shekhirin
2023-09-21 13:13:44 +01:00
committed by GitHub
parent cf5d0e2307
commit 5be8ae4b64
3 changed files with 25 additions and 27 deletions

View File

@ -1,4 +1,3 @@
use reth_interfaces::sync::SyncState;
use reth_primitives::BlockNumber;
use std::{
fmt::Debug,
@ -86,10 +85,7 @@ impl EngineHookEvent {
/// An action that the caller of [hook][`EngineHook`] should act upon.
#[derive(Debug, Copy, Clone)]
pub enum EngineHookAction {
/// Notify about a [SyncState] update.
UpdateSyncState(SyncState),
}
pub enum EngineHookAction {}
/// An error returned by [hook][`EngineHook`].
#[derive(Debug, thiserror::Error)]