diff --git a/crates/blockifier/src/execution/native/entry_point_execution.rs b/crates/blockifier/src/execution/native/entry_point_execution.rs index 596404552f..a2fe0eaa31 100644 --- a/crates/blockifier/src/execution/native/entry_point_execution.rs +++ b/crates/blockifier/src/execution/native/entry_point_execution.rs @@ -39,12 +39,12 @@ pub fn execute_entry_point_call( fn run_native_executor( native_executor: &AotNativeExecutor, - function_id: &FunctionId, + function_id: FunctionId, call: CallEntryPoint, mut syscall_handler: NativeSyscallHandler<'_>, ) -> EntryPointExecutionResult { let execution_result = native_executor.invoke_contract_dynamic( - function_id, + &function_id, &call.calldata.0, Some(call.initial_gas.into()), &mut syscall_handler,