-
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 1: Hook state store into SDK #1
Comments
Decoupling SC and SS
|
Closed in #11 |
Have this epic encompass the cosmos#9892 PR and ics23 proof work squash #8 into this Epic, this will now be Epic 2 |
We will begin by hooking a new, decoupled, state store (SS) into the SDK. For the time being this will exist alongside the existing IAVL KVStore. When we commit, we save everything to the new SS in addition to the the existing IAVL.
For the SS we add two additional KV buckets:
key → value
: the principal object storage, used by a state machine, behind the SDKKVStore
interface: provides direct access by key and allows prefix iteration (KV DB backend must support it).hash(key, value) → key
: an index needed to extract a value (through: B2 -> B1) having a only a Merkle Path.At this intermediate stage we are not changing what is stored in the state commitment (SC)- the IAVL- we are simply storing two copies: one in IAVL one in the new state storage buckets.
The text was updated successfully, but these errors were encountered: