sidetree icon indicating copy to clipboard operation
sidetree copied to clipboard

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

Open OR13 opened this issue 3 years ago • 1 comments

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

OR13 avatar Dec 08 '20 21:12 OR13

@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."

isaacJChen avatar Dec 08 '20 22:12 isaacJChen