Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: mainnet reported when sepolia is connected #40

Open
jac18281828 opened this issue Feb 1, 2024 · 0 comments
Open

Bug: mainnet reported when sepolia is connected #40

jac18281828 opened this issue Feb 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jac18281828
Copy link
Contributor

jac18281828 commented Feb 1, 2024

Describe the bug

mainnet reported on sepolia

$ curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method":"did_resolveDid", "params":{ "publicKey":"0x12345679abcdef" }}' http:///localhost:8080

{
  "jsonrpc": "2.0",
  "result": {
    "didDocumentMetadata": {
      "deactivated": false,
      "versionId": 4918526,
      "updated": "2023-12-19T17:54:12Z"
    },
    "didResolutionMetadata": {
      "contentType": "application/did+ld+json"
    },
    "didDocument": {
      "@context": [
        "https://www.w3.org/ns/did/v1",
        "https://w3id.org/security/suites/ed25519-2020/v2"
      ],
      "id": "did:ethr:mainnet:0x12345679abcdef",
      "verificationMethod": [
        {
          "id": "did:ethr:mainnet:0x12345679abcdef#controller",
          "controller": "did:ethr:mainnet:0x12345679abcdef",
          "type": "EcdsaSecp256k1VerificationKey2019",
          "blockchainAccountId": "0x12345679abcdef"
        }
      ]
    }
  },
  "id": 1
}

Expected behavior

RPC connection should be used for default network information or network should not be defaulted when it is not known.

Steps to reproduce the bug

No response

@jac18281828 jac18281828 added the bug Something isn't working label Feb 1, 2024
@37ng 37ng self-assigned this Feb 4, 2024
@37ng 37ng moved this to Todo in D14N Work Feb 4, 2024
@37ng 37ng moved this from Todo to In Progress in D14N Work Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants