Commit 5d14571
fix(engine): deserialize PayloadAttributes.slot_number as hex string (#3619)
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 <amp@ampcode.com>1 parent 2ff2a80 commit 5d14571
1 file changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
2465 | | - | |
2466 | | - | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
2467 | 2476 | | |
2468 | 2477 | | |
2469 | 2478 | | |
| |||
3562 | 3571 | | |
3563 | 3572 | | |
3564 | 3573 | | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3565 | 3591 | | |
0 commit comments