Skip to content

Commit

Permalink
params: rename EIP150 gas table (ethereum#15167)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 authored and fjl committed Sep 20, 2017
1 parent cb5235e commit b9ff44b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (c *ChainConfig) GasTable(num *big.Int) GasTable {
case c.IsEIP158(num):
return GasTableEIP158
case c.IsEIP150(num):
return GasTableHomesteadGasRepriceFork
return GasTableEIP150
default:
return GasTableHomestead
}
Expand Down
4 changes: 1 addition & 3 deletions params/gas_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ var (

// GasTableHomestead contain the gas re-prices for
// the homestead phase.
//
// TODO rename to GasTableEIP150
GasTableHomesteadGasRepriceFork = GasTable{
GasTableEIP150 = GasTable{
ExtcodeSize: 700,
ExtcodeCopy: 700,
Balance: 400,
Expand Down

0 comments on commit b9ff44b

Please sign in to comment.