diff --git a/crates/blockifier/src/execution/syscalls/hint_processor.rs b/crates/blockifier/src/execution/syscalls/hint_processor.rs index a496f92ee3..4ca0d131e7 100644 --- a/crates/blockifier/src/execution/syscalls/hint_processor.rs +++ b/crates/blockifier/src/execution/syscalls/hint_processor.rs @@ -56,7 +56,6 @@ use crate::execution::syscalls::{ get_execution_info, keccak, library_call, - library_call_l1_handler, replace_class, send_message_to_l1, sha_256_process_block, @@ -358,11 +357,6 @@ impl<'a> SyscallHintProcessor<'a> { library_call, self.context.gas_costs().library_call_gas_cost, ), - SyscallSelector::LibraryCallL1Handler => self.execute_syscall( - vm, - library_call_l1_handler, - self.context.gas_costs().library_call_gas_cost, - ), SyscallSelector::ReplaceClass => self.execute_syscall( vm, replace_class, diff --git a/crates/blockifier/src/execution/syscalls/mod.rs b/crates/blockifier/src/execution/syscalls/mod.rs index 7e253f247b..da6df5f2e4 100644 --- a/crates/blockifier/src/execution/syscalls/mod.rs +++ b/crates/blockifier/src/execution/syscalls/mod.rs @@ -491,28 +491,6 @@ pub fn library_call( Ok(LibraryCallResponse { segment: retdata_segment }) } -// LibraryCallL1Handler syscall. - -pub fn library_call_l1_handler( - request: LibraryCallRequest, - vm: &mut VirtualMachine, - syscall_handler: &mut SyscallHintProcessor<'_>, - remaining_gas: &mut u64, -) -> SyscallResult { - let call_to_external = false; - let retdata_segment = execute_library_call( - syscall_handler, - vm, - request.class_hash, - call_to_external, - request.function_selector, - request.calldata, - remaining_gas, - )?; - - Ok(LibraryCallResponse { segment: retdata_segment }) -} - // ReplaceClass syscall. #[derive(Debug, Eq, PartialEq)]