Skip to content

Commit 8a55e68

Browse files
committed
feat(tests-ported): fix protected txs
1 parent 4125c2d commit 8a55e68

14 files changed

+26
-12
lines changed

tests/ported_static/stStackTests/test_stack_overflow_m1_push.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def test_stack_overflow_m1_push(
8484
data=initcode,
8585
gas_limit=6_000_000,
8686
value=value,
87+
protected=fork.supports_protected_txs(),
8788
)
8889

8990
post = {

tests/ported_static/stStackTests/test_stack_overflow_push.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_stack_overflow_push(
8282
to=None,
8383
data=initcode,
8484
gas_limit=6_000_000,
85+
protected=fork.supports_protected_txs(),
8586
)
8687

8788
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial00_2_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial00_2_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -130,6 +130,7 @@ def test_sstore_combinations_initial00_2_paris(
130130
data=initcode,
131131
gas_limit=2_000_000,
132132
value=1,
133+
protected=fork.supports_protected_txs(),
133134
)
134135

135136
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial00_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial00_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -144,6 +144,7 @@ def test_sstore_combinations_initial00_paris(
144144
data=initcode,
145145
gas_limit=2_000_000,
146146
value=1,
147+
protected=fork.supports_protected_txs(),
147148
)
148149

149150
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial01_2_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial01_2_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -130,6 +130,7 @@ def test_sstore_combinations_initial01_2_paris(
130130
data=initcode,
131131
gas_limit=2_000_000,
132132
value=1,
133+
protected=fork.supports_protected_txs(),
133134
)
134135

135136
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial01_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial01_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -142,6 +142,7 @@ def test_sstore_combinations_initial01_paris(
142142
data=initcode,
143143
gas_limit=2_000_000,
144144
value=1,
145+
protected=fork.supports_protected_txs(),
145146
)
146147

147148
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial10_2_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial10_2_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -130,6 +130,7 @@ def test_sstore_combinations_initial10_2_paris(
130130
data=initcode,
131131
gas_limit=2_000_000,
132132
value=1,
133+
protected=fork.supports_protected_txs(),
133134
)
134135

135136
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial10_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial10_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -144,6 +144,7 @@ def test_sstore_combinations_initial10_paris(
144144
data=initcode,
145145
gas_limit=2_000_000,
146146
value=1,
147+
protected=fork.supports_protected_txs(),
147148
)
148149

149150
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial11_2_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial11_2_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -130,6 +130,7 @@ def test_sstore_combinations_initial11_2_paris(
130130
data=initcode,
131131
gas_limit=2_000_000,
132132
value=1,
133+
protected=fork.supports_protected_txs(),
133134
)
134135

135136
post = {

tests/ported_static/stTimeConsuming/test_sstore_combinations_initial11_paris.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"state_tests/stTimeConsuming/sstore_combinations_initial11_ParisFiller.json" # noqa: E501
3030
],
3131
)
32-
@pytest.mark.valid_from("Cancun")
32+
@pytest.mark.valid_from("Byzantium")
3333
@pytest.mark.slow
3434
@pytest.mark.parametrize(
3535
"d",
@@ -130,6 +130,7 @@ def test_sstore_combinations_initial11_paris(
130130
data=initcode,
131131
gas_limit=2_000_000,
132132
value=1,
133+
protected=fork.supports_protected_txs(),
133134
)
134135

135136
post = {

0 commit comments

Comments
 (0)