rm some unnecessary stew/shims/net imports to reduce deprecation warnings (#5806)

This commit is contained in:
tersec 2024-01-20 16:42:19 +00:00 committed by GitHub
parent 525b994e7d
commit 042169ac9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import
confutils/toml/defs as confTomlDefs,
confutils/toml/std/net as confTomlNet,
confutils/toml/std/uri as confTomlUri,
serialization/errors, stew/shims/net as stewNet,
serialization/errors,
stew/[io2, byteutils], unicodedb/properties, normalize,
eth/common/eth_types as commonEthTypes, eth/net/nat,
eth/p2p/discoveryv5/enr,

View File

@ -14,8 +14,7 @@ import
# Status libs
results,
stew/[leb128, endians2, byteutils, io2, bitops2],
stew/shims/net as stewNet,
stew/shims/[macros],
stew/shims/macros,
snappy,
json_serialization, json_serialization/std/[net, sets, options],
chronos, chronos/ratelimit, chronicles, metrics,