mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-24 20:58:13 +00:00
EIP-150: Add information about previous gas costs
Because Yellow Paper only describes the latest mainnet hard fork, there is not official source of information were the gas costs before the changes of EIP-150 are provided.
This commit is contained in:
parent
9eea43a241
commit
2ef0a3f09f
@ -21,12 +21,12 @@ created: 2016-09-24
|
||||
### Specification
|
||||
|
||||
If `block.number >= FORK_BLKNUM`, then:
|
||||
- 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 SELFDESTRUCT to 5000.
|
||||
- Increase the gas cost of EXTCODESIZE to 700 (from 20).
|
||||
- Increase the base gas cost of EXTCODECOPY to 700 (from 20).
|
||||
- Increase the gas cost of BALANCE to 400 (from 20).
|
||||
- Increase the gas cost of SLOAD to 200 (from 50).
|
||||
- Increase the gas cost of CALL, DELEGATECALL, CALLCODE to 700 (from 40).
|
||||
- Increase the gas cost of SELFDESTRUCT to 5000 (from 0).
|
||||
- If SELFDESTRUCT hits a newly created account, it triggers an additional gas cost of 25000 (similar to CALLs).
|
||||
- Increase the recommended gas limit target to 5.5 million.
|
||||
- Define "all but one 64th" of `N` as `N - floor(N / 64)`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user