From e72f51b7d7da5de8ee49f60e6cb674df0955c44e Mon Sep 17 00:00:00 2001 From: Oba Date: Mon, 25 Nov 2024 12:45:19 +0100 Subject: [PATCH] check ethereum precompiles are cached --- cairo_zero/tests/src/kakarot/test_state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cairo_zero/tests/src/kakarot/test_state.py b/cairo_zero/tests/src/kakarot/test_state.py index 9b5cce632..d7dc44456 100644 --- a/cairo_zero/tests/src/kakarot/test_state.py +++ b/cairo_zero/tests/src/kakarot/test_state.py @@ -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 @@ -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)