fn tree_nodes(&self, keys: &NodeKeys) -> Vec<Option<Node>> {
        let nodes = keys
            .iter()
            .map(|(key, is_leaf)| self.try_tree_node(key, *is_leaf));
        nodes
            .collect::<Result<_, _>>()
            .unwrap_or_else(|err| panic!("{err}"))
    }
Obtains nodes with the specified keys from the tree storage. The nodes
are returned in a `Vec` in the same order as requested.

# Panics

Panics on deserialization errors.
core/lib/merkle_tree/src/storage/database.rs