pub(crate) fn collect_nodes_from_proofs<Entry, Key, T, const ARITY: usize>(
proofs: &[(MerkleProof<Entry, Key, T, ARITY>, Vec<usize>)],
) -> QueryResult<(Vec<(Node, Option<Vec<Vec<u8>>>, Vec<u8>)>, HashSet<Vec<u8>>)>Expand description
Collects nodes and hashes from merkle proofs. Returns (nodes, hashes) for batch insertion.