Skip to content

Commit b9ff44b

Browse files
rjl493456442fjl
authored andcommitted
params: rename EIP150 gas table (#15167)
1 parent cb5235e commit b9ff44b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎params/config.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (c *ChainConfig) GasTable(num *big.Int) GasTable {
197197
case c.IsEIP158(num):
198198
return GasTableEIP158
199199
case c.IsEIP150(num):
200-
return GasTableHomesteadGasRepriceFork
200+
return GasTableEIP150
201201
default:
202202
return GasTableHomestead
203203
}

‎params/gas_table.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ var (
4949

5050
// GasTableHomestead contain the gas re-prices for
5151
// the homestead phase.
52-
//
53-
// TODO rename to GasTableEIP150
54-
GasTableHomesteadGasRepriceFork = GasTable{
52+
GasTableEIP150 = GasTable{
5553
ExtcodeSize: 700,
5654
ExtcodeCopy: 700,
5755
Balance: 400,

0 commit comments

Comments
 (0)