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

Question: Can a contract creation sender be dead but non-empty? #821

Open
hacker-DOM opened this issue Oct 20, 2021 · 2 comments
Open

Question: Can a contract creation sender be dead but non-empty? #821

hacker-DOM opened this issue Oct 20, 2021 · 2 comments

Comments

@hacker-DOM
Copy link
Contributor

hacker-DOM commented Oct 20, 2021

The YP contains the following formula (currently (86)):

the condition in the first case can be described as "dead but not-empty" (DBNE) (empty is defined as all fields being empty, as opposed to the entire account being empty)

The sender of a top-level transaction cannot be DBNE per the second formula of a transaction validation function (currently (59)):

It also seems clear that a contract creation through EVM code cannot come from a DBNE account, both during initialization and during regular execution (also in the cases of selfdestructs), so this case should never occur?

Is there a meaning to this case that I am missing, or is it intended for future-proofness?

@hacker-DOM hacker-DOM changed the title Question: Can a contract creation sender be dead? Question: Can a contract creation sender be dead but non-empty? Oct 20, 2021
@yperbasis
Copy link
Member

yperbasis commented Nov 1, 2021

The YP is not accurate in prohibiting transactions from non-existing senders; historically there have been such with 0 gas price. I've created PR #822 to amend the YP.

@axic
Copy link
Member

axic commented Nov 2, 2021

So this issue should be closed via #822?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants