diff --git a/cli/schemas/interchain-tokenlist.ts b/cli/schemas/interchain-tokenlist.ts index cd88705..8f8a44b 100644 --- a/cli/schemas/interchain-tokenlist.ts +++ b/cli/schemas/interchain-tokenlist.ts @@ -26,7 +26,7 @@ export const interchainToken = z.object({ deploySalt: z.string(), chains: z.array(chains), coinGeckoId: z.string().optional(), - deploymentTxHash: hash, + deploymentMessageId: z.string(), }); export const version = z.object({ diff --git a/cli/wizard/commands/list-squid-token/index.ts b/cli/wizard/commands/list-squid-token/index.ts index b4bf88b..be9d4fc 100644 --- a/cli/wizard/commands/list-squid-token/index.ts +++ b/cli/wizard/commands/list-squid-token/index.ts @@ -148,7 +148,7 @@ export type RemoteInterchainTokenApiResponse = { tokenManagerAddress: string; tokenManagerType: string; deploymentStatus: string; - deploymentTxHash: string; + deploymentMessageId: string; }; export type InterchainTokenDetailsApiResponse = { @@ -183,7 +183,7 @@ function parseAsInterchainTokenConfig( iconUrls: { svg: `${BASE_REPO_URL}/images/tokens/${data.tokenSymbol.toLowerCase()}.svg`, }, - deploymentTxHash: data.deploymentMessageId?.split("-")[0] ?? "", + deploymentMessageId: data.deploymentMessageId ?? "", chains: [ ...[ { diff --git a/registry/mainnet/interchain/squid.tokenlist.json b/registry/mainnet/interchain/squid.tokenlist.json index a2c1e18..4d9ad81 100644 --- a/registry/mainnet/interchain/squid.tokenlist.json +++ b/registry/mainnet/interchain/squid.tokenlist.json @@ -19,7 +19,7 @@ "deployer": "0x0000000000000000000000000000000000000000", "originalMinter": "0x0000000000000000000000000000000000000000", "deploySalt": "0x", - "deploymentTxHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "deploymentMessageId": "0x0000000000000000000000000000000000000000000000000000000000000000-0", "chains": [ { "axelarChainId": "moonbeam", diff --git a/registry/schemas/interchain-tokenlist.schema.json b/registry/schemas/interchain-tokenlist.schema.json index 99927b9..b6323e1 100644 --- a/registry/schemas/interchain-tokenlist.schema.json +++ b/registry/schemas/interchain-tokenlist.schema.json @@ -65,9 +65,7 @@ "items": { "$ref": "#/definitions/chains" } }, "coinGeckoId": { "type": "string" }, - "deploymentTxHash": { - "$ref": "#/definitions/interchainToken/properties/tokenId" - } + "deploymentMessageId": { "type": "string" } }, "required": [ "tokenId", @@ -80,7 +78,7 @@ "iconUrls", "deploySalt", "chains", - "deploymentTxHash" + "deploymentMessageId" ], "additionalProperties": false },