Skip to content

Commit 6331511

Browse files
KolbyMLmarioevz
andauthored
fix(tests) update test_chainid.py to not run type 3 transaction in execute mode (#2094)
* feat(tests) update test_chainid.py to run type 3 transaction in execute mode * Update tests/istanbul/eip1344_chainid/test_chainid.py --------- Co-authored-by: Mario Vega <[email protected]>
1 parent e5698a4 commit 6331511

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/istanbul/eip1344_chainid/test_chainid.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
REFERENCE_SPEC_VERSION = "02e46aebc80e6e5006ab4d2daa41876139f9a9e2"
1313

1414

15-
@pytest.mark.with_all_typed_transactions
15+
@pytest.mark.with_all_typed_transactions(
16+
marks=lambda tx_type: pytest.mark.execute(
17+
pytest.mark.skip(reason="type 3 transactions aren't supported in execute mode")
18+
)
19+
if tx_type == 3
20+
else None
21+
)
1622
@pytest.mark.valid_from("Istanbul")
1723
def test_chainid(
1824
state_test: StateTestFiller,

0 commit comments

Comments
 (0)