decentralized-identity / sidetree

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

Make recovery and update delta failure consistent #858

Closed csuwildcat closed 3 years ago

thehenrytsai commented 3 years ago

WG decided that recovery and update ops will diverge in behavior in case of missing delta: in update -> we pretend the operation doesn't exist, keep looking for another op with the expected reveal value in recover -> we treat the operation as success, return empty DID document and increment next update commitment