-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
State DB itself hashes the key before it accesses to TrieDB or TrieDBMut.
So hashing a key before calling DB functions is a redundant job.
There might be other spots with same issue but the only thing I could find was this: https://github.com/CodeChain-io/foundry/blob/ics-poc/state/src/traits.rs#L116
Note that the action_data has same problem, but will be removed soon.
Reactions are currently unavailable