diff --git a/crates/consensus/beacon/src/engine/mod.rs b/crates/consensus/beacon/src/engine/mod.rs index bc8cefecbc..2be262b033 100644 --- a/crates/consensus/beacon/src/engine/mod.rs +++ b/crates/consensus/beacon/src/engine/mod.rs @@ -153,7 +153,6 @@ where if pipeline_min_progress < head_block_number { self.require_pipeline_run(PipelineTarget::Head); } - PayloadStatus::from_status(PayloadStatusEnum::Valid) } Err(error) => { @@ -178,8 +177,10 @@ where } } } else { + trace!(target: "consensus::engine", "Pipeline is syncing, skipping forkchoice update"); PayloadStatus::from_status(PayloadStatusEnum::Syncing) }; + trace!(target: "consensus::engine", ?state, ?status, "Returning forkchoice status"); Ok(ForkchoiceUpdated::new(status)) } diff --git a/crates/stages/src/pipeline/mod.rs b/crates/stages/src/pipeline/mod.rs index b93a75fd46..c00c438d77 100644 --- a/crates/stages/src/pipeline/mod.rs +++ b/crates/stages/src/pipeline/mod.rs @@ -222,6 +222,8 @@ where .instrument(info_span!("execute", stage = %stage_id)) .await?; + trace!(target: "sync::pipeline", stage = %stage_id, ?next, "Completed stage"); + match next { ControlFlow::NoProgress { stage_progress } => { if let Some(progress) = stage_progress {