Skip to content

Commit 78f49b5

Browse files
kcyeumds1
andauthored
feat: Add support for Polygon Amoy testnet, remove Polygon Mumbai (#540)
* Add support for Polygon Amoy in StdChains.sol * Add support for Polygon Amoy in StdChains.t.sol * chore: remove mumbai, since its based on goerli which is deprecated --------- Co-authored-by: Matt Solomon <[email protected]>
1 parent f52f92f commit 78f49b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/StdChains.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ abstract contract StdChains {
214214
setChainWithDefaultRpcUrl("arbitrum_nova", ChainData("Arbitrum Nova", 42170, "https://nova.arbitrum.io/rpc"));
215215
setChainWithDefaultRpcUrl("polygon", ChainData("Polygon", 137, "https://polygon-rpc.com"));
216216
setChainWithDefaultRpcUrl(
217-
"polygon_mumbai", ChainData("Polygon Mumbai", 80001, "https://rpc-mumbai.maticvigil.com")
217+
"polygon_amoy", ChainData("Polygon Amoy", 80002, "https://rpc-amoy.polygon.technology")
218218
);
219219
setChainWithDefaultRpcUrl("avalanche", ChainData("Avalanche", 43114, "https://api.avax.network/ext/bc/C/rpc"));
220220
setChainWithDefaultRpcUrl(

test/StdChains.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ contract StdChainsTest is Test {
6262
// _testRpc("arbitrum_one_sepolia");
6363
// _testRpc("arbitrum_nova");
6464
// _testRpc("polygon");
65-
// _testRpc("polygon_mumbai");
65+
// _testRpc("polygon_amoy");
6666
// _testRpc("avalanche");
6767
// _testRpc("avalanche_fuji");
6868
// _testRpc("bnb_smart_chain");

0 commit comments

Comments
 (0)