mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor(engine): update sync state for r/w hooks (#4687)
This commit is contained in:
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user