From 8f29600e1d3ce51e8070566644bf3d3a7f52da13 Mon Sep 17 00:00:00 2001 From: Oba Date: Fri, 22 Nov 2024 11:54:05 +0100 Subject: [PATCH] remove unnecessary memcpy --- cairo_zero/kakarot/precompiles/precompiles.cairo | 1 - 1 file changed, 1 deletion(-) diff --git a/cairo_zero/kakarot/precompiles/precompiles.cairo b/cairo_zero/kakarot/precompiles/precompiles.cairo index a491e60b4..45bb8a672 100644 --- a/cairo_zero/kakarot/precompiles/precompiles.cairo +++ b/cairo_zero/kakarot/precompiles/precompiles.cairo @@ -246,7 +246,6 @@ namespace Precompiles { let (calldata: felt*) = alloc(); assert [calldata] = evm_address; assert [calldata + 1] = input_len; - memcpy(calldata + 2, input, input_len); let ( success, gas, return_data_len, return_data ) = ICairo1Helpers.library_call_exec_precompile(