decentralized-identity / sidetree

Sidetree Specification and Reference Implementation
https://identity.foundation/sidetree/spec
Apache License 2.0
438 stars 112 forks source link

What conditions need to be covered in the test vectors for the spec? #970

Open OR13 opened 3 years ago

OR13 commented 3 years ago
  1. are files the correct size?
  2. are each of the files matching the specific schema?
  3. counts need to match expectations
isaacJChen commented 3 years ago

@sandrask @troyronda pinging you 2 since you're the main stake holder based on the previous WG discussion.

This is the part where we expect delta to be skipped if chunk files are not found https://identity.foundation/sidetree/spec/#recovery-deactivate-operation-processing

Specific language:

Using the CAS_PROTOCOL, fetch the Core Proof File and Chunk File using the associated Core Proof File URI and Chunk File URI. If the file is able to be retrieved, proceed, if the file is unable to be retrieved, skip the entry and iterate forward to the next operation.

Maybe it is worth it to mention explicitly "if the DID state ends with an unresolvable chunk file or delta, resolve to empty document."