go-ethereum/core
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
..
asm
bloombits
forkid params, core/forkid: add mainnet timestamp for Cancun (#28958) 2024-02-08 19:36:38 +01:00
rawdb core: use finalized block as the chain freeze indicator (#28683) 2024-03-04 16:25:53 +02:00
state core/state, trie/triedb/pathdb: remove storage incomplete flag (#28940) 2024-03-05 14:31:55 +01:00
txpool all: replace fmt.Errorf() with errors.New() if no param required (#29126) 2024-02-29 11:56:46 +02:00
types core/types: reuse signtx (#29152) 2024-03-05 09:33:52 +02:00
vm core: delete unused ErrMaxInitCodeSizeExceeded (#29062) 2024-03-04 10:30:15 +01:00
.gitignore
bench_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
block_validator.go
block_validator_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blockchain.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blockchain_insert.go
blockchain_reader.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
blockchain_repair_test.go core: use finalized block as the chain freeze indicator (#28683) 2024-03-04 16:25:53 +02:00
blockchain_sethead_test.go core: use finalized block as the chain freeze indicator (#28683) 2024-03-04 16:25:53 +02:00
blockchain_snapshot_test.go
blockchain_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blocks.go
bloom_indexer.go
chain_indexer.go
chain_indexer_test.go
chain_makers.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
chain_makers_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
dao_test.go
error.go
events.go
evm.go all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
forkchoice.go
gaspool.go
gen_genesis.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
genesis.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
genesis_alloc.go
genesis_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
headerchain.go all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
headerchain_test.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
mkalloc.go
rlp_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
sender_cacher.go
state_prefetcher.go
state_processor.go all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
state_processor_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
state_transition.go core: initialize `gasRemaining` with `=` instead of `+=` (#29149) 2024-03-05 09:47:58 +01:00
txindexer.go core: cache transaction indexing tail in memory (#28908) 2024-02-06 10:44:42 +08:00
txindexer_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
types.go