Skip to content

Portability does not work? #101

@lemoustachiste

Description

@lemoustachiste

Hi,

so I tried to understand how did portability works with this library but I'm getting no satisfying results, it just seems to silently ignore the update.

@swcurran I tried taking a look at your test suite, and while I implemented the description, it seems the output of the test is not testing the expected change. If you look at both resolutionResult.json or did.jsonl, they both expect or contain example.com instead of what I understand should be example.org: https://github.com/swcurran/didwebvh-test-suite/tree/main/vectors/portable-move

The only place I found something that would appear to be a portability action is here:

https://github.com/decentralized-identity/didwebvh-ts/blob/main/src/method_versions/method.v1.0.ts#L182, but that's in resolveDidFromLog and it feels a bit strange that the resolution should do the migration instead of an update call?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions