go-ethereum/core/state
rjl493456442 766ce23032
core/state: fix SetStorage override behavior (#30185)
This pull request fixes the broken feature where the entire storage set is overridden.

Originally, the storage set override was achieved by marking the associated account
as deleted, preventing access to the storage slot on disk. However, since #29520, this
flag is also checked when accessing the account, rendering the account unreachable.

A fix has been applied in this pull request, which re-creates a new state object with all
account metadata inherited.
2024-07-23 14:54:35 +02:00
..
pruner all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
snapshot Revert "core/state/snapshot: tiny fixes" (#30039) 2024-06-21 10:42:43 +03:00
access_events.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00
access_events_test.go core/state: fix inconsistent verkle test error messages (#29753) 2024-07-01 21:57:04 +02:00
access_list.go core/state: rename all the AccessList receivers to 'al' (#29921) 2024-06-11 11:24:44 +03:00
database.go all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
dump.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
iterator.go all: fix various typos (#29600) 2024-04-23 13:09:42 +03:00
iterator_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
journal.go core/state: remove slot dirtyness if it's set back to origin value (#29731) 2024-05-10 10:57:38 +03:00
metrics.go core/state: remove useless metrics (#30184) 2024-07-22 23:44:31 +02:00
state_object.go all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_test.go core/state: remove account reset operation v2 (#29520) 2024-04-24 12:59:06 +03:00
statedb.go core/state: fix SetStorage override behavior (#30185) 2024-07-23 14:54:35 +02:00
statedb_fuzz_test.go core/state: introduce stateupdate structure (#29530) 2024-06-03 14:17:12 +03:00
statedb_test.go core/state: remove slot dirtyness if it's set back to origin value (#29731) 2024-05-10 10:57:38 +03:00
stateupdate.go core/state: introduce stateupdate structure (#29530) 2024-06-03 14:17:12 +03:00
sync.go core,eth,internal: fix typo (#29024) 2024-02-20 19:42:48 +08:00
sync_test.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
transient_storage.go core/state: better randomized testing (postcheck) on journalling (#29627) 2024-04-25 09:56:25 +02:00
trie_prefetcher.go cmd, core: prefetch reads too from tries if requested (#29807) 2024-06-11 11:10:07 +03:00
trie_prefetcher_test.go cmd, core: prefetch reads too from tries if requested (#29807) 2024-06-11 11:10:07 +03:00