diff --git a/core/lib/multivm/src/versions/era_vm/vm.rs b/core/lib/multivm/src/versions/era_vm/vm.rs index 3d04bf076372..50be1a8cc5d4 100644 --- a/core/lib/multivm/src/versions/era_vm/vm.rs +++ b/core/lib/multivm/src/versions/era_vm/vm.rs @@ -701,30 +701,6 @@ impl VmInterface for Vm { fn gas_remaining(&self) -> u32 { self.inner.execution.current_frame().unwrap().gas_left.0 } - - fn finish_batch(&mut self) -> FinishedL1Batch { - let result = self.execute(VmExecutionMode::Batch); - let execution_state = self.get_current_execution_state(); - let bootloader_memory = self.get_bootloader_memory(); - - FinishedL1Batch { - block_tip_execution_result: result, - final_execution_state: execution_state, - final_bootloader_memory: Some(bootloader_memory), - pubdata_input: Some( - self.bootloader_state - .get_pubdata_information() - .clone() - .build_pubdata(false), - ), - state_diffs: Some( - self.bootloader_state - .get_pubdata_information() - .state_diffs - .to_vec(), - ), - } - } } impl VmInterfaceHistoryEnabled for Vm {