Skip to content

Commit 6358acc

Browse files
committed
Remove backwards-compatibility for ENS mainnet requirement, let NameNotFound raise
1 parent 71ab10e commit 6358acc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: tests/core/middleware/test_name_to_address_middleware.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
2+
23
import pytest_asyncio
34

45
from web3 import (

Diff for: web3/_utils/normalizers.py

-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
text_if_str,
5050
)
5151
from web3._utils.ens import (
52-
StaticENS,
5352
async_validate_name_has_address,
5453
is_ens_name,
5554
validate_name_has_address,
@@ -60,7 +59,6 @@
6059
)
6160
from web3.exceptions import (
6261
InvalidAddress,
63-
NameNotFound,
6462
Web3ValueError,
6563
)
6664

0 commit comments

Comments
 (0)