Skip to content

Comments

core/vm: Rename opSuicide to opSelfdestruct#24022

Merged
holiman merged 2 commits intoethereum:masterfrom
ipsilon:evm-selfdestruct
Dec 1, 2021
Merged

core/vm: Rename opSuicide to opSelfdestruct#24022
holiman merged 2 commits intoethereum:masterfrom
ipsilon:evm-selfdestruct

Conversation

@axic
Copy link
Member

@axic axic commented Nov 30, 2021

The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.

There are many other places where suicide is used as a term, including a lot in core/state (such as StateDB.Suicide) and the Suicide/HasSuicided interface in core/vm. The nitpicker in me would try to rename all those, but that may be too much for little benefit.

Let me know if this change here is not very useful and I'll avoid doing anything similar later.

@axic axic changed the title core/evm: Rename opSuicide to opSelfdestruct core/vm: Rename opSuicide to opSelfdestruct Nov 30, 2021
The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@karalabe karalabe added this to the 1.10.14 milestone Nov 30, 2021
@holiman holiman merged commit 2be129b into ethereum:master Dec 1, 2021
@holiman holiman deleted the evm-selfdestruct branch December 1, 2021 09:33
JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Mar 1, 2024
The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants