mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:55:01 -05:00
Merge pull request #2638 from etan-status/exec-payload-time
use correct timestamp for empty ExecutionPayload
This commit is contained in:
@@ -3,7 +3,7 @@ def build_empty_execution_payload(spec, state, randao_mix=None):
|
||||
Assuming a pre-state of the same slot, build a valid ExecutionPayload without any transactions.
|
||||
"""
|
||||
latest = state.latest_execution_payload_header
|
||||
timestamp = spec.compute_time_at_slot(state, state.slot)
|
||||
timestamp = spec.compute_timestamp_at_slot(state, state.slot)
|
||||
empty_txs = spec.List[spec.Transaction, spec.MAX_TRANSACTIONS_PER_PAYLOAD]()
|
||||
|
||||
if randao_mix is None:
|
||||
|
||||
Reference in New Issue
Block a user