From 1bbaf62cd5cc81c10508ed8455edf1278a0a24a3 Mon Sep 17 00:00:00 2001 From: Eddie Date: Sat, 28 Sep 2024 16:53:37 -0600 Subject: [PATCH 1/2] feat: rm dai, klp, kp3r, next, testvotes, usdc, usdt (#6362) * feat: rm dai, klp, kp3r, next, testvotes, usdc, usdt from getSupported in sdkserver * feat: keep weth on mode --- ops/mainnet/prod/backend/config.tf | 79 +++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 8 deletions(-) diff --git a/ops/mainnet/prod/backend/config.tf b/ops/mainnet/prod/backend/config.tf index 15ff585e32..d2f4691c19 100644 --- a/ops/mainnet/prod/backend/config.tf +++ b/ops/mainnet/prod/backend/config.tf @@ -34,48 +34,111 @@ locals { chains = { "6648936" = { providers = ["https://rpc.ankr.com/eth/"] + disabledAssets = [ + "0x3f6740b5898c5D3650ec6eAce9a649Ac791e44D7", + "0x6B175474E89094C44Da98b954EedeAC495271d0F", + "0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "0xdAC17F958D2ee523a2206206994597C13D831ec7" + ] } "1869640809" = { providers = ["https://rpc.ankr.com/optimism"] + disabledAssets = [ + "0xf232D1Afbed9Df3880143d4FAD095f3698c4d1c6", + "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "0xca87472DBfB041c2e5a2672d319eA6184Ad9755e", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0xF0EB88B8C83347092ef321Ae5D1D54C88Ee89219", + "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", + "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58" + ] } "1886350457" = { providers = ["https://rpc.ankr.com/polygon"] + disabledAssets = [ + "0x7cf93c434260519537184631A347eE8AD0Bc68Cb", + "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063", + "0x4a2bE2075588BcE6A7E072574698a7DbbAc39b08", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", + "0xc2132D05D31c914a87C6611C10748AEb04B58e8F" + ] } "1634886255" = { providers = ["https://rpc.ankr.com/arbitrum"] + disabledAssets = [ + "0x386E2699f89EDE6005c4913512bC88F05847607B", + "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", + "0x16aF9fe3f9E48547971af959fD631A8cDBE40484", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0xF0EB88B8C83347092ef321Ae5D1D54C88Ee89219", + "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", + "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9" + ] } "6450786" = { providers = ["https://rpc.ankr.com/bsc"] + disabledAssets = [ + "0xd00D9EE9238687A2041004Fe9D55a2299e0Af2fa", + "0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3", + "0x2aa48B3d6EFe651542D22CEF0CB7ea853D97A850", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0xF0EB88B8C83347092ef321Ae5D1D54C88Ee89219", + "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", + "0x55d398326f99059fF775485246999027B3197955" + ] } "6778479" = { providers = ["https://rpc.ankr.com/gnosis"] - disabledAssets = ["0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d"] + disabledAssets = [ + "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d", + "0x386508A233EE1494d31555Ab8aa2df6D6DC76E61", + "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d", + "0x398bB7642BD0A5c7CB64f6255159BFABa5512342", + "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8", + "0x8b988A5E3c1C7F5230102606eaEFE421e2CD9A10", + "0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83", + "0x4ECaBa5870353805a9F068101A40E0f32ed605C6" + ] } "1818848877" = { providers = ["https://rpc.linea.build"] - disabledAssets = ["0xA219439258ca9da29E9Cc4cE5596924745e12B93", "0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5"] + disabledAssets = [ + "0xA219439258ca9da29E9Cc4cE5596924745e12B93", + "0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5", + "0x4AF15ec2A0BD43Db75dd04E62FAA3B8EF36b00d5", + "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", + "0xA219439258ca9da29E9Cc4cE5596924745e12B93" + ] } "1887071085" = { providers = ["https://polygon-zkevm-mainnet.blastapi.io/${var.blast_key}"] } "1650553709" = { - providers = ["https://base-mainnet.blastapi.io/${var.blast_key}"] + providers = ["https://base-mainnet.blastapi.io/${var.blast_key}"], + disabledAssets = [ + "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb", + "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" + ] } "1635148152" = { providers = ["https://ava-mainnet.blastapi.io/${var.blast_key}/ext/bc/C/rpc"] } "1835365481" = { - providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"] + providers = ["https://metis-mainnet.blastapi.io/${var.blast_key}"], + disabledAssets = [ + "0xEA32A96608495e54156Ae48931A7c20f0dcc1a21", + "0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC" + ] } "1835101812" = { providers = ["https://mantle-mainnet.blastapi.io/${var.blast_key}"] } "1836016741" = { providers = ["https://mode-mainnet.blastapi.io/${var.blast_key}", "https://mainnet.mode.network/"] - } - "2020368761" = { - providers = ["https://rpc.xlayer.tech/${var.xlayer_key}", "https://rpc.xlayer.tech", "https://xlayerrpc.okx.com"] - } + } } # The following are defined in variables.tf and don't map to the From 396e09e3f09647e0b461b957f22eaae49d88e03c Mon Sep 17 00:00:00 2001 From: just-a-node Date: Wed, 2 Oct 2024 13:23:54 -0600 Subject: [PATCH 2/2] fix: metis gelato estimates --- packages/agents/sdk-wrapper/CHANGELOG.md | 4 ++++ packages/agents/sdk-wrapper/package.json | 2 +- packages/agents/sdk/CHANGELOG.md | 4 ++++ packages/agents/sdk/package.json | 2 +- packages/utils/package.json | 2 +- packages/utils/src/peripherals/gelato.ts | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/agents/sdk-wrapper/CHANGELOG.md b/packages/agents/sdk-wrapper/CHANGELOG.md index 7f3f605504..c43fe3ac4c 100644 --- a/packages/agents/sdk-wrapper/CHANGELOG.md +++ b/packages/agents/sdk-wrapper/CHANGELOG.md @@ -2,6 +2,10 @@ ## Next Release +## 2.5.0-alpha.8 + +- Fix estimates for Metis + ## 2.5.0-alpha.4 - `getLatestAssetPrice`: Added to fetch prices from Cartographer diff --git a/packages/agents/sdk-wrapper/package.json b/packages/agents/sdk-wrapper/package.json index 09734a939a..20e3983750 100644 --- a/packages/agents/sdk-wrapper/package.json +++ b/packages/agents/sdk-wrapper/package.json @@ -1,6 +1,6 @@ { "name": "@connext/sdk", - "version": "2.5.0-alpha.7", + "version": "2.5.0-alpha.8", "description": "Client-side package for interacting with the Connext protocol", "author": "Connext", "license": "MIT", diff --git a/packages/agents/sdk/CHANGELOG.md b/packages/agents/sdk/CHANGELOG.md index 8199dddd86..e9d5427bf4 100644 --- a/packages/agents/sdk/CHANGELOG.md +++ b/packages/agents/sdk/CHANGELOG.md @@ -2,6 +2,10 @@ ## Next Release +## 2.5.0-alpha.8 + +- Fix estimates for Metis + ## 2.5.0-alpha.6 - Better error log in txservice diff --git a/packages/agents/sdk/package.json b/packages/agents/sdk/package.json index 95967cab57..9a8b1421df 100644 --- a/packages/agents/sdk/package.json +++ b/packages/agents/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@connext/sdk-core", - "version": "2.5.0-alpha.7", + "version": "2.5.0-alpha.8", "description": "Client-side package for interacting with the Connext protocol", "author": "Connext", "license": "MIT", diff --git a/packages/utils/package.json b/packages/utils/package.json index e027956a3e..7f1a2b8231 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@connext/nxtp-utils", - "version": "2.5.0-alpha.7", + "version": "2.5.0-alpha.8", "description": "Common utilities for use within the @connext/nxtp-* packages", "author": "Connext", "license": "MIT", diff --git a/packages/utils/src/peripherals/gelato.ts b/packages/utils/src/peripherals/gelato.ts index 67cf30c29b..35de5b7dba 100644 --- a/packages/utils/src/peripherals/gelato.ts +++ b/packages/utils/src/peripherals/gelato.ts @@ -68,6 +68,7 @@ const EquivalentChainsForTestnetEstimate: Record = { const EquivalentChainsForGelato: Record = { // MAINNETS 59144: 42161, // linea + 1088: 42161, // metis 34443: 42161, // mode // LOCALNETS