From 8b1ee39f4d4d03c934232dfa32336b60b7d6a3df Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:44:51 +0100 Subject: [PATCH] Update tasks/testChainAdapter.ts --- tasks/testChainAdapter.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/testChainAdapter.ts b/tasks/testChainAdapter.ts index 5bb3b5376..364df1f66 100644 --- a/tasks/testChainAdapter.ts +++ b/tasks/testChainAdapter.ts @@ -32,8 +32,7 @@ task("testChainAdapter", "Verify a chain adapter") const adapterName = chains[spokeChainId] ?? `${spokeName[0].toUpperCase()}${spokeName.slice(1).toLowerCase()}_Adapter`; - let { address: adapterAddress, abi: adapterAbi } = await deployments.get(adapterName); - adapterAddress = "0x370B162f1e8335B368C77a3004F8c2C7BA18d451"; + const { address: adapterAddress, abi: adapterAbi } = await deployments.get(adapterName); const adapter = new ethers.Contract(adapterAddress, adapterAbi, provider); const tokenSymbol = args.token.toUpperCase(); const tokenAddress = TOKEN_SYMBOLS_MAP[tokenSymbol].addresses[hubChainId];