go-ethereum/triedb/pathdb
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.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
database_test.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
difflayer.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
difflayer_test.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
disklayer.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
errors.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
history.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
history_test.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
journal.go core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
layertree.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
metrics.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
nodebuffer.go core, triedb/pathdb: calculate the size for batch pre-allocation (#29106) 2024-02-28 14:23:52 +02:00
testutils.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00