Skip to content

Commit c9f03ec

Browse files
committed
tests: Enable Constantinople transaction tests.
1 parent b49489a commit c9f03ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/json-fixtures/test_transactions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
from eth.vm.forks.byzantium.transactions import (
2929
ByzantiumTransaction
3030
)
31+
from eth.vm.forks.constantinople.transactions import (
32+
ConstantinopleTransaction
33+
)
3134

3235
from eth_typing.enums import (
3336
ForkName
@@ -92,7 +95,7 @@ def fixture_transaction_class(fixture_data):
9295
elif fork_name == ForkName.Byzantium:
9396
return ByzantiumTransaction
9497
elif fork_name == ForkName.Constantinople:
95-
pytest.skip("Constantinople Transaction class has not been implemented")
98+
return ConstantinopleTransaction
9699
elif fork_name == ForkName.Metropolis:
97100
pytest.skip("Metropolis Transaction class has not been implemented")
98101
else:

0 commit comments

Comments
 (0)