From b5c2a9668edb6be72a39d136d333449934b75ac7 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 8 Oct 2025 11:05:41 +1100 Subject: [PATCH] Quote `BeaconState::proposer_lookahead` in JSON repr (#8167) Use quoted integers for `state.proposer_lookahead` when serializing JSON. This is standard for all integer fields, but was missed for the newly added proposer lookahead. I noticed this issue while inspecting the head state on a local devnet. I'm glad we found this before someone reported it :P Co-Authored-By: Michael Sproul --- consensus/types/src/beacon_state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/types/src/beacon_state.rs b/consensus/types/src/beacon_state.rs index 0a3d768c59..1bd4927fe8 100644 --- a/consensus/types/src/beacon_state.rs +++ b/consensus/types/src/beacon_state.rs @@ -592,6 +592,7 @@ where #[compare_fields(as_iter)] #[test_random(default)] #[superstruct(only(Fulu, Gloas))] + #[serde(with = "ssz_types::serde_utils::quoted_u64_fixed_vec")] pub proposer_lookahead: Vector, // Gloas