-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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-7702: selfdestruct opcode behaviour change in eip-7702 #8832
base: master
Are you sure you want to change the base?
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:
|
corresponds to this discord comment