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

Fix operation order during tracing suicide op code #4409

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

iFA88
Copy link
Contributor

@iFA88 iFA88 commented Jun 8, 2022

When a contract calls suicide where the refund address is same as his address - refunding to himself -, then the tracer should be called after balance change.
I believe the L839 variable balance is just a pointer to an uint256 object, which is the same what is used during AddBalance.
This fixes #3953 issue.

@AlexeyAkhunov AlexeyAkhunov merged commit bd96c69 into ledgerwatch:devel Jun 8, 2022
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

Successfully merging this pull request may close these issues.

Trace: Bad address balance during SUICIDE
2 participants