diff --git a/libethcore/Params.cpp b/libethcore/Params.cpp index d986b889b..0c23eccd0 100644 --- a/libethcore/Params.cpp +++ b/libethcore/Params.cpp @@ -39,14 +39,15 @@ u256 const dev::eth::c_sstoreClearGas = 5000; u256 const dev::eth::c_sstoreRefundGas = 15000; u256 const dev::eth::c_jumpdestGas = 1; -u256 const dev::eth::c_logGas = 2000; +u256 const dev::eth::c_logGas = 375; u256 const dev::eth::c_logDataGas = 8; -u256 const dev::eth::c_logTopicGas = 2000; +u256 const dev::eth::c_logTopicGas = 375; u256 const dev::eth::c_createGas = 32000; u256 const dev::eth::c_callGas = 40; -u256 const dev::eth::c_callValueTransferGas = 6700; +u256 const dev::eth::c_callStipend = 2300; +u256 const dev::eth::c_callValueTransferGas = 9000; u256 const dev::eth::c_callNewAccountGas = 25000; u256 const dev::eth::c_suicideRefundGas = 24000; diff --git a/libethcore/Params.h b/libethcore/Params.h index 1b58c80e9..120034b0e 100644 --- a/libethcore/Params.h +++ b/libethcore/Params.h @@ -50,6 +50,7 @@ extern u256 const c_logTopicGas; ///< Multiplied by the * of the LOG*, per LOG extern u256 const c_createGas; ///< Once per CREATE operation & contract-creation transaction. extern u256 const c_createDataGas; extern u256 const c_callGas; ///< Once per CALL operation & message call transaction. +extern u256 const c_callStipend; ///< Free gas given at beginning of call. extern u256 const c_callNewAccountGas; ///< Paid for CALL when the destination address didn't exist prior. extern u256 const c_callValueTransferGas; ///< Paid for CALL when the value transfor is non-zero. extern u256 const c_suicideRefundGas; ///< Refunded following a suicide operation.