Skip to content

Commit

Permalink
check ethereum precompiles are cached
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Nov 25, 2024
1 parent fe85f15 commit e72f51b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cairo_zero/tests/src/kakarot/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
TX_ACCESS_LIST_STORAGE_KEY_COST,
)

from tests.utils.constants import ALL_PRECOMPILES, TRANSACTIONS
from tests.utils.constants import ETHEREUM_PRECOMPILES, TRANSACTIONS
from tests.utils.helpers import flatten_tx_access_list, merge_access_list
from tests.utils.syscall_handler import SyscallHandler

Expand Down Expand Up @@ -90,7 +90,7 @@ def test_should_cache_precompiles(self, cairo_run):
state = cairo_run("test__cache_precompiles")
assert [
int(address, 16) for address in state["accounts"].keys()
] == ALL_PRECOMPILES
] == ETHEREUM_PRECOMPILES

@SyscallHandler.patch("IERC20.balanceOf", lambda *_: [0, 1])
@pytest.mark.parametrize("transaction", TRANSACTIONS)
Expand Down

0 comments on commit e72f51b

Please sign in to comment.