From 591f7db822f892d6323fe930290608db757af661 Mon Sep 17 00:00:00 2001 From: Gianbelinche <39842759+gianbelinche@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:08:43 -0300 Subject: [PATCH] Finish merge --- .../multivm/src/versions/era_vm/bootloader_state/state.rs | 6 ++++++ core/lib/multivm/src/versions/era_vm/vm.rs | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/core/lib/multivm/src/versions/era_vm/bootloader_state/state.rs b/core/lib/multivm/src/versions/era_vm/bootloader_state/state.rs index ccdd81f57c82..04868422bf61 100644 --- a/core/lib/multivm/src/versions/era_vm/bootloader_state/state.rs +++ b/core/lib/multivm/src/versions/era_vm/bootloader_state/state.rs @@ -130,6 +130,12 @@ impl BootloaderState { memory } + pub(crate) fn get_pubdata_information(&self) -> &PubdataInput { + self.pubdata_information + .get() + .expect("Pubdata information is not set") + } + pub(crate) fn last_l2_block(&self) -> &BootloaderL2Block { self.l2_blocks.last().unwrap() } diff --git a/core/lib/multivm/src/versions/era_vm/vm.rs b/core/lib/multivm/src/versions/era_vm/vm.rs index f2ade22531f4..af4dee3053a1 100644 --- a/core/lib/multivm/src/versions/era_vm/vm.rs +++ b/core/lib/multivm/src/versions/era_vm/vm.rs @@ -567,9 +567,9 @@ impl VmInterface for Vm { fn inspect_transaction_with_bytecode_compression( &mut self, - _tracer: Self::TracerDispatcher, - _tx: zksync_types::Transaction, - _with_compression: bool, + tracer: Self::TracerDispatcher, + tx: zksync_types::Transaction, + with_compression: bool, ) -> ( Result<(), crate::interface::BytecodeCompressionError>, VmExecutionResultAndLogs,