Cosmos SMT leafs are of the form 0x0 || path || value where path = sha256(key) and value = sha256(key || stateValue) where key and stateValue are the kv pair stored in a separate state storage database (stateValue is either protobuf of amino encoded).
It's not possible to do further decoding of the hash(key, stateValue) values. If instead SMTs stored hash(stateValue) in their leaf nodes this would form a proper content hash link that we could decode.
Cosmos SMT leafs are of the form
0x0 || path || value
wherepath = sha256(key)
andvalue = sha256(key || stateValue)
wherekey
andstateValue
are the kv pair stored in a separate state storage database (stateValue
is either protobuf of amino encoded).It's not possible to do further decoding of the
hash(key, stateValue)
values. If instead SMTs storedhash(stateValue)
in their leaf nodes this would form a proper content hash link that we could decode.Towards #3