go-ethereum/core/state
Daniel Liu 6d4670a4ec
core, trie: refactor trie API #26995 (#1147)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-16 15:51:13 +05:30
..
access_list.go core/state: reduce one alloc #33024 (#1784) 2025-11-24 11:00:15 +05:30
database.go core/state, trie: remove Try prefix in Trie accessors #26975 (#1146) 2026-01-05 15:44:42 +05:30
dump.go core/state: do not ignore null addr while iterative dump #27320 (#1223) 2025-08-29 05:25:15 +08:00
iterator.go cmd, core, eth, trie: track deleted nodes #22225 #25757 (#1120) 2025-11-12 13:32:22 +05:30
iterator_test.go core, trie: port changes from pbss #26637 (#1127) 2025-12-07 15:38:38 +05:30
journal.go all: implement eip-7702 set code tx #30078 (#1759) 2025-12-19 14:09:45 +04:00
metrics.go cmd, core, eth, trie: track deleted nodes #22225 #25757 (#1120) 2025-11-12 13:32:22 +05:30
state_object.go core/state: print db failure in case of mismatched hash root #26870 (#1938) 2026-01-16 15:49:27 +05:30
state_object_test.go all: using testing.B.Loop (#1554) 2025-09-24 07:59:48 +08:00
state_reader.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
state_test.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
statedb.go core/state, trie: remove Try prefix in Trie accessors #26975 (#1146) 2026-01-05 15:44:42 +05:30
statedb_hooked.go all: implement eip-7702 set code tx #30078 (#1759) 2025-12-19 14:09:45 +04:00
statedb_hooked_test.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
statedb_test.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
statedb_utils.go record total minted API v2 (#1769) 2025-12-09 19:43:19 +08:00
sync.go core, trie: prepare for path-based trie storage #26603 (#1126) 2025-11-18 11:20:00 +05:30
sync_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
transient_storage.go all: implement EIP-1153 transient storage (#26003) 2024-11-15 19:39:18 +08:00
trc21_reader.go all: rework trc21 (#1777) 2025-11-18 11:24:56 +05:30