Skip to content
This repository was archived by the owner on Oct 4, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 1.17 KB

File metadata and controls

33 lines (25 loc) · 1.17 KB
domain shortname name status editor
rfc.ethereumclassic
5/FEE
Gas Cost Changes for IO-heavy Operations
deprecated
Wei Tang <hi@that.world>

This refers to the IO-gas cost change hard fork. The EIP can be found at EIP-150.

Changes

Fees below has changed, compared with 4/FEE.

  • Increase the gas cost of EXTCODESIZE to 700
  • Increase the base gas cost of EXTCODECOPY to 700
  • Increase the gas cost of BALANCE to 400
  • Increase the gas cost of SLOAD to 200
  • Increase the gas cost of CALL, DELEGATECALL, CALLCODE to 700
  • Increase the gas cost of SUICIDE to 5000
  • Increase the recommended gas limit target to 5.5 million
  • If a call asks for more gas than the maximum allowed amount, do not return an OOG error; instead, call with the maximum allowed amount of gas
  • If SUICIDE hits a newly created account, it triggers an additional gas cost of 25000 (similar to CALLs)

Fee Schedule

(The fee schedule table will be computed later.)

Gas Cost

As the fee constants have been determinted, this RFC should also specify the gas cost algorithms to be executed. The currently should refer to the EIP-150 revision of the yellow paper.