fn inspect_transaction_with_bytecode_compression(
        &mut self,
        tracer: &mut TracerDispatcher<S, H::VmVirtualBlocksMode>,
        tx: Transaction,
        with_compression: bool,
    ) -> (BytecodeCompressionResult<'_>, VmExecutionResultAndLogs) {
        self.push_transaction_with_compression(tx, with_compression);
        let result = self.inspect_inner(tracer, VmExecutionMode::OneTx);
        if self.has_unpublished_bytecodes() {
            (
                Err(BytecodeCompressionError::BytecodeCompressionFailed),
                result,
            )
        } else {
            (
                Ok(self
                    .bootloader_state
                    .get_last_tx_compressed_bytecodes()
                    .into()),
                result,
            )
        }
    }
Inspect transaction with optional bytecode compression.
core/lib/multivm/src/versions/vm_virtual_blocks/vm.rs