core/vm: fix typos and use ExpGas for EXP (#18400)

This replaces the GasSlowStep constant with params.ExpGas.
Both constants have value 10.
This commit is contained in:
Nalin Bhardwaj
2019-01-24 16:44:02 +05:30
committed by Felix Lange
parent fa34429a26
commit b8f9b3779f
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ const (
NetSstoreResetRefund uint64 = 4800 // Once per SSTORE operation for resetting to the original non-zero value
NetSstoreResetClearRefund uint64 = 19800 // Once per SSTORE operation for resetting to the original zero value
JumpdestGas uint64 = 1 // Refunded gas, once per SSTORE operation if the zeroness changes to zero.
JumpdestGas uint64 = 1 // Once per JUMPDEST operation.
EpochDuration uint64 = 30000 // Duration between proof-of-work epochs.
CallGas uint64 = 40 // Once per CALL operation & message call transaction.
CreateDataGas uint64 = 200 //