aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-07-24 23:06:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-24 23:06:40 +0800
commit2433349c808fad601419d1f06275bec5b6a93ec8 (patch)
tree883b11148d15fd8a191131a9aaf17731f28856d0 /params/config.go
parentcab1cff11cbcd4ff60f1a149deb71ec87413b487 (diff)
downloaddexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.gz
dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.zst
dexon-2433349c808fad601419d1f06275bec5b6a93ec8.zip
core/vm, params: implement EXTCODEHASH opcode (#17202)
* core/vm, params: implement EXTCODEHASH opcode * core, params: tiny fixes and polish * core: add function description
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/params/config.go b/params/config.go
index 6e6a5cb8b..b9e9bb8d6 100644
--- a/params/config.go
+++ b/params/config.go
@@ -211,6 +211,8 @@ func (c *ChainConfig) GasTable(num *big.Int) GasTable {
return GasTableHomestead
}
switch {
+ case c.IsConstantinople(num):
+ return GasTableConstantinople
case c.IsEIP158(num):
return GasTableEIP158
case c.IsEIP150(num):