-
Notifications
You must be signed in to change notification settings - Fork 514
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-3607: transactions from senders with deployed contract are forbidden #801
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (text-wise, haven't reviewed the rendered diff)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition should be
\boldsymbol{\sigma}[S(T)]_{\mathrm{c}} = \texttt{KEC}\big( () \big)
i.e. that sender's codeHash is that of an empty string.
For example, check the definition of an empty account in Eq (14).
I_{\mathbf{b}}
isn't correct: it refers to initialising code, not sender's code.
Also, please add the condition to the validity Eq (59).
@yperbasis we discussed the change on ACD and decided to go with empty codehash as the condition instead of codesize as you proposed. Will un-draft the PR once the changes are merged into the EIP, the tests and the EIP is moved into Final |
See ethereum/go-ethereum#23002 (comment) Basically, a client implementing this change must be careful. If the same 'check' as |
Shall we merge it, given that it's already in geth (ethereum/go-ethereum#23303) ? |
Draft PR for EIP-3607 (https://eips.ethereum.org/EIPS/eip-3607).
Waits for 3607 to be approved by the Core Devs
cc @dankrad