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-7702: Prohibit SSTORE #8539

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SamWilsn
Copy link
Contributor

@SamWilsn SamWilsn commented May 9, 2024

No description provided.

@github-actions github-actions bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels May 9, 2024
@eth-bot
Copy link
Collaborator

eth-bot commented May 9, 2024

✅ All reviewers have approved.

@Amxx
Copy link
Contributor

Amxx commented May 9, 2024

Today, you can create a contract, manipulate storage freely, and selfdestruct it before the end of the transaction. In that case, storage is cleared, effectivelly behaving like TSTORE.

Should we replicate that behavior, considering that the reset at the end of an EIP-7702 transaction is simlilar to a selfdestruct?

@wjmelements
Copy link
Contributor

SSTORE would be useful for persisting state across transactions. It won't be necessary for most use-cases, but I would prefer if it is possible. Some uses I can imagine:

  • Marking nonces as used
  • Approval
  • Whitelist, Blacklist

@LwkkyLDdubz
Copy link

SSTORE would be useful for persisting state across transactions. It won't be necessary for most use-cases, but I would prefer if it is possible. Some uses I can imagine:

  • Marking nonces as used
  • Approval
  • Whitelist, Blacklist

Reviewing cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

5 participants