diff options
author | gary rong <garyrong0905@gmail.com> | 2018-07-24 23:06:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-24 23:06:40 +0800 |
commit | 2433349c808fad601419d1f06275bec5b6a93ec8 (patch) | |
tree | 883b11148d15fd8a191131a9aaf17731f28856d0 /params/config.go | |
parent | cab1cff11cbcd4ff60f1a149deb71ec87413b487 (diff) | |
download | dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.gz dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.bz2 dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.lz dexon-2433349c808fad601419d1f06275bec5b6a93ec8.tar.xz 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.go | 2 |
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): |