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
2 changes: 1 addition & 1 deletion specs/bellatrix/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ EIP-3675, before a post-transition block is finalized,
`finalized_block_hash = Hash32()`.

*Note*: Client software MUST NOT call this function until the transition
conditions are met on the PoW network, i.e. there exists a block for which
conditions are met on the PoW network, i.e. there exists a block for which the
`is_valid_terminal_pow_block` function returns `True`.

*Note*: Client software MUST call this function to initiate the payload build
Expand Down
13 changes: 7 additions & 6 deletions specs/bellatrix/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,23 @@ avoid requiring simple serialize hashing capabilities in the execution layer.

### `ExecutionEngine`

*Note*: `get_payload` function is added to the `ExecutionEngine` protocol for
use as a validator.
*Note*: The `get_payload` function is added to the `ExecutionEngine` protocol
for use as a validator.

The body of this function is implementation dependent. The Engine API may be
used to implement it with an external execution engine.

#### `get_payload`

Given the `payload_id`, `get_payload` returns `GetPayloadResponse` with the most
recent version of the execution payload that has been built since the
corresponding call to `notify_forkchoice_updated` method.
*Note*: Given the `payload_id`, the `get_payload` function returns
`GetPayloadResponse` with the most recent version of the execution payload that
has been built since the corresponding call to `notify_forkchoice_updated`
method.

```python
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> GetPayloadResponse:
"""
Return ``GetPayloadResponse`` object.
Return ExecutionPayload object.
"""
```

Expand Down
10 changes: 9 additions & 1 deletion specs/capella/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@ class GetPayloadResponse:

#### Modified `get_payload`

`get_payload` returns the upgraded Capella `ExecutionPayload` type.
*Note*: The `get_payload` function returns the updated `GetPayloadResponse`
object.

```python
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> GetPayloadResponse:
"""
Return ExecutionPayload and uint256 objects.
"""
```

## Beacon chain responsibilities

Expand Down
7 changes: 3 additions & 4 deletions specs/deneb/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,13 @@ def compute_signed_block_header(signed_block: SignedBeaconBlock) -> SignedBeacon

#### Modified `get_payload`

Given the `payload_id`, `get_payload` returns the most recent version of the
execution payload that has been built since the corresponding call to
`notify_forkchoice_updated` method.
*Note*: The `get_payload` function returns the updated `GetPayloadResponse`
object.

```python
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> GetPayloadResponse:
"""
Return ExecutionPayload, uint256, BlobsBundle objects.
Return ExecutionPayload, uint256, and BlobsBundle objects.
"""
```

Expand Down
7 changes: 3 additions & 4 deletions specs/electra/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,13 @@ class SignedAggregateAndProof(Container):

#### Modified `get_payload`

Given the `payload_id`, `get_payload` returns the most recent version of the
execution payload that has been built since the corresponding call to
`notify_forkchoice_updated` method.
*Note*: The `get_payload` function returns the updated `GetPayloadResponse`
object.

```python
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> GetPayloadResponse:
"""
Return ExecutionPayload, uint256, BlobsBundle and execution requests (as Sequence[bytes]) objects.
Return ExecutionPayload, uint256, BlobsBundle, and execution requests (as Sequence[bytes]) objects.
"""
```

Expand Down
4 changes: 2 additions & 2 deletions specs/fulu/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ class GetPayloadResponse:

#### Modified `get_payload`

The `get_payload` method is modified to return the updated `GetPayloadResponse`
*Note*: The `get_payload` function returns the updated `GetPayloadResponse`
object.

```python
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> GetPayloadResponse:
"""
Return ExecutionPayload, uint256, BlobsBundle objects.
Return ExecutionPayload, uint256, BlobsBundle, and execution requests (as Sequence[bytes]) objects.
"""
```

Expand Down
12 changes: 6 additions & 6 deletions specs/heze/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@ class GetInclusionListResponse:

### `ExecutionEngine`

*Note*: `get_inclusion_list` function is added to the `ExecutionEngine` protocol
for use as an inclusion list committee member.
*Note*: The `get_inclusion_list` function is added to the `ExecutionEngine`
protocol for use as an inclusion list committee member.

The body of this function is implementation dependent. The Engine API may be
used to implement it with an external execution engine.

#### New `get_inclusion_list`

`get_inclusion_list` returns `GetInclusionListResponse` with the most recent
inclusion list transactions that has been built based on the latest view of the
public mempool.
*Note*: `get_inclusion_list` returns `GetInclusionListResponse` with the most
recent inclusion list transactions that has been built based on the latest view
of the public mempool.

```python
def get_inclusion_list(self: ExecutionEngine) -> GetInclusionListResponse:
"""
Return ``GetInclusionListResponse`` object.
Return inclusion list transactions (as Sequence[Transaction]) object.
"""
```

Expand Down