diff --git a/tests/src/kakarot/precompiles/test_ec_recover.py b/tests/src/kakarot/precompiles/test_ec_recover.py index a4fc35fe2..f5f11a851 100644 --- a/tests/src/kakarot/precompiles/test_ec_recover.py +++ b/tests/src/kakarot/precompiles/test_ec_recover.py @@ -46,14 +46,7 @@ def test_should_return_evm_address_in_bytes32(self, cairo_run): *s, ] - padded_address, public_key = ecrecover(input_data) - - # Prepare the output of the keccak syscall - keccak_result_bytes = keccak256(public_key) - int.from_bytes( - keccak_result_bytes, - "big", - ) # output of cairo_keccak is in little endian, but our library reverses it back to big endian + padded_address, _ = ecrecover(input_data) [output] = cairo_run("test__ec_recover", input=input_data)