Skip to content

Splice instance names not reflected in Amulet token metadata #1254

@meiersi-da

Description

@meiersi-da

Problem

The name and symbol of "Amulet" is off in this response on DevNet from /registry/metadata/v1/instruments.

{
  "instruments": [
    {
      "id": "Amulet",
      "name": "Amulet",
      "symbol": "Amulet",
      "totalSupply": null,
      "totalSupplyAsOf": null,
      "decimals": 10,
      "supportedApis": {
        "splice-api-token-metadata-v1": 1,
        "splice-api-token-allocation-v1": 1,
        "splice-api-token-transfer-instruction-v1": 1,
        "splice-api-token-holding-v1": 1,
        "splice-api-token-allocation-instruction-v1": 1
      }
    }
  ],
  "nextPageToken": null
}

Proposed fix

Read these values from
https://github.com/hyperledger-labs/splice/blob/2e555c7d61d0e60f4512fbe0261937d6c0e05322/apps/common/src/main/scala/org/lfdecentralizedtrust/splice/config/SpliceInstanceNamesConfig.scala#L6-L13
when serving them here
https://github.com/hyperledger-labs/splice/blob/2e555c7d61d0e60f4512fbe0261937d6c0e05322/apps/scan/src/main/scala/org/lfdecentralizedtrust/splice/scan/admin/http/HttpTokenStandardMetadataHandler.scala#L61-L65

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions