go-ethereum/core/state
Daniel Liu cab1c19cd2
core/state: mark account as dirty when resetObject occurs #27339 (#1224)
This changes the journal logic to mark the state object dirty immediately when it
is reset.

We're mostly adding this change to appease the fuzzer. Marking it dirty immediately
makes no difference in practice because accounts will always be modified by EVM
right after creation.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-31 16:04:51 +08:00
..
access_list.go all: implement EIP-2929 (gas cost increases for state access opcodes) (#21509) 2024-04-22 21:14:54 +08:00
database.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00
dump.go core/state: do not ignore null addr while iterative dump #27320 (#1223) 2025-08-29 05:25:15 +08:00
iterator.go core/state: move state account to core/types + abstracted write account to trie #23567 (#1072) 2025-08-08 09:13:34 +08:00
iterator_test.go core/state: unexport NodeIterator #27239 (#1222) 2025-08-04 11:53:31 +08:00
journal.go core/state: mark account as dirty when resetObject occurs #27339 (#1224) 2025-08-31 16:04:51 +08:00
metrics.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00
state_object.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00
state_object_test.go core/state: optimize some internals during encoding (#20038) 2024-12-28 09:06:30 +08:00
state_reader.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
state_test.go core/state: do not ignore null addr while iterative dump #27320 (#1223) 2025-08-29 05:25:15 +08:00
statedb.go core/state: mark account as dirty when resetObject occurs #27339 (#1224) 2025-08-31 16:04:51 +08:00
statedb_test.go core/state: fix typos and comments (#1206) 2025-08-26 15:22:37 +08:00
statedb_utils.go record total minted into smart contract (#1026) 2025-06-16 02:31:33 -07:00
sync.go core, trie: port snap sync changes #24898 (#1096) 2025-08-26 15:20:39 +08:00
sync_test.go core, trie: port snap sync changes #24898 (#1096) 2025-08-26 15:20:39 +08:00
transient_storage.go all: implement EIP-1153 transient storage (#26003) 2024-11-15 19:39:18 +08:00
trc21_reader.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00