Skip to content

Commit 89cec41

Browse files
refactor(tests): simplify boundary modexp test cases
1 parent 87c8cac commit 89cec41

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

tests/osaka/eip7883_modexp_gas_increase/test_modexp_thresholds.py

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -157,30 +157,12 @@ def create_boundary_modexp_case(
157157
create_boundary_modexp_case(
158158
modulus="FF" * (Spec.MAX_LENGTH_BYTES + 1), case_id="modulus-too-long"
159159
),
160-
# create_boundary_modexp_case(
161-
# base="FF" * (Spec.MAX_LENGTH_BYTES + 1),
162-
# exponent="FF" * (Spec.MAX_LENGTH_BYTES + 1),
163-
# modulus="FF",
164-
# case_id="base-exponent-too-long",
165-
# ),
166-
# create_boundary_modexp_case(
167-
# base="FF" * (Spec.MAX_LENGTH_BYTES + 1),
168-
# exponent="FF",
169-
# modulus="FF" * (Spec.MAX_LENGTH_BYTES + 1),
170-
# case_id="base-modulus-too-long",
171-
# ),
172-
# create_boundary_modexp_case(
173-
# base="FF",
174-
# exponent="FF" * (Spec.MAX_LENGTH_BYTES + 1),
175-
# modulus="FF" * (Spec.MAX_LENGTH_BYTES + 1),
176-
# case_id="exponent-modulus-too-long",
177-
# ),
178-
# create_boundary_modexp_case(
179-
# base="FF" * (Spec.MAX_LENGTH_BYTES + 1),
180-
# exponent="FF" * (Spec.MAX_LENGTH_BYTES + 1),
181-
# modulus="FF" * (Spec.MAX_LENGTH_BYTES + 1),
182-
# case_id="all-too-long",
183-
# ),
160+
create_boundary_modexp_case(
161+
base="FF" * (Spec.MAX_LENGTH_BYTES + 1),
162+
exponent="FF",
163+
modulus="FF" * (Spec.MAX_LENGTH_BYTES + 1),
164+
case_id="base-modulus-too-long",
165+
),
184166
],
185167
)
186168
def test_modexp_boundary_inputs(

0 commit comments

Comments
 (0)