Skip to content

Commit

Permalink
remove unnecessary memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Nov 22, 2024
1 parent fb5bd82 commit 8f29600
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cairo_zero/kakarot/precompiles/precompiles.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8f29600

Please sign in to comment.