From 09e1d5bed9b5ba46b071d19d4f602cae54ef6736 Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Tue, 21 Jan 2025 16:35:36 -0500 Subject: [PATCH] fix: remove decimals from solana deploy config to satisfy checker (#5231) ### Description ### Drive-by changes ### Related issues ### Backward compatibility ### Testing --- .../getBaseSolanaTRUMPWarpConfig.ts | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/typescript/infra/config/environments/mainnet3/warp/configGetters/getBaseSolanaTRUMPWarpConfig.ts b/typescript/infra/config/environments/mainnet3/warp/configGetters/getBaseSolanaTRUMPWarpConfig.ts index e396d78e83..46f0258c09 100644 --- a/typescript/infra/config/environments/mainnet3/warp/configGetters/getBaseSolanaTRUMPWarpConfig.ts +++ b/typescript/infra/config/environments/mainnet3/warp/configGetters/getBaseSolanaTRUMPWarpConfig.ts @@ -22,7 +22,6 @@ export const getTrumpchainTRUMPWarpConfig = async ( type: TokenType.collateral, name, symbol, - decimals: 6, totalSupply, token: '6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', owner: DEPLOYER, @@ -65,7 +64,6 @@ export const getTRUMPWarpConfig = async ( type: TokenType.collateral, name, symbol, - decimals: 6, totalSupply, token: '6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', owner: DEPLOYER, @@ -86,9 +84,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.arbitrum, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.arbitrum.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.arbitrum.owner, address: '0x2350389Ea8649Da5dD4Fdd09c414dD8463C2695c', }, }, @@ -96,9 +94,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.avalanche, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.avalanche.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.avalanche.owner, address: '0x86a2E32BB42584127a24079a4f9113EeFE80db90', }, }, @@ -106,9 +104,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.flowmainnet, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.flowmainnet.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.flowmainnet.owner, address: '0xB504EA900302C7Faf24Cc4F155006d6c0357Dc35', }, }, @@ -116,9 +114,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.form, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.form.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.form.owner, address: '0x5b3EeADcc0E2d4284eA6816e2E503c24d30a9E54', }, }, @@ -126,9 +124,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.worldchain, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.worldchain.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.worldchain.owner, address: '0x97e4682dBC4Bfd432F1563a7fa9aC218Bc48c861', }, }, @@ -136,9 +134,9 @@ export const getTRUMPWarpConfig = async ( ...routerConfig.optimism, ...syntheticToken, type: TokenType.synthetic, - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.optimism.owner, proxyAdmin: { - owner: DEPLOYER, + owner: abacusWorksEnvOwnerConfig.optimism.owner, address: '0x6Fa52E2Fc86B200e7b80394e226929C1f9Ff2950', }, },