Skip to content

Commit f6681fc

Browse files
committed
Use eth_utils.toolz
1 parent 08529b6 commit f6681fc

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

tests/trinity/core/p2p-proto/bcc/helpers.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
import asyncio
22

3-
from cytoolz import (
4-
merge,
5-
)
6-
73
from cancel_token import CancelToken
84

95
from eth_utils import (
106
to_tuple,
117
)
8+
from eth_utils.toolz import (
9+
merge,
10+
)
1211

1312
from eth.db.atomic import AtomicDB
1413
from eth.beacon.db.chain import BeaconChainDB

trinity/protocol/bcc/servers.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@
66
Type,
77
)
88

9-
from eth_utils.toolz import (
10-
cons,
11-
sliding_window,
12-
take,
13-
)
14-
159
from eth_typing import (
1610
Hash32,
1711
)
1812

1913
from eth_utils import (
2014
to_tuple,
2115
)
16+
from eth_utils.toolz import (
17+
cons,
18+
sliding_window,
19+
take,
20+
)
2221

2322
from cancel_token import CancelToken
2423

0 commit comments

Comments
 (0)