Merge branch 'capella' of https://github.com/sigp/lighthouse into eip4844

This commit is contained in:
sean
2022-12-28 18:29:45 +00:00
4 changed files with 19 additions and 15 deletions

View File

@@ -889,11 +889,11 @@ impl HttpJsonRpc {
pub async fn supported_apis_v1(&self) -> Result<SupportedApis, Error> {
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,
})
}