Skip to content

Commit

Permalink
chore: rename property srcTxHash -> deploymentTxHash
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Feb 3, 2024
1 parent 6d2a2cc commit eca0ecd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/schemas/interchain-tokenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const interchainToken = z.object({
salt: z.string(),
chains: z.array(chains),
coinGeckoId: z.string().optional(),
srcTxHash: hash,
deploymentTxHash: hash,
});

export const version = z.object({
Expand Down
2 changes: 1 addition & 1 deletion cli/wizard/commands/list-squid-token/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function parseAsInterchainTokenConfig(
iconUrls: {
svg: `${BASE_REPO_URL}/images/tokens/${data.tokenSymbol.toLowerCase()}.svg`,
},
srcTxHash: data.deploymentMessageId?.split("-")[0] ?? "",
deploymentTxHash: data.deploymentMessageId?.split("-")[0] ?? "",
chains: [
...[
{
Expand Down
2 changes: 1 addition & 1 deletion registry/mainnet/interchain/squid.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"svg": "/images/tokens/rmrk.svg"
},
"salt": "0x",
"srcTxHash": "",
"deploymentTxHash": "",
"chains": [
{
"axelarChainId": "moonbeam",
Expand Down
4 changes: 2 additions & 2 deletions registry/schemas/interchain-tokenlist.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"name": { "type": "string" },
"originAxelarChainId": { "type": "string" },
"tokenType": { "type": "string" },
"srcTxHash": { "type": "string" },
"deploymentTxHash": { "type": "string" },
"iconUrls": { "$ref": "#/definitions/IconUrlsSchema" },
"chains": {
"type": "array",
Expand All @@ -66,7 +66,7 @@
"tokenType",
"iconUrls",
"chains",
"srcTxHash",
"deploymentTxHash",
"tokenManager",
"tokenManagerType"
],
Expand Down

0 comments on commit eca0ecd

Please sign in to comment.