web5-js
web5-js copied to clipboard
Use the updated `select_credentials` test vector
Currently, consuming select_credentials.json
test vectors in this repo results in failure for the test vectors with these descriptions:
-
select credentials for presentation, multiple input descriptors, not all of them are satisfied
-
select credentials for presentation, using array filter
We should consider these two things:
- Is the test vector asserting the correct output?
- If answer to 1 is yes, is the
selectCredentials()
implementation making incorrect assumptions? - Overall, are we interpreting the PEX spec correctly?
The possible outcomes of this issue is that we address the failures by either changing the implementation or changing the test vector.