From c5c08793cca19c0a22282fd5e7d6caa06a381b94 Mon Sep 17 00:00:00 2001 From: jacobkaufmann Date: Sun, 8 Dec 2024 22:02:13 -0700 Subject: [PATCH] add getInclusionListV1 capability to electra readiness --- beacon_node/beacon_chain/src/electra_readiness.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/beacon_node/beacon_chain/src/electra_readiness.rs b/beacon_node/beacon_chain/src/electra_readiness.rs index 551d43f9fd..52468eeae4 100644 --- a/beacon_node/beacon_chain/src/electra_readiness.rs +++ b/beacon_node/beacon_chain/src/electra_readiness.rs @@ -2,7 +2,9 @@ //! transition. use crate::{BeaconChain, BeaconChainTypes}; -use execution_layer::http::{ENGINE_GET_PAYLOAD_V4, ENGINE_NEW_PAYLOAD_V4}; +use execution_layer::http::{ + ENGINE_GET_INCLUSION_LIST_V1, ENGINE_GET_PAYLOAD_V4, ENGINE_NEW_PAYLOAD_V4, +}; use serde::{Deserialize, Serialize}; use std::fmt; use std::time::Duration; @@ -98,6 +100,11 @@ impl BeaconChain { missing_methods.push_str(ENGINE_NEW_PAYLOAD_V4); all_good = false; } + if !capabilities.get_inclusion_list_v1 { + missing_methods.push(' '); + missing_methods.push_str(ENGINE_GET_INCLUSION_LIST_V1); + all_good = false; + } if all_good { ElectraReadiness::Ready