From 5e148e738fbd3da2eaba7917fb8ba1cfdf256aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Haudebourg?= Date: Thu, 19 Dec 2024 15:29:45 +0100 Subject: [PATCH] Fix bbs tests. --- .../data-integrity/suites/src/suites/w3c/bbs_2023/derive.rs | 4 ++-- .../suites/src/suites/w3c/bbs_2023/signature/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/derive.rs b/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/derive.rs index 6c73071d5..eadbdfced 100644 --- a/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/derive.rs +++ b/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/derive.rs @@ -130,10 +130,10 @@ where let new_proof = Proof { context: base_proof.context.cloned(), type_: Bbs2023, - created: base_proof.created, + created: base_proof.created.cloned(), verification_method: base_proof.verification_method.cloned(), proof_purpose: base_proof.proof_purpose, - expires: base_proof.expires, + expires: base_proof.expires.cloned(), domains: base_proof.domains.to_vec(), challenge: base_proof.challenge.map(ToOwned::to_owned), nonce: base_proof.nonce.map(ToOwned::to_owned), diff --git a/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/signature/mod.rs b/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/signature/mod.rs index 681cbb272..eb25b8dc4 100644 --- a/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/signature/mod.rs +++ b/crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/signature/mod.rs @@ -185,7 +185,7 @@ _:b5 \"2023\"^^