Skip to content

Commit

Permalink
setup,tests: use eth-typing v2.2.0 and fork definitions from it.
Browse files Browse the repository at this point in the history
  • Loading branch information
veox committed Oct 31, 2019
1 parent f39edbd commit 6e7aae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cached-property>=1.5.1,<2",
"eth-bloom>=1.0.3,<2.0.0",
"eth-keys>=0.2.1,<0.3.0",
"eth-typing>=2.0.0,<3.0.0",
"eth-typing>=2.2.0,<3.0.0",
"eth-utils>=1.7.0,<2.0.0",
"lru-dict>=1.1.6",
"mypy_extensions>=0.4.1,<1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/json-fixtures/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def fixture_transaction_class(fixture_data):
return ByzantiumTransaction
elif fork_name == ForkName.Constantinople:
return ConstantinopleTransaction
elif fork_name == "ConstantinopleFix":
elif fork_name == ForkName.Petersburg:
return PetersburgTransaction
elif fork_name == "Istanbul":
elif fork_name == ForkName.Istanbul:
return IstanbulTransaction
elif fork_name == ForkName.Metropolis:
pytest.skip("Metropolis Transaction class has not been implemented")
Expand Down

0 comments on commit 6e7aae7

Please sign in to comment.