From 2ef0a3f09ffce3ba9b7cfec2d2f20f0001ec6011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 7 Jun 2018 15:30:15 +0200 Subject: [PATCH] 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. --- EIPS/eip-150.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EIPS/eip-150.md b/EIPS/eip-150.md index a6c7c8db134e3..709ffaecdca59 100644 --- a/EIPS/eip-150.md +++ b/EIPS/eip-150.md @@ -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)`.