Skip to content

Commit 949d6a8

Browse files
committed
ssz-encoding: add target_gas_limit to PayloadAttributesV4
Aligns the SSZ schema with PR ethereum#796 (a22fbd4), which added targetGasLimit to PayloadAttributesV4 in the JSON spec but left this SSZ doc behind. Without it, CLs sending the alpha-8 field over SSZ get rejected by EL SSZ decoders that still use the old 6-field layout (off-by-8 withdrawals offset -> malformed SSZ body).
1 parent aca7eb6 commit 949d6a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/engine/ssz-encoding.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class PayloadAttributesV3(Container):
387387

388388
### PayloadAttributesV4
389389

390-
Introduced in [Amsterdam](./amsterdam.md#payloadattributesv4). Extends `PayloadAttributesV3` with `slot_number`.
390+
Introduced in [Amsterdam](./amsterdam.md#payloadattributesv4). Extends `PayloadAttributesV3` with `slot_number` and `target_gas_limit`.
391391

392392
```python
393393
class PayloadAttributesV4(Container):
@@ -397,6 +397,7 @@ class PayloadAttributesV4(Container):
397397
withdrawals: List[WithdrawalV1, MAX_WITHDRAWALS_PER_PAYLOAD]
398398
parent_beacon_block_root: Bytes32
399399
slot_number: uint64
400+
target_gas_limit: uint64
400401
```
401402

402403
### ForkchoiceUpdatedResponseV1

0 commit comments

Comments
 (0)