diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-01-16 21:49:14 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-25 22:14:58 +0800 |
commit | e54a3ead16322d6ff816187ad778166271cadb01 (patch) | |
tree | af62a1db5590a25dd465e388c8c34ff28194abe6 /libevmasm/GasMeter.h | |
parent | f2775f82d02336ef8ec64ec391e8433448b2afd8 (diff) | |
download | dexon-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.h | 3 |
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; |