mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 01:25:16 -05:00
remove merge-test exec-payload trigger debug helper
This commit is contained in:
@@ -96,8 +96,6 @@ def build_empty_block(spec, state, slot=None):
|
||||
empty_block.body.sync_aggregate.sync_committee_signature = spec.G2_POINT_AT_INFINITY
|
||||
|
||||
if is_post_merge(spec):
|
||||
if not hasattr(state, 'latest_execution_payload_header'):
|
||||
raise Exception("panic!!!")
|
||||
empty_block.body.execution_payload = build_empty_execution_payload(spec, state)
|
||||
|
||||
apply_randao_reveal(spec, state, empty_block)
|
||||
|
||||
Reference in New Issue
Block a user