go-ethereum/triedb
rjl493456442 7b81cf6362
core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940)
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.
2024-03-05 14:31:55 +01:00
..
database all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
hashdb all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
pathdb core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
database.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
preimages.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00