From 3cef1443e81c23bdb00d029b5d8b6e7d96535889 Mon Sep 17 00:00:00 2001 From: wllmshao Date: Tue, 17 Oct 2023 12:53:17 -0400 Subject: [PATCH] Add Polygon Mumbai, change ETH symbols to gas token symbols --- test/Environment.sol | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/test/Environment.sol b/test/Environment.sol index c396479..05ff580 100644 --- a/test/Environment.sol +++ b/test/Environment.sol @@ -32,6 +32,8 @@ contract Environment is Test { 0xe432150cce91c13a887f7D836923d5597adD8E31; address public constant AXELAR_GATEWAY_KAVA = 0xe432150cce91c13a887f7D836923d5597adD8E31; + address public constant AXELAR_GATEWAY_POLYGON_MUMBAI = + 0xBF62ef1486468a6bd26Dd669C06db43dEd5B849B; address public constant AXELAR_GAS_SERVICE_MAINNET = 0x2d5d7d31F671F86C782533cc367F14109a082712; @@ -61,21 +63,24 @@ contract Environment is Test { 0x2d5d7d31F671F86C782533cc367F14109a082712; address public constant AXELAR_GAS_SERVICE_KAVA = 0x2d5d7d31F671F86C782533cc367F14109a082712; + address public constant AXELAR_GAS_SERVICE_POLYGON_MUMBAI = + 0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6; string public constant AXELAR_WETH_SYMBOL_MAINNET = "WETH"; - string public constant AXELAR_WETH_SYMBOL_BNB = "axlETH"; - string public constant AXELAR_WETH_SYMBOL_POLYGON = "axlETH"; - string public constant AXELAR_WETH_SYMBOL_AVALANCHE = "axlETH"; + string public constant AXELAR_WETH_SYMBOL_BNB = "WBNB"; + string public constant AXELAR_WETH_SYMBOL_POLYGON = "WMATIC"; + string public constant AXELAR_WETH_SYMBOL_AVALANCHE = "WAVAX"; string public constant AXELAR_WETH_SYMBOL_ARBITRUM = "axlETH"; string public constant AXELAR_WETH_SYMBOL_OPTIMISM = "axlETH"; string public constant AXELAR_WETH_SYMBOL_BASE = "axlETH"; string public constant AXELAR_WETH_SYMBOL_LINEA = "axlETH"; string public constant AXELAR_WETH_SYMBOL_MANTLE = "axlETH"; - string public constant AXELAR_WETH_SYMBOL_FANTOM = "axlETH"; - string public constant AXELAR_WETH_SYMBOL_MOONBEAM = "axlETH"; + string public constant AXELAR_WETH_SYMBOL_FANTOM = "WFTM"; + string public constant AXELAR_WETH_SYMBOL_MOONBEAM = "WGLMR"; string public constant AXELAR_WETH_SYMBOL_CELO = "axlETH"; - string public constant AXELAR_WETH_SYMBOL_FILECOIN = "axlETH"; + string public constant AXELAR_WETH_SYMBOL_FILECOIN = "WFIL"; string public constant AXELAR_WETH_SYMBOL_KAVA = "axlETH"; + string public constant AXELAR_WETH_SYMBOL_POLYGON_MUMBAI = "WMATIC"; address public gateway; address public gasService; @@ -138,6 +143,10 @@ contract Environment is Test { gateway = AXELAR_GATEWAY_KAVA; gasService = AXELAR_GAS_SERVICE_KAVA; wethSymbol = AXELAR_WETH_SYMBOL_KAVA; + } else if (chainId == 80001) { + gateway = AXELAR_GATEWAY_POLYGON_MUMBAI; + gasService = AXELAR_GAS_SERVICE_POLYGON_MUMBAI; + wethSymbol = AXELAR_WETH_SYMBOL_POLYGON_MUMBAI; } else { revert("CHAIN UNSUPPORTED"); }