EIP-6 Renaming the SUICIDE Opcode (Renaming SUICIDE opcode)

Final · EVM & execution · EIP status Final · created 2015-11-22

This renames the instruction that destroys a contract in the Ethereum programming language from SUICIDE to SELFDESTRUCT. Instead of removing the existing name, the new name is added as an alias.

Why it is needed

Mental health is a very real issue for many people, and even a small change in wording can make a difference. By some estimates, 350 million people worldwide suffer from depression. For someone experiencing loss or depression, it is better not to encounter the word suicide within a programming language. In fact, the Ethereum security audit commissioned by DEVolution, GmbH and conducted by Least Authority also recommended renaming the suicide instruction to a less jarring word such as self-destruct, destroy, terminate, or close, since the name refers to a contract naturally ending its lifetime. This change is meant to show that people matter more than code, and that Ethereum is a mature enough project to recognize the need for change. Since Ethereum is still a young platform, changing it now is less burdensome than changing it later.

What changes

Today

After EIP-6

Who is affected

In depth

Proposal: Adding an Alias Rather Than Replacing the Name

This EIP proposes renaming the SUICIDE opcode to SELFDESTRUCT in Ethereum programming languages. Rather than deleting and replacing SUICIDE, the implementation adds SELFDESTRUCT as an alias for the SUICIDE opcode. As a result, the opcode value and execution behavior at the EVM bytecode level do not change; only the name used at the language surface is added. The source links the actual implementations as a Solidity commit (a8736b7) and a Serpent commit (1106c3b).

Motivation: Mental Health and Ecosystem Growth

The source states that mental health is a real issue for many people and that even small changes in wording can make a difference. By some estimates, 350 million people worldwide suffer from depression, and it explains that someone experiencing loss or depression is better off not seeing the word suicide in a programming language. It also notes that expanding the ecosystem to all types of developers requires frequently reviewing the semantics of the Ethereum programming language. This change is primarily meant to show that people matter more than code, and that Ethereum is a mature enough project to recognize the need for change. It also cites the fact that Ethereum is still a young platform as a reason why changing it early in its life is less burdensome than changing it later.

The Security Audit's Recommendation

The Ethereum security audit commissioned by DEVolution, GmbH and conducted by Least Authority recommended renaming the suicide instruction to a word with less charged connotations, such as self-destruct, destroy, terminate, or close. In particular, it cited the fact that this instruction refers to the natural termination of a contract. This EIP adopted that recommendation and chose the name SELFDESTRUCT.

Standard Classification and Status

This EIP belongs to the Interface category of the Standards Track, since it deals with naming at the programming language level rather than consensus rules. It was created on November 22, 2015, authored by Hudson Jameson, and its current status is Final. Because it is Final, its content is settled and will not change further.

Original EIP · ← EIPs