From f3d8460b715a09898c079e33fe5f85ad6dc5bc18 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 12 Jul 2024 09:53:49 -0500 Subject: [PATCH] chore: del mumbai --- .pre-commit-config.yaml | 4 ++-- ape_polygon/ecosystem.py | 2 -- setup.py | 4 ++-- tests/test_integration.py | 5 +---- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3919289..112fdb1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,12 +16,12 @@ repos: name: black - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.10.1 hooks: - id: mypy additional_dependencies: [types-setuptools, pydantic] diff --git a/ape_polygon/ecosystem.py b/ape_polygon/ecosystem.py index bceca33..cc53938 100644 --- a/ape_polygon/ecosystem.py +++ b/ape_polygon/ecosystem.py @@ -10,7 +10,6 @@ NETWORKS = { # chain_id, network_id "mainnet": (137, 137), - "mumbai": (80001, 80001), "amoy": (80002, 80002), } @@ -18,7 +17,6 @@ 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) diff --git a/setup.py b/setup.py index f218980..7d612fd 100644 --- a/setup.py +++ b/setup.py @@ -11,9 +11,9 @@ ], "lint": [ "black>=24.4.2,<25", # Auto-formatter and linter - "mypy>=1.10.0,<2", # Static type analyzer + "mypy>=1.10.1,<2", # Static type analyzer "types-setuptools", # Needed for mypy type shed - "flake8>=7.0.0,<8", # Style linter + "flake8>=7.1.0,<8", # Style linter "flake8-breakpoint>=1.1.0,<2", # Detect breakpoints left in code "flake8-print>=5.0.0,<6", # Detect print statements left in code "isort>=5.13.2,<6", # Import sorting linter diff --git a/tests/test_integration.py b/tests/test_integration.py index b54773d..c6a26c0 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -8,9 +8,7 @@ │ └── node (default) ├── local (default) │ └── test (default) -├── mainnet -│ └── node (default) -└── mumbai +└── mainnet └── node (default) """.strip() @@ -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"))