Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/vm: Rename opSuicide to opSelfdestruct #24022

Merged
merged 2 commits into from Dec 1, 2021

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 added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 23, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 23, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 23, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 26, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 27, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Feb 27, 2024
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 Feb 27, 2024
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.
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.

None yet

3 participants