From cbfb40b0aab093e1b612f3b16834894b2cc67882 Mon Sep 17 00:00:00 2001 From: kiel barry Date: Tue, 5 Jun 2018 03:31:34 -0700 Subject: params: fix golint warnings (#16853) params: fix golint warnings --- params/gas_table.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'params/gas_table.go') diff --git a/params/gas_table.go b/params/gas_table.go index 4969382b1..d33bebbe5 100644 --- a/params/gas_table.go +++ b/params/gas_table.go @@ -16,6 +16,7 @@ package params +// GasTable organizes gas prices for different ethereum phases. type GasTable struct { ExtcodeSize uint64 ExtcodeCopy uint64 @@ -34,6 +35,7 @@ type GasTable struct { CreateBySuicide uint64 } +// Variables containing gas prices for different ethereum phases. var ( // GasTableHomestead contain the gas prices for // the homestead phase. @@ -47,8 +49,8 @@ var ( ExpByte: 10, } - // GasTableHomestead contain the gas re-prices for - // the homestead phase. + // GasTableEIP150 contain the gas re-prices for + // the EIP150 phase. GasTableEIP150 = GasTable{ ExtcodeSize: 700, ExtcodeCopy: 700, @@ -60,7 +62,8 @@ var ( CreateBySuicide: 25000, } - + // GasTableEIP158 contain the gas re-prices for + // the EIP15* phase. GasTableEIP158 = GasTable{ ExtcodeSize: 700, ExtcodeCopy: 700, -- cgit v1.2.3