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