We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1f2b5 commit c3e6bb3Copy full SHA for c3e6bb3
src/ethereum/osaka/vm/precompiled_contracts/modexp.py
@@ -19,8 +19,6 @@
19
from ...vm.gas import charge_gas
20
from ..memory import buffer_read
21
22
-GQUADDIVISOR = Uint(3)
23
-
24
25
def modexp(evm: Evm) -> None:
26
"""
@@ -177,5 +175,4 @@ def gas_cost(
177
175
multiplication_complexity = complexity(base_length, modulus_length)
178
176
iteration_count = iterations(exponent_length, exponent_head)
179
cost = multiplication_complexity * iteration_count
180
- cost //= GQUADDIVISOR
181
return max(Uint(500), cost)
0 commit comments