Skip to content

Commit

Permalink
feat: delete mumbai
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed May 16, 2024
1 parent bef7488 commit dca84c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions ape_polygon/ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
NETWORKS = {
# chain_id, network_id
"mainnet": (137, 137),
"mumbai": (80001, 80001),
"amoy": (80002, 80002),
}


class PolygonConfig(BaseEthereumConfig):
NETWORKS: ClassVar[Dict[str, Tuple[int, int]]] = NETWORKS
mainnet: NetworkConfig = create_network_config(block_time=2, required_confirmations=1)
mumbai: NetworkConfig = create_network_config(block_time=2, required_confirmations=1)
amoy: NetworkConfig = create_network_config(block_time=2, required_confirmations=1)


Expand Down
5 changes: 1 addition & 4 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
│ └── node (default)
├── local (default)
│ └── test (default)
├── mainnet
│ └── node (default)
└── mumbai
└── mainnet
└── node (default)
""".strip()

Expand Down Expand Up @@ -49,7 +47,6 @@ def assert_rich_text(actual: str, expected: str):
def test_networks(runner, cli, polygon):
# Do this in case local env changed it.
polygon.mainnet.set_default_provider("node")
polygon.mumbai.set_default_provider("node")
polygon.amoy.set_default_provider("node")

result = runner.invoke(cli, ("networks", "list"))
Expand Down

0 comments on commit dca84c5

Please sign in to comment.