You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
Describe the bug
When doing resolution for a long form ION DID, the network is never checked to see if the DID has been published. This results in did document within the resolution results that's incorrect according to 15.1.2 of https://identity.foundation/sidetree/spec/#resolution.
To Reproduce
Create a DID ION outside of ssi-service. Take note of the LongFormDID.
Update the DID ION outside of ssi-service.
Wait for 20 minutes.
Let longFormResolution be the result of GET localhost:3000/v1/dids/resolver/did:ion:<xxx>:<yyy>.
Let shortFormResolution be the result of GET localhost:3000/v1/dids/resolver/did:ion:<xxx>.
Note that shortFormResolution !== longFormResolution.
Expected behavior
Both forms of resolution should be equal.
Supporting Material
If record of the DID being published has been observed, proceed to Step 3. If there is no observed record of the DID being published, skip all remaining Operation Compilation steps and process the DID as follows:
Describe the bug
When doing resolution for a long form ION DID, the network is never checked to see if the DID has been published. This results in did document within the resolution results that's incorrect according to 15.1.2 of https://identity.foundation/sidetree/spec/#resolution.
To Reproduce
longFormResolutionbe the result ofGET localhost:3000/v1/dids/resolver/did:ion:<xxx>:<yyy>.shortFormResolutionbe the result ofGET localhost:3000/v1/dids/resolver/did:ion:<xxx>.shortFormResolution !== longFormResolution.Expected behavior
Both forms of resolution should be equal.
Supporting Material
From https://identity.foundation/sidetree/spec/#resolution