Browse Source

Log/bloom alterations.

cl-refactor
Gav Wood 10 years ago
parent
commit
54bbd1a8e2
  1. 7
      libevm/FeeStructure.cpp
  2. 1
      libevm/FeeStructure.h

7
libevm/FeeStructure.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;

1
libevm/FeeStructure.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.

Loading…
Cancel
Save