Skip to content

Commit

Permalink
refactor: mumbai to amoy
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day committed Apr 15, 2024
1 parent 4073282 commit b832b7d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ape_etherscan/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion ape_etherscan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
"polygon": [
"mainnet",
"mumbai",
"amoy",
],
"polygon-zkevm": [
"mainnet",
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_etherscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit b832b7d

Please sign in to comment.