remove merge-test exec-payload trigger debug helper

This commit is contained in:
protolambda 2021-05-06 02:27:05 +02:00
parent 76b5974d11
commit 42733b7e34
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 0 additions and 2 deletions

View File

@ -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)