aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/GasMeter.cpp
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-01-16 21:43:44 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:14:58 +0800
commitf2775f82d02336ef8ec64ec391e8433448b2afd8 (patch)
tree0d3127ad132e008fdb90e414adf8f92eea123e00 /libevmasm/GasMeter.cpp
parent7da9ba68e9540314c6b51c119a14f3afde02a385 (diff)
downloaddexon-solidity-f2775f82d02336ef8ec64ec391e8433448b2afd8.tar.gz
dexon-solidity-f2775f82d02336ef8ec64ec391e8433448b2afd8.tar.zst
dexon-solidity-f2775f82d02336ef8ec64ec391e8433448b2afd8.zip
libevmadm: EIP150.a changes on EXTCODE, EXTCODESIZE and BALANCE
Diffstat (limited to 'libevmasm/GasMeter.cpp')
-rw-r--r--libevmasm/GasMeter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp
index a0adc35d..5cb25a22 100644
--- a/libevmasm/GasMeter.cpp
+++ b/libevmasm/GasMeter.cpp
@@ -232,6 +232,8 @@ unsigned GasMeter::runGas(Instruction _instruction)
case Tier::High: return GasCosts::tier5Gas;
case Tier::Ext: return GasCosts::tier6Gas;
case Tier::Special: return GasCosts::tier7Gas;
+ case Tier::ExtCode: return GasCosts::extCodeGas;
+ case Tier::Balance: return GasCosts::balanceGas;
default: break;
}
assertThrow(false, OptimizerException, "Invalid gas tier.");