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

EIP-7610: Revert creation in case of non-empty storage #2686

Merged
merged 6 commits into from
Jan 23, 2025

Conversation

Robertorosmaninho
Copy link
Collaborator

Implement EIP-7610.

This EIP amends EIP-684 with one extra condition, requiring empty storage for contract deployment.

EIP-684 was implemented here:27d15be


rule <k> #newExistingAccount ACCT => .K ... </k>
<account>
<acctID> ACCT </acctID>
<code> CODE </code>
<nonce> 0 </nonce>
<storage> _ => .Map </storage>
<storage> STORAGE </storage>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor optimization. Match here against .Map instead of putting it in the side condition.

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit 61b8f9e into master Jan 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants