From 1a9d12d2eba827974dfaae193d8288ebb1ba853f Mon Sep 17 00:00:00 2001 From: Kuo-Cheng Yeu Date: Fri, 12 Apr 2024 19:19:22 +0800 Subject: [PATCH 1/3] Add support for Polygon Amoy in StdChains.sol --- src/StdChains.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/StdChains.sol b/src/StdChains.sol index 27e1bf25..e3080b82 100644 --- a/src/StdChains.sol +++ b/src/StdChains.sol @@ -216,6 +216,9 @@ abstract contract StdChains { setChainWithDefaultRpcUrl( "polygon_mumbai", ChainData("Polygon Mumbai", 80001, "https://rpc-mumbai.maticvigil.com") ); + setChainWithDefaultRpcUrl( + "polygon_amoy", ChainData("Polygon Amoy", 80002, "https://rpc-amoy.polygon.technology") + ); setChainWithDefaultRpcUrl("avalanche", ChainData("Avalanche", 43114, "https://api.avax.network/ext/bc/C/rpc")); setChainWithDefaultRpcUrl( "avalanche_fuji", ChainData("Avalanche Fuji", 43113, "https://api.avax-test.network/ext/bc/C/rpc") From 426bdd072459ffb437a05eb733fd5cbcbbd9f01f Mon Sep 17 00:00:00 2001 From: Kuo-Cheng Yeu Date: Fri, 12 Apr 2024 19:20:22 +0800 Subject: [PATCH 2/3] Add support for Polygon Amoy in StdChains.t.sol --- test/StdChains.t.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/test/StdChains.t.sol b/test/StdChains.t.sol index 4c3283a7..3506a589 100644 --- a/test/StdChains.t.sol +++ b/test/StdChains.t.sol @@ -63,6 +63,7 @@ contract StdChainsTest is Test { // _testRpc("arbitrum_nova"); // _testRpc("polygon"); // _testRpc("polygon_mumbai"); + // _testRpc("polygon_amoy"); // _testRpc("avalanche"); // _testRpc("avalanche_fuji"); // _testRpc("bnb_smart_chain"); From dbb110be0c1295cd53026444c933b00df4764d8e Mon Sep 17 00:00:00 2001 From: Matt Solomon Date: Wed, 24 Apr 2024 13:39:42 -0700 Subject: [PATCH 3/3] chore: remove mumbai, since its based on goerli which is deprecated --- src/StdChains.sol | 3 --- test/StdChains.t.sol | 1 - 2 files changed, 4 deletions(-) diff --git a/src/StdChains.sol b/src/StdChains.sol index e3080b82..053205aa 100644 --- a/src/StdChains.sol +++ b/src/StdChains.sol @@ -213,9 +213,6 @@ abstract contract StdChains { ); setChainWithDefaultRpcUrl("arbitrum_nova", ChainData("Arbitrum Nova", 42170, "https://nova.arbitrum.io/rpc")); setChainWithDefaultRpcUrl("polygon", ChainData("Polygon", 137, "https://polygon-rpc.com")); - setChainWithDefaultRpcUrl( - "polygon_mumbai", ChainData("Polygon Mumbai", 80001, "https://rpc-mumbai.maticvigil.com") - ); setChainWithDefaultRpcUrl( "polygon_amoy", ChainData("Polygon Amoy", 80002, "https://rpc-amoy.polygon.technology") ); diff --git a/test/StdChains.t.sol b/test/StdChains.t.sol index 3506a589..ddfb9632 100644 --- a/test/StdChains.t.sol +++ b/test/StdChains.t.sol @@ -62,7 +62,6 @@ contract StdChainsTest is Test { // _testRpc("arbitrum_one_goerli"); // _testRpc("arbitrum_nova"); // _testRpc("polygon"); - // _testRpc("polygon_mumbai"); // _testRpc("polygon_amoy"); // _testRpc("avalanche"); // _testRpc("avalanche_fuji");