EIP-6780: Deactivate SELFDESTRUCT, except where it occurs in the same transaction in which a contract was created

Gas refunds for SELFDESTRUCT were previously removed in EIP-3529.

However, in practice this makes ephemeral, counterfactual contracts infeasible (since there’s no gas saving to self-destructing the contract). @geoknee outlined some benefits of this pattern in this post.

Given that this EIP explicitly maintains the functionality for SELFDESTRUCT when used in the same transaction as construction, would this be an appropriate time to re-introduce the gas refund for SELFDESTRUCT?

1 Like