From 2c72bb8fc6ca6cf4eec1c60e258cb0d1da2bd958 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 4 Jun 2024 14:29:12 +1000 Subject: [PATCH] Fix getClientVersionV1 for Geth 1.13 (#5884) * Fix getClientVersionV1 for Geth 1.13 --- beacon_node/execution_layer/src/engine_api/json_structures.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/beacon_node/execution_layer/src/engine_api/json_structures.rs b/beacon_node/execution_layer/src/engine_api/json_structures.rs index 50d3519e129..306972ada22 100644 --- a/beacon_node/execution_layer/src/engine_api/json_structures.rs +++ b/beacon_node/execution_layer/src/engine_api/json_structures.rs @@ -755,6 +755,9 @@ pub mod serde_logs_bloom { #[serde(rename_all = "camelCase")] pub struct JsonClientVersionV1 { pub code: String, + // This `default` is required until Geth v1.13.x is no longer supported on mainnet. + // See: https://github.com/ethereum/go-ethereum/pull/29351 + #[serde(default)] pub name: String, pub version: String, pub commit: String,