diff --git a/beacon_node/execution_layer/src/engine_api/http.rs b/beacon_node/execution_layer/src/engine_api/http.rs index 29f66393e5..bf1da078e7 100644 --- a/beacon_node/execution_layer/src/engine_api/http.rs +++ b/beacon_node/execution_layer/src/engine_api/http.rs @@ -852,11 +852,11 @@ impl HttpJsonRpc { pub async fn supported_apis_v1(&self) -> Result { Ok(SupportedApis { new_payload_v1: true, - new_payload_v2: cfg!(not(test)), + new_payload_v2: cfg!(feature = "withdrawals-processing"), forkchoice_updated_v1: true, - forkchoice_updated_v2: cfg!(not(test)), + forkchoice_updated_v2: cfg!(feature = "withdrawals-processing"), get_payload_v1: true, - get_payload_v2: cfg!(not(test)), + get_payload_v2: cfg!(feature = "withdrawals-processing"), exchange_transition_configuration_v1: true, }) }