Skip to content

fix(engine): deserialize PayloadAttributes.slot_number as hex string#3619

Merged
mattsse merged 1 commit intobal-devnet2from
fix/slot-number-hex-serde
Jan 30, 2026
Merged

fix(engine): deserialize PayloadAttributes.slot_number as hex string#3619
mattsse merged 1 commit intobal-devnet2from
fix/slot-number-hex-serde

Conversation

@jenpaff
Copy link
Contributor

@jenpaff jenpaff commented Jan 29, 2026

align with spec update ethereum/execution-apis#731

The execution-apis spec defines slotNumber as uint64 (hex-encoded string),
but PayloadAttributes was missing the serde quantity attribute.

This caused engine_forkchoiceUpdatedV4 to fail with:
  'invalid type: string "0x0", expected u64'

See: ethereum/execution-apis#731
Amp-Thread-ID: https://ampcode.com/threads/T-019c0b50-5b65-759b-b375-7a23102f5675
Co-authored-by: Amp <[email protected]>
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

oops

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Jan 30, 2026
@mattsse mattsse merged commit 5d14571 into bal-devnet2 Jan 30, 2026
30 checks passed
@mattsse mattsse deleted the fix/slot-number-hex-serde branch January 30, 2026 04:01
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants