aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/GasMeter.h
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.h
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.h')
-rw-r--r--libevmasm/GasMeter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/GasMeter.h b/libevmasm/GasMeter.h
index 8ade838a..7c6a04ce 100644
--- a/libevmasm/GasMeter.h
+++ b/libevmasm/GasMeter.h
@@ -44,6 +44,8 @@ namespace GasCosts
static unsigned const tier5Gas = 10;
static unsigned const tier6Gas = 20;
static unsigned const tier7Gas = 0;
+ static unsigned const extCodeGas = 700;
+ static unsigned const balanceGas = 400;
static unsigned const expGas = 10;
static unsigned const expByteGas = 10;
static unsigned const sha3Gas = 30;