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 <michael@sigmaprime.io>
This commit is contained in:
Michael Sproul
2025-10-08 11:05:41 +11:00
committed by GitHub
parent a4ad3e492f
commit b5c2a9668e

View File

@@ -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<u64, E::ProposerLookaheadSlots>,
// Gloas