diff --git a/src/ethereum/berlin/trie.py b/src/ethereum/berlin/trie.py index 105b5e27b7..a8c5345919 100644 --- a/src/ethereum/berlin/trie.py +++ b/src/ethereum/berlin/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.muir_glacier import trie as previous_trie diff --git a/src/ethereum/byzantium/trie.py b/src/ethereum/byzantium/trie.py index 26cbb0cc14..bd67de821f 100644 --- a/src/ethereum/byzantium/trie.py +++ b/src/ethereum/byzantium/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.spurious_dragon import trie as previous_trie diff --git a/src/ethereum/cancun/trie.py b/src/ethereum/cancun/trie.py index ce1bb3df07..17d9ce4ec7 100644 --- a/src/ethereum/cancun/trie.py +++ b/src/ethereum/cancun/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.shanghai import trie as previous_trie diff --git a/src/ethereum/constantinople/trie.py b/src/ethereum/constantinople/trie.py index c94e1ef8db..ca3a619288 100644 --- a/src/ethereum/constantinople/trie.py +++ b/src/ethereum/constantinople/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.byzantium import trie as previous_trie from ethereum.crypto.hash import keccak256 diff --git a/src/ethereum/dao_fork/trie.py b/src/ethereum/dao_fork/trie.py index 5a1cdeeb94..10185b0c4b 100644 --- a/src/ethereum/dao_fork/trie.py +++ b/src/ethereum/dao_fork/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.homestead import trie as previous_trie diff --git a/src/ethereum/frontier/trie.py b/src/ethereum/frontier/trie.py index 64cefbc933..e06e78226e 100644 --- a/src/ethereum/frontier/trie.py +++ b/src/ethereum/frontier/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.utils.hexadecimal import hex_to_bytes diff --git a/src/ethereum/gray_glacier/trie.py b/src/ethereum/gray_glacier/trie.py index 0e216325f5..e874e4937e 100644 --- a/src/ethereum/gray_glacier/trie.py +++ b/src/ethereum/gray_glacier/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.arrow_glacier import trie as previous_trie from ethereum.crypto.hash import keccak256 diff --git a/src/ethereum/homestead/trie.py b/src/ethereum/homestead/trie.py index e9affa74a7..629afadb29 100644 --- a/src/ethereum/homestead/trie.py +++ b/src/ethereum/homestead/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.frontier import trie as previous_trie diff --git a/src/ethereum/istanbul/trie.py b/src/ethereum/istanbul/trie.py index 6a222f92ec..c2d2115038 100644 --- a/src/ethereum/istanbul/trie.py +++ b/src/ethereum/istanbul/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.constantinople import trie as previous_trie from ethereum.crypto.hash import keccak256 diff --git a/src/ethereum/london/trie.py b/src/ethereum/london/trie.py index 546a17bc0b..398af1a8c6 100644 --- a/src/ethereum/london/trie.py +++ b/src/ethereum/london/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.berlin import trie as previous_trie from ethereum.crypto.hash import keccak256 diff --git a/src/ethereum/muir_glacier/trie.py b/src/ethereum/muir_glacier/trie.py index 05b31a5150..f3172811f9 100644 --- a/src/ethereum/muir_glacier/trie.py +++ b/src/ethereum/muir_glacier/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.istanbul import trie as previous_trie diff --git a/src/ethereum/paris/trie.py b/src/ethereum/paris/trie.py index 5f27a6ff04..c723f3b23e 100644 --- a/src/ethereum/paris/trie.py +++ b/src/ethereum/paris/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.gray_glacier import trie as previous_trie diff --git a/src/ethereum/shanghai/trie.py b/src/ethereum/shanghai/trie.py index f2ca34c080..d4b6c61db7 100644 --- a/src/ethereum/shanghai/trie.py +++ b/src/ethereum/shanghai/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.paris import trie as previous_trie diff --git a/src/ethereum/spurious_dragon/trie.py b/src/ethereum/spurious_dragon/trie.py index d7460d1995..2a02fe1a62 100644 --- a/src/ethereum/spurious_dragon/trie.py +++ b/src/ethereum/spurious_dragon/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.tangerine_whistle import trie as previous_trie diff --git a/src/ethereum/tangerine_whistle/trie.py b/src/ethereum/tangerine_whistle/trie.py index d47bc069c9..4bdb803009 100644 --- a/src/ethereum/tangerine_whistle/trie.py +++ b/src/ethereum/tangerine_whistle/trie.py @@ -27,13 +27,13 @@ Tuple, TypeVar, Union, - assert_type, cast, ) from ethereum_types.bytes import Bytes from ethereum_types.frozen import slotted_freezable from ethereum_types.numeric import U256, Uint +from typing_extensions import assert_type from ethereum.crypto.hash import keccak256 from ethereum.dao_fork import trie as previous_trie