Skip to content

Commit

Permalink
feat: Add support for Polygon Amoy testnet, remove Polygon Mumbai (#540)
Browse files Browse the repository at this point in the history
* 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 <matt@mattsolomon.dev>
  • Loading branch information
kcyeu and mds1 committed Apr 24, 2024
1 parent f52f92f commit 78f49b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/StdChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ 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")
"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(
Expand Down
2 changes: 1 addition & 1 deletion test/StdChains.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract StdChainsTest is Test {
// _testRpc("arbitrum_one_sepolia");
// _testRpc("arbitrum_nova");
// _testRpc("polygon");
// _testRpc("polygon_mumbai");
// _testRpc("polygon_amoy");
// _testRpc("avalanche");
// _testRpc("avalanche_fuji");
// _testRpc("bnb_smart_chain");
Expand Down

0 comments on commit 78f49b5

Please sign in to comment.