-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix selfdestruct empty vs. exists bug #878
Conversation
Can you reference some literature about this issue? Is this experimental or is it there a documented description about this behavior? |
Here is the documentation inside the geth code and the related eip 161 |
f952a5a
04fa7a9
to
f952a5a
Compare
f952a5a
to
7bdc44d
Compare
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.
Thanks for test refactor. 👍
The ethereum tests pointed out another problem regarding selfdestruct, the dynamic gas computation should not rely on whether the account exists but if its balance = 0, code = nil and nonce = 0.