Skip to content

DID resolution should give invalidDid on network mismatch #202

@jasny

Description

@jasny

If the indexer runs on testnet, it should give an invalidDid error in case a DID document of a mainnet address is requested. Current a notFound message is returned.

This requires #201, so it's not easy to get the networkId of the indexer currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions