Skip to content

Commit

Permalink
osaka: fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Jul 1, 2024
1 parent ddd2ee2 commit 3c45599
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/osaka/eip4762_verkle_gas_witness/test_extcodehash.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,16 @@ def test_extcodehash_insufficient_gas(
blockchain_test: BlockchainTestFiller,
fork: str,
gas_limit: int,
witness_has_basic_data,
witness_has_codehash,
witness_assert_basic_data,
witness_assert_codehash,
):
"""
Test EXTCODEHASH with insufficient gas.
"""
witness = Witness()
if witness_has_basic_data:
if witness_assert_basic_data:
witness.add_account_basic_data(ExampleAddress, ExampleAccount)
if witness_has_codehash:
if witness_assert_codehash:
witness.add_account_codehash(ExampleAddress, Hash(keccak256(ExampleAccount.code)))

_extcodehash(blockchain_test, fork, ExampleAddress, witness, gas_limit, fails=True)
Expand Down

0 comments on commit 3c45599

Please sign in to comment.