Skip to content

Commit 8f29db1

Browse files
committed
[ETCM-910] Apply PR remarks
1 parent 5d93cee commit 8f29db1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/io/iohk/ethereum/vm/PrecompiledContracts.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import io.iohk.ethereum.utils.ByteUtils
1111
import io.iohk.ethereum.vm.BlockchainConfigForEvm.EtcForks.EtcFork
1212
import io.iohk.ethereum.vm.BlockchainConfigForEvm.EthForks.EthFork
1313
import io.iohk.ethereum.vm.BlockchainConfigForEvm.{EtcForks, EthForks}
14-
import io.iohk.ethereum.vm.PrecompiledContracts.ModExp.PostEIP198Cost.getMultComplexity
1514

1615
import scala.util.Try
1716

@@ -208,6 +207,7 @@ object PrecompiledContracts {
208207
PostEIP198Cost.calculate(baseLength, modLength, expLength, expBytes)
209208
}
210209

210+
// details https://eips.ethereum.org/EIPS/eip-198
211211
object PostEIP198Cost {
212212
private val GQUADDIVISOR = 20
213213

@@ -228,6 +228,7 @@ object PrecompiledContracts {
228228
}
229229
}
230230

231+
// details https://eips.ethereum.org/EIPS/eip-2565
231232
object PostEIP2565Cost {
232233
private val GQUADDIVISOR = 3
233234

0 commit comments

Comments
 (0)