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

Add EIP: SETCODE instruction #6913

Merged
merged 6 commits into from
Apr 25, 2023
Merged

Conversation

wjmelements
Copy link
Contributor

SETCODE allows contracts to replace their code without clearing their internal state.
I hope SETCODE will be adopted at the same time that SELFDESTRUCT is broken, in order to preserve in-place code replacement.

Changes

Create EIP introducing SETCODE

@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core labels Apr 19, 2023
@eth-bot
Copy link
Collaborator

eth-bot commented Apr 19, 2023

✅ All reviewers have approved.

@eth-bot eth-bot changed the title SETCODE Instruction Add EIP: SETCODE instruction Apr 19, 2023
@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Apr 19, 2023
@github-actions
Copy link

The commit 4e36006 (as a parent of dd4535f) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Apr 19, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Apr 20, 2023
@wjmelements
Copy link
Contributor Author

I generated the test cases with my assembler

Copy link
Member

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

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

LGTM.

@eth-bot eth-bot enabled auto-merge (squash) April 25, 2023 12:38
Copy link
Collaborator

@eth-bot eth-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eth-bot eth-bot merged commit f13719d into ethereum:master Apr 25, 2023
@Sintayew4
Copy link

#6913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants