Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/engine/amsterdam.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,15 @@ This structure has the syntax of [`ExecutionPayloadBodyV1`](./shanghai.md#execut

### PayloadAttributesV4

This structure has the syntax of [`PayloadAttributesV3`](./cancun.md#payloadattributesv3) and appends a single field: `slotNumber`.
This structure has the syntax of [`PayloadAttributesV3`](./cancun.md#payloadattributesv3) and appends two new fields: `slotNumber` and `targetGasLimit`.

- `timestamp`: `QUANTITY`, 64 Bits - value for the `timestamp` field of the new payload
- `prevRandao`: `DATA`, 32 Bytes - value for the `prevRandao` field of the new payload
- `suggestedFeeRecipient`: `DATA`, 20 Bytes - suggested value for the `feeRecipient` field of the new payload
- `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure.
- `parentBeaconBlockRoot`: `DATA`, 32 Bytes - Root of the parent beacon block.
- `slotNumber`: `QUANTITY`, 64 Bits - value for the `slotNumber` field of the new payload
- `targetGasLimit`: `QUANTITY`, 64 Bits - target value for the `gasLimit` field of the new payload

### BlobCellsAndProofsV1

Expand Down Expand Up @@ -234,6 +235,8 @@ This method follows the same specification as [`engine_forkchoiceUpdatedV3`](./c

4. If any of the above checks fails, the `forkchoiceState` update **MUST NOT** be rolled back.

2. Client software **MUST** use the target gas limit supplied in `payloadAttributes.targetGasLimit` when constructing a payload.

3. If `custodyColumns` is provided (non-null), the following rules apply:

1. `custodyColumns` **MUST** be a 16-byte `DATA` value. If it is not, the client software **MUST** return `-32602: Invalid params`.
Expand Down
6 changes: 5 additions & 1 deletion src/engine/openrpc/schemas/forkchoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ PayloadAttributesV4:
- withdrawals
- parentBeaconBlockRoot
- slotNumber
- targetGasLimit
properties:
timestamp:
$ref: '#/components/schemas/PayloadAttributesV3/properties/timestamp'
Expand All @@ -108,4 +109,7 @@ PayloadAttributesV4:
$ref: '#/components/schemas/PayloadAttributesV3/properties/parentBeaconBlockRoot'
slotNumber:
title: Slot number
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint64'
targetGasLimit:
title: Target gas limit
$ref: '#/components/schemas/uint64'
Loading