Skip to content

Conversation

@0xKarl98
Copy link

@0xKarl98 0xKarl98 commented Nov 19, 2025

This aims at resolving issues mentioned in #382 , typically this one :
image

To fix this , what i did was :

  • Keep track of addresses that are marked as Create and were truly empty in the database snapshot. Only these addresses are filtered from the prestate diff so prefunded contract deployments remain visible.

  • Introduce account_was_empty helper to avoid re-computing the emptiness check and add a regression test (prestate_diff_keeps_prefunded_created_accounts) that covers a prefunded creation vs. a true empty-address creation.

cc @mattsse Please check it out if it resolves

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.

1 participant