aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/GasMeter.h
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-01-16 21:49:14 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:14:58 +0800
commite54a3ead16322d6ff816187ad778166271cadb01 (patch)
treeaf62a1db5590a25dd465e388c8c34ff28194abe6 /libevmasm/GasMeter.h
parentf2775f82d02336ef8ec64ec391e8433448b2afd8 (diff)
downloaddexon-solidity-e54a3ead16322d6ff816187ad778166271cadb01.tar.gz
dexon-solidity-e54a3ead16322d6ff816187ad778166271cadb01.tar.zst
dexon-solidity-e54a3ead16322d6ff816187ad778166271cadb01.zip
libevmasm: EIP150.a changes on SLOAD, CALL, CALLCODE, DELEGATECALL and SUICIDE
Diffstat (limited to 'libevmasm/GasMeter.h')
-rw-r--r--libevmasm/GasMeter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libevmasm/GasMeter.h b/libevmasm/GasMeter.h
index 7c6a04ce..146f08a2 100644
--- a/libevmasm/GasMeter.h
+++ b/libevmasm/GasMeter.h
@@ -59,10 +59,11 @@ namespace GasCosts
static unsigned const logDataGas = 8;
static unsigned const logTopicGas = 375;
static unsigned const createGas = 32000;
- static unsigned const callGas = 40;
+ static unsigned const callGas = 700;
static unsigned const callStipend = 2300;
static unsigned const callValueTransferGas = 9000;
static unsigned const callNewAccountGas = 25000;
+ static unsigned const selfdestructGas = 5000;
static unsigned const selfdestructRefundGas = 24000;
static unsigned const memoryGas = 3;
static unsigned const quadCoeffDiv = 512;