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

Remove self destructs from the native tracer #461

Merged
merged 5 commits into from
Aug 6, 2024
Merged

Conversation

4l0n50
Copy link
Contributor

@4l0n50 4l0n50 commented Aug 5, 2024

After EIP-6780 the only accounts that can be selfdestructed are those created in the current transaction. On the other hand apply_deltas_to_trie_state was deleting from the next trie exactly the accounts that shouldn't be deleted after EIP-6780, making some blocks (20000275, 20000407, 20000724, 20000747, 20000750, and 20000785) fail. This PR fixes this issue.

@4l0n50 4l0n50 requested review from muursh and Nashtare as code owners August 5, 2024 16:18
@github-actions github-actions bot added crate: trace_decoder Anything related to the trace_decoder crate. crate: zero_bin Anything related to the zero-bin subcrates. labels Aug 5, 2024
@4l0n50 4l0n50 changed the title Remove self destructs from the native trace Remove self destructs from the native tracer Aug 5, 2024
Copy link
Collaborator

@Nashtare Nashtare left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@Nashtare Nashtare added this to the Type 1 - Q3 2024 milestone Aug 6, 2024
@muursh
Copy link
Contributor

muursh commented Aug 6, 2024

clippy issues are addressed in #451 if you haven't already seen

@4l0n50
Copy link
Contributor Author

4l0n50 commented Aug 6, 2024

Yes I know. I need to wait until #451 is merged I guess.

@muursh
Copy link
Contributor

muursh commented Aug 6, 2024

Yes I know. I need to wait until #451 is merged I guess.

Nah. If you're finished with the PR I can just merge it, we know what the CI issue is and it's fixed elsewhere.

@4l0n50
Copy link
Contributor Author

4l0n50 commented Aug 6, 2024

Yes, it's finished.

@muursh muursh merged commit f6a3386 into develop Aug 6, 2024
14 of 15 checks passed
@muursh muursh deleted the no_self_destructs branch August 6, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: trace_decoder Anything related to the trace_decoder crate. crate: zero_bin Anything related to the zero-bin subcrates.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants