-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Update EIP-7702: selfdestruct opcode behaviour change in eip-7702 #8832
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
Conversation
File
|
This clarification makes sense and is in general how I anticipated the EIP to be implemented. Currently the EIP doesn't specify that the auth list accounts should be considered "created in this tx" as defined by EIP-6780:
So given that definition, 7702 delegation designations are not "created" during the tx and therefore cannot be selfdestructed. |
|
I don't think SELFDESTRUCT should revert the deployment of a delegation designation. It isn't added to the list of "deployed contracts" during the tx for a reason. |
Suggestion for two cases that the tests should cover:
|
I've been out of loop on this for a while. I suppose we should merge this PR? There's been no change on this behavior. |
corresponds to this discord comment