pub fn process_l1_batch(
        &mut self,
        storage_logs: &[TreeInstruction],
    ) -> anyhow::Result<TreeMetadata> {
        match self.mode {
            TreeMode::Full => self.process_l1_batch_full(storage_logs),
            TreeMode::Lightweight => self.process_l1_batch_lightweight(storage_logs),
        }
    }
Processes an iterator of storage logs comprising a single L1 batch.

# Errors

Proxies database I/O errors.
core/lib/merkle_tree/src/domain.rs