Skip to content

Conversation

@michaelsproul
Copy link
Member

Proposed Changes

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

@michaelsproul michaelsproul added bug Something isn't working ready-for-review The code is ready for review low-hanging-fruit Easy to resolve, get it before someone else does! HTTP-API fulu Required for the upcoming Fulu hard fork v8.0.0 Q4 2025 Fusaka Mainnet Release labels Oct 7, 2025
Copy link
Member

@eserilev eserilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Oct 7, 2025
@mergify mergify bot added the queued label Oct 7, 2025
mergify bot added a commit that referenced this pull request Oct 7, 2025
@mergify mergify bot merged commit b5c2a96 into sigp:unstable Oct 8, 2025
37 checks passed
@mergify mergify bot removed the queued label Oct 8, 2025
@michaelsproul michaelsproul deleted the fix-proposer-lookahead-json branch October 8, 2025 00:26
jchavarri pushed a commit to jchavarri/lighthouse that referenced this pull request Oct 21, 2025
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fulu Required for the upcoming Fulu hard fork HTTP-API low-hanging-fruit Easy to resolve, get it before someone else does! ready-for-merge This PR is ready to merge. v8.0.0 Q4 2025 Fusaka Mainnet Release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants