diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go index 7319060e27..d8d5127be5 100644 --- a/core/vm/gas_table.go +++ b/core/vm/gas_table.go @@ -380,7 +380,7 @@ func gasExp(gt params.GasTable, evm *EVM, contract *Contract, stack *Stack, mem gas = expByteLen * gt.ExpByte // no overflow check required. Max is 256 * ExpByte gas overflow bool ) - if gas, overflow = math.SafeAdd(gas, GasSlowStep); overflow { + if gas, overflow = math.SafeAdd(gas, params.ExpGas); overflow { return 0, errGasUintOverflow } return gas, nil