go-ethereum/core/state
Daniel Liu 7684d88d3c
core/state, trie: remove Try prefix in Trie accessors #26975 (#1146)
This change renames StateTrie methods to remove the Try* prefix.

We added the Trie methods with prefix 'Try' a long time ago, working
around the problem that most existing methods of Trie did not return the
database error. This weird naming convention has persisted until now.

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2026-01-05 15:44:42 +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, trie: remove Try prefix in Trie accessors #26975 (#1146) 2026-01-05 15:44:42 +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/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
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