From 39132be2e384fb06ffd019b14924c12a79272bda Mon Sep 17 00:00:00 2001 From: Derek Pierre Date: Thu, 28 Mar 2024 17:05:10 -0400 Subject: [PATCH] feat: add support for Polygon Amoy (#76) Co-authored-by: El De-dog-lo <3859395+fubuloubu@users.noreply.github.com> --- ape_infura/__init__.py | 1 + ape_infura/provider.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ape_infura/__init__.py b/ape_infura/__init__.py index 4c1e1ba..f858713 100644 --- a/ape_infura/__init__.py +++ b/ape_infura/__init__.py @@ -19,6 +19,7 @@ "polygon": [ "mainnet", "mumbai", + "amoy", ], # TODO: Comment out after ape-linea supports 0.7 # "linea": [ diff --git a/ape_infura/provider.py b/ape_infura/provider.py index ea6966d..fc4b2d9 100644 --- a/ape_infura/provider.py +++ b/ape_infura/provider.py @@ -81,7 +81,7 @@ def connect(self): # Any chain that *began* as PoA needs the middleware for pre-merge blocks ethereum_goerli = 5 optimism = (10, 420) - polygon = (137, 80001) + polygon = (137, 80001, 80002) linea = (59144, 59140) if self._web3.eth.chain_id in (ethereum_goerli, *optimism, *polygon, *linea):