Add couple of cosmetic fixes
This commit is contained in:
parent
ac19aa3e2d
commit
e5c01061af
|
@ -51,7 +51,7 @@ def build_state_with_incomplete_transition(spec, state):
|
|||
|
||||
|
||||
def build_state_with_complete_transition(spec, state):
|
||||
pre_state_payload = build_empty_execution_payload(spec, state, spec.Bytes32())
|
||||
pre_state_payload = build_empty_execution_payload(spec, state)
|
||||
payload_header = get_execution_payload_header(spec, pre_state_payload)
|
||||
|
||||
return build_state_with_execution_payload_header(spec, state, payload_header)
|
||||
|
|
|
@ -32,8 +32,7 @@ def run_execution_payload_processing(spec, state, execution_payload, valid=True,
|
|||
return execution_valid
|
||||
|
||||
if not valid:
|
||||
expect_assertion_error(
|
||||
lambda: spec.process_execution_payload(state, execution_payload, TestEngine()))
|
||||
expect_assertion_error(lambda: spec.process_execution_payload(state, execution_payload, TestEngine()))
|
||||
yield 'post', None
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue