pub fn calculate_existence_root(proof: &ExistenceProof) -> Result<Vec<u8>>