pub fn entries(
        &self,
        version: u64,
        leaf_keys: &[Key],
    ) -> Result<Vec<TreeEntry>, NoVersionError> {
        let _profiling_guard = self.db.start_profiling(ProfiledTreeOperation::GetEntries);
        load_and_transform_entries(&self.db, version, leaf_keys, extract_entry)
    }
Reads entries with the specified keys from the tree. The entries are returned in the same order
as requested. If a certain key is not present in the tree, the corresponding returned entry
will be [empty](TreeEntry::is_empty()).

# Errors

Returns an error if the tree `version` is missing.
core/lib/merkle_tree/src/getters.rs