fn extract_ns_proof_v1( proof: Option<NsProof>, ns_id: NamespaceId, ) -> Result<NamespaceProofQueryData, Error>