pub fn save(&mut self) -> anyhow::Result<()> {
        let mut l1_batch_numbers = self.tree.db.patched_versions();
        l1_batch_numbers.sort_unstable();
        tracing::info!("Flushing L1 batches #{l1_batch_numbers:?} to RocksDB");
        self.tree.db.flush()
    }
Saves the accumulated changes in the tree to RocksDB.

# Errors

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