🕸️ Go Implementation of the Polkadot Host
GNU Lesser General Public License v3.0
433
stars
116
forks
source link
refactor(pkg/trie/triedb): Revise `NewValueFromEncoded` to only store a hash instead of prefixed key #4183
Closed
timwu20 closed 2 months ago
Changes
NewValueFromEncoded
to store a hash instead of a prefixed keydeathRow
frommap[common.Hash]any
tomap[string]any
since the deathRow could contain prefixed keys to be removed inTrieDB.commit
.TrieDB.replaceOldValue
to populate death row with prefixed key.Tests
Issues