diff options
author | gary rong <garyrong0905@gmail.com> | 2017-09-20 17:27:00 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-09-20 17:27:00 +0800 |
commit | b9ff44bd64b9e59806577239eb037f99aad5fff4 (patch) | |
tree | 115a8d753d777163bc936007ed952741f06b5b2f /params | |
parent | cb5235eb0767c4de4ba6cc94cf8283421b2179c1 (diff) | |
download | dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.gz dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.bz2 dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.lz dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.xz dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.zst dexon-b9ff44bd64b9e59806577239eb037f99aad5fff4.zip |
params: rename EIP150 gas table (#15167)
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 2 | ||||
-rw-r--r-- | params/gas_table.go | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/params/config.go b/params/config.go index 5c6f0b6bf..fff168a8c 100644 --- a/params/config.go +++ b/params/config.go @@ -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 } diff --git a/params/gas_table.go b/params/gas_table.go index a06053904..4969382b1 100644 --- a/params/gas_table.go +++ b/params/gas_table.go @@ -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, |