We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea43b6 commit 6d269ddCopy full SHA for 6d269dd
1 file changed
beacon_node/execution_layer/src/engines.rs
@@ -150,6 +150,16 @@ impl<T: EngineApi> Engines<T> {
150
let latest_forkchoice_state = self.get_latest_forkchoice_state().await;
151
152
if let Some(forkchoice_state) = latest_forkchoice_state {
153
+ if forkchoice_state.head_block_hash == ExecutionBlockHash::zero() {
154
+ debug!(
155
+ self.log,
156
+ "No need to call forkchoiceUpdated";
157
+ "msg" => "head does not have execution enabled",
158
+ "id" => &engine.id,
159
+ );
160
+ return;
161
+ }
162
+
163
info!(
164
self.log,
165
"Issuing forkchoiceUpdated";
0 commit comments