forked from cerc-io/plugeth
params: rename EIP150 gas table (#15167)
This commit is contained in:
parent
cb5235eb07
commit
b9ff44bd64
@ -197,7 +197,7 @@ func (c *ChainConfig) GasTable(num *big.Int) GasTable {
|
|||||||
case c.IsEIP158(num):
|
case c.IsEIP158(num):
|
||||||
return GasTableEIP158
|
return GasTableEIP158
|
||||||
case c.IsEIP150(num):
|
case c.IsEIP150(num):
|
||||||
return GasTableHomesteadGasRepriceFork
|
return GasTableEIP150
|
||||||
default:
|
default:
|
||||||
return GasTableHomestead
|
return GasTableHomestead
|
||||||
}
|
}
|
||||||
|
@ -49,9 +49,7 @@ var (
|
|||||||
|
|
||||||
// GasTableHomestead contain the gas re-prices for
|
// GasTableHomestead contain the gas re-prices for
|
||||||
// the homestead phase.
|
// the homestead phase.
|
||||||
//
|
GasTableEIP150 = GasTable{
|
||||||
// TODO rename to GasTableEIP150
|
|
||||||
GasTableHomesteadGasRepriceFork = GasTable{
|
|
||||||
ExtcodeSize: 700,
|
ExtcodeSize: 700,
|
||||||
ExtcodeCopy: 700,
|
ExtcodeCopy: 700,
|
||||||
Balance: 400,
|
Balance: 400,
|
||||||
|
Loading…
Reference in New Issue
Block a user