feat: --debug.skip-fcu (#7709)

This commit is contained in:
Roman Krasiuk
2024-04-18 08:26:19 +02:00
committed by GitHub
parent 9557ce05ad
commit b846f47fdf
7 changed files with 71 additions and 4 deletions

View File

@ -41,7 +41,7 @@ impl OnForkChoiceUpdated {
}
/// Creates a new instance of `OnForkChoiceUpdated` for the `SYNCING` state
pub(crate) fn syncing() -> Self {
pub fn syncing() -> Self {
let status = PayloadStatus::from_status(PayloadStatusEnum::Syncing);
Self {
forkchoice_status: ForkchoiceStatus::from_payload_status(&status.status),

View File

@ -1,7 +1,6 @@
use crate::{
engine::{
forkchoice::{ForkchoiceStateHash, ForkchoiceStateTracker},
message::OnForkChoiceUpdated,
metrics::EngineMetrics,
},
hooks::{EngineHookContext, EngineHooksController},
@ -51,7 +50,7 @@ use tokio_stream::wrappers::UnboundedReceiverStream;
use tracing::*;
mod message;
pub use message::BeaconEngineMessage;
pub use message::{BeaconEngineMessage, OnForkChoiceUpdated};
mod error;
pub use error::{