From 24141bec6fc2714ff1d1a0a585b2f0aa8e0457da Mon Sep 17 00:00:00 2001 From: antazoey Date: Thu, 18 Apr 2024 12:22:54 -0600 Subject: [PATCH] refactor!: TraceAPI (#1864) --- src/ape_ethereum/ecosystem.py | 3 +-- src/ape_ethereum/provider.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ape_ethereum/ecosystem.py b/src/ape_ethereum/ecosystem.py index 262257898d..676a57c8e2 100644 --- a/src/ape_ethereum/ecosystem.py +++ b/src/ape_ethereum/ecosystem.py @@ -1,8 +1,7 @@ import re -from collections.abc import Iterator, Sequence from decimal import Decimal from functools import cached_property -from typing import Any, ClassVar, Optional, Union, cast +from typing import Any, ClassVar, Iterator, Optional, Sequence, Union, cast from eth_abi import decode, encode from eth_abi.exceptions import InsufficientDataBytes, NonEmptyPaddingBytes diff --git a/src/ape_ethereum/provider.py b/src/ape_ethereum/provider.py index 1f2015e2b0..2bcd6ac48c 100644 --- a/src/ape_ethereum/provider.py +++ b/src/ape_ethereum/provider.py @@ -3,12 +3,11 @@ import sys import time from abc import ABC -from collections.abc import Iterator from concurrent.futures import ThreadPoolExecutor from copy import copy from functools import cached_property, wraps from pathlib import Path -from typing import Any, Iterable, Optional, Union, cast +from typing import Any, Iterable, Iterator, Optional, Union, cast import ijson # type: ignore import requests