2 Commits

Author SHA1 Message Date
vbuterin
12e25bb307
Fixes to EIP 2929 formatting
Thanks to @lightclient and @MicahZoltu for all the suggestions/fixes!
2020-09-02 09:32:55 +08:00
vbuterin
e7ffa279c4
Gas cost increases for state access opcodes (#2929)
Increase the gas cost of SLOAD to 2100, and the CALL opcode family, BALANCE and the EXT* opcode family to 2600. Exempts (i) precompiles, and (ii) addresses and storage slots that have already been accessed in the same transaction. Additionally reforms SSTORE metering and SELFDESTRUCT to ensure "de-facto storage loads" inherent in those opcodes are priced correctly.
2020-09-02 00:11:28 +08:00