Merge pull request #2858 from mkalinin/justified-to-safe-block

Bellatrix: pass justified as a safe block
This commit is contained in:
Danny Ryan
2022-03-30 12:19:21 -06:00
committed by GitHub
4 changed files with 59 additions and 5 deletions

View File

@@ -143,6 +143,7 @@ def test_prepare_execution_payload(spec, state):
# Dummy arguments
finalized_block_hash = b'\x56' * 32
safe_block_hash = b'\x58' * 32
suggested_fee_recipient = b'\x78' * 20
# Mock execution_engine
@@ -158,6 +159,7 @@ def test_prepare_execution_payload(spec, state):
state=state,
pow_chain=pow_chain.to_dict(),
finalized_block_hash=finalized_block_hash,
safe_block_hash=safe_block_hash,
suggested_fee_recipient=suggested_fee_recipient,
execution_engine=TestEngine(),
)