@@ -56,9 +56,7 @@ def test_on_execution_payload(spec, state):
5656 check_head_against_root (spec , store , block_root )
5757 head = spec .get_head (store )
5858 assert head .payload_status == spec .PAYLOAD_STATUS_EMPTY
59- test_steps .append (
60- {"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_EMPTY )}}
61- )
59+ test_steps .append ({"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_EMPTY )}})
6260
6361 # Builder reveals execution payload
6462 envelope = build_signed_execution_payload_envelope (spec , state , block_root , signed_block )
@@ -68,9 +66,7 @@ def test_on_execution_payload(spec, state):
6866 assert block_root in store .payload_states
6967 head = spec .get_head (store )
7068 assert head .payload_status == spec .PAYLOAD_STATUS_FULL
71- test_steps .append (
72- {"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_FULL )}}
73- )
69+ test_steps .append ({"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_FULL )}})
7470
7571 # On receiving a block of next slot, chain continues after payload reveal
7672 block_2 = build_empty_block_for_next_slot (spec , state )
@@ -83,8 +79,6 @@ def test_on_execution_payload(spec, state):
8379 # Head moved to block 2 with EMPTY status
8480 head = spec .get_head (store )
8581 assert head .payload_status == spec .PAYLOAD_STATUS_EMPTY
86- test_steps .append (
87- {"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_EMPTY )}}
88- )
82+ test_steps .append ({"checks" : {"head_payload_status" : int (spec .PAYLOAD_STATUS_EMPTY )}})
8983
9084 yield "steps" , test_steps
0 commit comments