go-ethereum/core/state
Daniel Liu 152e3d9923
core/state: return error when storage trie can't be opened #26350 (#1216)
This changes the StorageTrie method to return an error when the trie
is not available. It used to return an 'empty trie' in this case, but that's
not possible anymore under PBSS.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-26 15:31:00 +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 all: introduce trie owner notion #24750 (#1090) 2025-08-22 16:37:39 +08:00
dump.go core/state: return error when storage trie can't be opened #26350 (#1216) 2025-08-26 15:31:00 +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: fix typos and comments (#1206) 2025-08-26 15:22:37 +08:00
metrics.go core, trie: add state metrics #23433 (#1071) 2025-08-04 11:19:42 +08:00
state_object.go core/state: return error when storage trie can't be opened #26350 (#1216) 2025-08-26 15:31:00 +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 all: snapshot dump + unify with trie dump #22795 (#1205) 2025-08-22 16:39:28 +08:00
statedb.go core/state: return error when storage trie can't be opened #26350 (#1216) 2025-08-26 15:31:00 +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