@@ -122,7 +122,7 @@ def test_incorrect_blob_tx_type(spec, state):
122
122
execution_payload .transactions = [opaque_tx ]
123
123
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
124
124
125
- ## Make the first block full in EIP-7732
125
+ # Make the first block full in EIP-7732
126
126
if is_post_eip7732 (spec ):
127
127
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
128
128
@@ -143,7 +143,7 @@ def test_incorrect_transaction_length_1_extra_byte(spec, state):
143
143
execution_payload .transactions = [opaque_tx ]
144
144
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
145
145
146
- ## Make the first block full in EIP-7732
146
+ # Make the first block full in EIP-7732
147
147
if is_post_eip7732 (spec ):
148
148
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
149
149
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -163,7 +163,7 @@ def test_incorrect_transaction_length_1_byte_short(spec, state):
163
163
execution_payload .transactions = [opaque_tx ]
164
164
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
165
165
166
- ## Make the first block full in EIP-7732
166
+ # Make the first block full in EIP-7732
167
167
if is_post_eip7732 (spec ):
168
168
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
169
169
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -183,7 +183,7 @@ def test_incorrect_transaction_length_empty(spec, state):
183
183
execution_payload .transactions = [opaque_tx ]
184
184
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
185
185
186
- ## Make the first block full in EIP-7732
186
+ # Make the first block full in EIP-7732
187
187
if is_post_eip7732 (spec ):
188
188
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
189
189
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -203,8 +203,7 @@ def test_incorrect_transaction_length_32_extra_bytes(spec, state):
203
203
execution_payload .transactions = [opaque_tx ]
204
204
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
205
205
206
-
207
- ## Make the first block full in EIP-7732
206
+ # Make the first block full in EIP-7732
208
207
if is_post_eip7732 (spec ):
209
208
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
210
209
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -223,7 +222,7 @@ def test_no_transactions_with_commitments(spec, state):
223
222
execution_payload .transactions = []
224
223
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
225
224
226
- ## Make the first block full in EIP-7732
225
+ # Make the first block full in EIP-7732
227
226
if is_post_eip7732 (spec ):
228
227
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
229
228
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -243,7 +242,7 @@ def test_incorrect_commitment(spec, state):
243
242
execution_payload .transactions = [opaque_tx ]
244
243
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
245
244
246
- ## Make the first block full in EIP-7732
245
+ # Make the first block full in EIP-7732
247
246
if is_post_eip7732 (spec ):
248
247
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
249
248
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -263,7 +262,7 @@ def test_incorrect_commitments_order(spec, state):
263
262
execution_payload .transactions = [opaque_tx ]
264
263
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
265
264
266
- ## Make the first block full in EIP-7732
265
+ # Make the first block full in EIP-7732
267
266
if is_post_eip7732 (spec ):
268
267
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
269
268
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -280,7 +279,7 @@ def test_incorrect_block_hash(spec, state):
280
279
execution_payload .block_hash = b'\x12 ' * 32 # incorrect block hash
281
280
282
281
# CL itself doesn't verify EL block hash
283
- ## Make the first block full in EIP-7732
282
+ # Make the first block full in EIP-7732
284
283
if is_post_eip7732 (spec ):
285
284
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
286
285
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -300,7 +299,7 @@ def test_zeroed_commitment(spec, state):
300
299
execution_payload .transactions = [opaque_tx ]
301
300
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
302
301
303
- ## Make the first block full in EIP-7732
302
+ # Make the first block full in EIP-7732
304
303
if is_post_eip7732 (spec ):
305
304
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
306
305
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments )
@@ -319,7 +318,7 @@ def test_invalid_correct_input__execution_invalid(spec, state):
319
318
execution_payload .transactions = [opaque_tx ]
320
319
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
321
320
322
- ## Make the first block full in EIP-7732
321
+ # Make the first block full in EIP-7732
323
322
if is_post_eip7732 (spec ):
324
323
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
325
324
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments ,
@@ -336,7 +335,7 @@ def test_invalid_exceed_max_blobs_per_block(spec, state):
336
335
execution_payload .transactions = [opaque_tx ]
337
336
execution_payload .block_hash = compute_el_block_hash (spec , execution_payload , state )
338
337
339
- ## Make the first block full in EIP-7732
338
+ # Make the first block full in EIP-7732
340
339
if is_post_eip7732 (spec ):
341
340
state .latest_execution_payload_header .block_hash = execution_payload .block_hash
342
341
yield from run_execution_payload_processing (spec , state , execution_payload , blob_kzg_commitments , valid = False )
0 commit comments