-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic 3: Replace IAVL with SMT state commitment #3
Comments
Decoupling SC and SS
|
Closed in #12 |
Falls under the new Epic 2 (this is satisfied in the draft PR). We aren't actually replacing until the Multistore is replaced, but the SMT will be fully introduced. |
Closing, see cosmos#9816 and child issues, tracking on zenhub |
In #1 we introduce the new SS and write (commit) to both IAVL and the SS, at this stage we remove the IAVL KVStore and replace with the SMT KVStore as the new, decoupled, state commitment (SC).
For state commitment we store only the
hash(key, value)
as the value in the leafs of the SMT. Thereby, the leaf nodes are of the form:0x01 || sha256(key) || sha256(key, value)
, where||
is byte concatenation.The text was updated successfully, but these errors were encountered: