Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
b9ff44bd
Commit
b9ff44bd
authored
Sep 20, 2017
by
gary rong
Committed by
Felix Lange
Sep 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
params: rename EIP150 gas table (#15167)
parent
cb5235eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
config.go
params/config.go
+1
-1
gas_table.go
params/gas_table.go
+1
-3
No files found.
params/config.go
View file @
b9ff44bd
...
@@ -197,7 +197,7 @@ func (c *ChainConfig) GasTable(num *big.Int) GasTable {
...
@@ -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
GasTable
HomesteadGasRepriceFork
return
GasTable
EIP150
default
:
default
:
return
GasTableHomestead
return
GasTableHomestead
}
}
...
...
params/gas_table.go
View file @
b9ff44bd
...
@@ -49,9 +49,7 @@ var (
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment