Skip to content

Commit bf9dfb0

Browse files
committed
some fixes
1 parent 25af377 commit bf9dfb0

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

eth/chains/base.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323

2424
import logging
2525

26-
from mypy_extensions import (
27-
TypedDict,
28-
)
29-
3026
from eth_typing import (
3127
Address,
3228
BlockNumber,
@@ -44,6 +40,9 @@
4440
iterate,
4541
take,
4642
)
43+
from mypy_extensions import (
44+
TypedDict,
45+
)
4746

4847
from eth.db.backends.base import BaseAtomicDB
4948
from eth.db.chain import (
@@ -109,9 +108,6 @@
109108
from eth.vm.base import BaseVM # noqa: F401
110109

111110

112-
# 'balance', 'nonce' -> int
113-
# 'code' -> bytes
114-
# 'storage' -> Dict[int, int]
115111
AccountDetails = TypedDict('AccountDetails',
116112
{'balance': int,
117113
'nonce': int,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"eth-typing>=2.0.0,<3.0.0",
1313
"eth-utils>=1.3.0b0,<2.0.0",
1414
"lru-dict>=1.1.6",
15-
"mypy==0.630",
15+
"mypy_extensions>=0.4.1",
1616
"py-ecc>=1.4.2,<2.0.0",
1717
"pyethash>=0.1.27,<1.0.0",
1818
"rlp>=1.0.3,<2.0.0",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ commands=
4545
native-state-metropolis: pytest {posargs:tests/json-fixtures/test_state.py -k Metropolis}
4646
lightchain_integration: pytest --integration {posargs:tests/trinity/integration/test_lightchain_integration.py}
4747

48-
deps = .[p2p,trinity,eth-extra,test]
48+
deps = .[eth,p2p,trinity,eth-extra,test]
4949

5050
basepython =
5151
py35: python3.5

0 commit comments

Comments
 (0)