Skip to content

Commit 00e8a76

Browse files
committed
Comment filter & turn on proofChain for ecdsa-rdfc-2019.
1 parent b6d7eda commit 00e8a76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/15-rdfc-di-verify.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ for(const vcVersion of vectors.vcTypes) {
1919
const key = await getMultiKey({keyType: 'P-256'});
2020
const {document} = credentials.verify[vcVersion];
2121
const {match} = endpoints.filter({
22+
// create a filter for endpoints by vc version
2223
filter: filterVerifiers.bind({
2324
vc: {
2425
version: vcVersion,
26+
// this will be the default supported version
27+
// if an endpoint does not explictly declare
28+
// which vc version is supported
2529
default: '1.1'
2630
},
2731
tags
@@ -38,6 +42,9 @@ for(const vcVersion of vectors.vcTypes) {
3842
key,
3943
testVector: document,
4044
keyType: 'P-256'
45+
},
46+
optionalTests: {
47+
proofChain: true
4148
}
4249
});
4350
}

0 commit comments

Comments
 (0)