mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-03-04 04:00:30 +00:00
Remove prepare_payload
leftover
This commit is contained in:
parent
d5be6b5d68
commit
34335e0334
7
setup.py
7
setup.py
@ -533,13 +533,6 @@ class NoopExecutionEngine(ExecutionEngine):
|
||||
payload_attributes: Optional[PayloadAttributes]) -> None:
|
||||
pass
|
||||
|
||||
def prepare_payload(self: ExecutionEngine,
|
||||
parent_hash: Hash32,
|
||||
timestamp: uint64,
|
||||
random: Bytes32,
|
||||
feeRecipient: ExecutionAddress) -> PayloadId:
|
||||
raise NotImplementedError("no default block production")
|
||||
|
||||
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> ExecutionPayload:
|
||||
raise NotImplementedError("no default block production")
|
||||
|
||||
|
@ -100,7 +100,7 @@ avoid requiring simple serialize hashing capabilities in the Execution Layer.
|
||||
|
||||
### `ExecutionEngine`
|
||||
|
||||
*Note*: `prepare_payload` and `get_payload` functions are added to the `ExecutionEngine` protocol for use as a validator.
|
||||
*Note*: `get_payload` function is added to the `ExecutionEngine` protocol for use as a validator.
|
||||
|
||||
The body of each of these functions is implementation dependent.
|
||||
The Engine API may be used to implement them with an external execution engine.
|
||||
|
Loading…
x
Reference in New Issue
Block a user