Skip to content

Commit 5568a39

Browse files
committed
fix some capella and bellatrix tests
1 parent 1c9975b commit 5568a39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/core/pyspec/eth2spec/test/capella/block_processing/test_process_withdrawals.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ def run_withdrawals_processing(spec, state, execution_payload, num_expected_with
7575
yield 'execution_payload', execution_payload
7676

7777
if not valid:
78-
if is_post_eip7732:
78+
if is_post_eip7732(spec):
7979
expect_assertion_error(lambda: spec.process_withdrawals(state))
8080
else:
8181
expect_assertion_error(lambda: spec.process_withdrawals(state, execution_payload))
8282
yield 'post', None
8383
return
8484

85-
if is_post_eip7732:
85+
if is_post_eip7732(spec):
8686
spec.process_withdrawals(state)
8787
else:
8888
spec.process_withdrawals(state, execution_payload)

tests/core/pyspec/eth2spec/test/helpers/execution_payload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def build_randomized_execution_payload(spec, state, rng):
336336

337337
def build_state_with_incomplete_transition(spec, state):
338338
header = spec.ExecutionPayloadHeader()
339-
if is_post_eip7732:
339+
if is_post_eip7732(spec):
340340
kzgs = spec.List[spec.KZGCommitment, spec.MAX_BLOB_COMMITMENTS_PER_BLOCK]()
341341
header.blob_kzg_commitments_root = kzgs.hash_tree_root()
342342

0 commit comments

Comments
 (0)