diff --git a/ape_etherscan/client.py b/ape_etherscan/client.py index 1c2f57d..74d30b2 100644 --- a/ape_etherscan/client.py +++ b/ape_etherscan/client.py @@ -83,7 +83,7 @@ def get_etherscan_uri( return ( "https://polygonscan.com" if network_name == "mainnet" - else "https://mumbai.polygonscan.com" + else "https://amoy.polygonscan.com" ) elif ecosystem_name == "avalanche": return ( diff --git a/ape_etherscan/utils.py b/ape_etherscan/utils.py index d7143ab..88c4bdd 100644 --- a/ape_etherscan/utils.py +++ b/ape_etherscan/utils.py @@ -47,7 +47,7 @@ ], "polygon": [ "mainnet", - "mumbai", + "amoy", ], "polygon-zkevm": [ "mainnet", diff --git a/tests/conftest.py b/tests/conftest.py index 9ff090b..1a5ab31 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -291,7 +291,7 @@ def get_url_f(testnet: bool = False, tld: str = "io"): }, "polygon": { "mainnet": com_url("polygonscan"), - "mumbai": com_testnet_url("testnet", "polygonscan"), + "amoy": com_testnet_url("testnet", "polygonscan"), }, "base": { "sepolia": org_testnet_url("sepolia", "basescan"), diff --git a/tests/test_etherscan.py b/tests/test_etherscan.py index 547a1c2..69df062 100644 --- a/tests/test_etherscan.py +++ b/tests/test_etherscan.py @@ -39,8 +39,8 @@ ("optimism", "sepolia-fork", "sepolia-optimism.etherscan.io"), ("polygon", "mainnet", "polygonscan.com"), ("polygon", "mainnet-fork", "polygonscan.com"), - ("polygon", "mumbai", "mumbai.polygonscan.com"), - ("polygon", "mumbai-fork", "mumbai.polygonscan.com"), + ("polygon", "amoy", "amoy.polygonscan.com"), + ("polygon", "amoy-fork", "amoy.polygonscan.com"), ("polygon-zkevm", "mainnet", "zkevm.polygonscan.com"), ("polygon-zkevm", "cardona", "cardona-zkevm.polygonscan.com"), ("base", "mainnet", "basescan.org"),