mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
remove merge-test exec-payload trigger debug helper
This commit is contained in:
parent
76b5974d11
commit
42733b7e34
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user