From 10d32ee04c416200205a051724daafb76ae2bc50 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 14 Feb 2023 14:41:28 +1100 Subject: [PATCH] Quote Capella BeaconState fields (#3967) --- consensus/types/src/beacon_state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/consensus/types/src/beacon_state.rs b/consensus/types/src/beacon_state.rs index 0b07ce4958..e70b884275 100644 --- a/consensus/types/src/beacon_state.rs +++ b/consensus/types/src/beacon_state.rs @@ -301,8 +301,10 @@ where // Capella #[superstruct(only(Capella, Eip4844), partial_getter(copy))] + #[serde(with = "eth2_serde_utils::quoted_u64")] pub next_withdrawal_index: u64, #[superstruct(only(Capella, Eip4844), partial_getter(copy))] + #[serde(with = "eth2_serde_utils::quoted_u64")] pub next_withdrawal_validator_index: u64, // Deep history valid from Capella onwards. #[superstruct(only(Capella, Eip4844))]