aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2017-09-20 17:27:00 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-20 17:27:00 +0800
commitb9ff44bd64b9e59806577239eb037f99aad5fff4 (patch)
tree115a8d753d777163bc936007ed952741f06b5b2f
parentcb5235eb0767c4de4ba6cc94cf8283421b2179c1 (diff)
downloadgo-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.gz
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.bz2
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.lz
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.xz
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.tar.zst
go-tangerine-b9ff44bd64b9e59806577239eb037f99aad5fff4.zip
params: rename EIP150 gas table (#15167)
-rw-r--r--params/config.go2
-rw-r--r--params/gas_table.go4
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,