mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-13 02:11:34 +00:00
Header-range storage slots (key[31] < 64) live at the same stem as BasicData and CodeHash, at offsets 64-127. The existing TestDeleteAccountDoesNotAffectMainStorage uses a main-storage slot (key[31] = 0x80) which lives at a different stem, giving zero coverage of the same-stem case. DeleteAccount's safety against header storage relies on StemNode.InsertValuesAtStem treating nil entries as "do not overwrite". Pin that invariant so a future change filling the values slice with zeroBlob[:] instead of leaving nils cannot silently corrupt slots 0-63 of any contract. |
||
|---|---|---|
| .. | ||
| binary_node.go | ||
| binary_node_test.go | ||
| empty.go | ||
| empty_test.go | ||
| hashed_node.go | ||
| hashed_node_test.go | ||
| hasher.go | ||
| internal_node.go | ||
| internal_node_test.go | ||
| iterator.go | ||
| iterator_test.go | ||
| key_encoding.go | ||
| stem_node.go | ||
| stem_node_test.go | ||
| trie.go | ||
| trie_test.go | ||