From ce0dd6bfa24305be6d7bdb31f4fa54d0cfade466 Mon Sep 17 00:00:00 2001 From: NotPeopling2day <32708219+NotPeopling2day@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:34:56 -0500 Subject: [PATCH] chore: linting --- ape_infura/provider.py | 1 + tests/test_provider.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ape_infura/provider.py b/ape_infura/provider.py index ec1a9da..e4ac721 100644 --- a/ape_infura/provider.py +++ b/ape_infura/provider.py @@ -11,6 +11,7 @@ from web3.exceptions import ContractLogicError as Web3ContractLogicError from web3.exceptions import ExtraDataLengthError from web3.gas_strategies.rpc import rpc_gas_price_strategy + try: from web3.middleware import ExtraDataToPOAMiddleware # type: ignore except ImportError: diff --git a/tests/test_provider.py b/tests/test_provider.py index e8d6506..9269621 100644 --- a/tests/test_provider.py +++ b/tests/test_provider.py @@ -4,6 +4,7 @@ import websocket # type: ignore from ape import networks from web3.exceptions import ExtraDataLengthError + try: from web3.middleware import ExtraDataToPOAMiddleware # type: ignore except ImportError: