From 2cd971c7d381b210545ad892c8b509747d4323aa Mon Sep 17 00:00:00 2001 From: realbigsean Date: Thu, 1 Dec 2022 15:03:36 -0500 Subject: [PATCH] attempt to fix serde for opt hex be u256 --- beacon_node/execution_layer/src/engine_api/json_structures.rs | 2 -- 1 file changed, 2 deletions(-) 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 9b729167b..532925221 100644 --- a/beacon_node/execution_layer/src/engine_api/json_structures.rs +++ b/beacon_node/execution_layer/src/engine_api/json_structures.rs @@ -95,8 +95,6 @@ pub struct JsonExecutionPayload { #[serde(with = "eth2_serde_utils::u256_hex_be")] pub base_fee_per_gas: Uint256, #[superstruct(only(V2))] - #[serde(skip_serializing_if = "Option::is_none")] - #[serde(default)] #[serde(with = "eth2_serde_utils::u256_hex_be_opt")] pub excess_data_gas: Option, pub block_hash: ExecutionBlockHash,