EIP-3978: Gas refunds on reverts

Let’s discuss this: https://github.com/ethereum/EIPs/pull/3978

1 Like

Makes sense to count all SSTOREs as SLOADs if a transaction reverts since the storage is accessed but not modified.

3 Likes

Good idea! I believe that this idea will reduce the cost of reverted transactions.

@poma I like the approach!

Anyone have experience in pushing EIPs right into upcoming hard forks?

Extended this EIP to other state-modifying operations: https://github.com/ethereum/EIPs/pull/4790