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

Update EIP-6780: Add clarifications to EIP-6780 #7308

Merged
merged 9 commits into from
Sep 10, 2023

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Jul 11, 2023

  • Contract creation and account creation can occur in separate transactions
  • If a contract is not destroyed, any SELFDESTRUCT to self burning will not occur.
  • SELFDESTRUCT always halts the current frame, wether in "sweep" mode or legacy mode

* Contract creation and account creation can occur in separate transactions
* If a contract is not destroyed, any SELFDESTRUCT to self burning will not occur.
@shemnon shemnon requested a review from eth-bot as a code owner July 11, 2023 01:55
@github-actions github-actions bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels Jul 11, 2023
@eth-bot
Copy link
Collaborator

eth-bot commented Jul 11, 2023

✅ All reviewers have approved.

@eth-bot eth-bot changed the title Add clarifications to EIP-6780 Update EIP-6780: Add clarifications to EIP-6780 Jul 11, 2023
@eth-bot eth-bot added the a-review Waiting on author to review label Jul 11, 2023
EIPS/eip-6780.md Outdated Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
@invocamanman
Copy link

invocamanman commented Aug 4, 2023

So, IMHO think that after this EIP self destruct basically will be useful for:

  • Burning/injecting ether
  • Creating contracts on different transactions on the same address that finally get destroyed.

As per the second point, if an account wants to execute certain logic, isn't cheaper to just create a contract and then halt the execution with an STOP for example? It won't be on the same address every time, but it's way cheaper than Selfdestruct, anyway there are no refunds attached.
My point is that i think there are a very few use cases except for burning/injecting ether currently.

EIPS/eip-6780.md Outdated Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
@smartprogrammer93
Copy link
Contributor

smartprogrammer93 commented Aug 16, 2023

Why are we not merging this already? clients' implementations match this now
I guess just need to apply @dankrad's suggestions and we are done.

shemnon and others added 2 commits August 16, 2023 08:30
Co-authored-by: dankrad <mail@dankradfeist.de>
@shemnon
Copy link
Contributor Author

shemnon commented Aug 16, 2023

suggestions merged. @dankrad @gballet @vbuterin please merge pr into master.

Copy link
Member

@jochem-brouwer jochem-brouwer left a comment

Choose a reason for hiding this comment

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

Two style comments.

Need to await thoughts about destroying pre-existing accounts (i.e. with balance) regarding Verkle.

EIPS/eip-6780.md Show resolved Hide resolved
EIPS/eip-6780.md Outdated Show resolved Hide resolved
@shemnon shemnon requested a review from dankrad August 22, 2023 14:51
@eth-bot eth-bot enabled auto-merge (squash) September 10, 2023 03:35
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 22c0ef2 into ethereum:master Sep 10, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-review Waiting on author to review c-update Modifies an existing proposal s-draft This EIP is a Draft t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants