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

core/state, trie/triedb/pathdb: remove storage incomplete flag #28940

Merged
merged 1 commit into from
Mar 5, 2024

Commits on Mar 4, 2024

  1. core/state, trie/triedb/pathdb: remove storage incomplete flag

    As SELF-DESTRUCT opcode is disabled in the cancun fork(unless the
    account is created within the same transaction, nothing to delete
    in this case). The account will only be deleted in the following
    cases:
    
    - The account is created within the same transaction. In this case
    the original storage was empty.
    
    - The account is empty(zero nonce, zero balance, zero code) and
    is touched within the transaction. Fortunately this kind of accounts
    are not-existent on ethereum-mainnet.
    
    All in all, after cancun, we are pretty sure there is no large contract
    deletion and we don't need this mechanism for oom protection.
    rjl493456442 committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    946c6f6 View commit details
    Browse the repository at this point in the history