forked from cosmos/cosmos-sdk
-
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
Implement decoupled state commitments and storage #11
Merged
Commits on May 14, 2021
-
Add SMT store type (cosmos#8507)
* Initial SMT store type SMT (Sparse Merkle Tree) is intended to replace IAVL. New type implements same interfaces as iavl.Store. * Add iteration support to SMT Sparse Merkle Tree does not support iteration over keys in order. To provide drop-in replacement for IAVL, Iterator and ReverseIterator has to be implemented. SMT Store implementation use the underlying KV store to: - maintain a list of keys (under a prefix) - iterate over a keys Values are stored only in SMT. * Migrate to smt v0.1.1 * Extra test for SMT iterator * CommitStore implementation for SMT store * Use interface instead of concrete type * Add telemetry to SMT store * SMT: version->root mapping, cleanup * SMT proofs - initial code * Tests for SMT store ProofOp implementation * Fix linter errors * Use simple 1 byte KV-store prefixes * Improve assertions in tests * Use mutex properly * Store data in ADR-040-compatible way SMT stores: * key -> hash(key, value) KV store stores: * key->value in "bucket 1", * hash(key, value) -> key in "bucket 2".
Configuration menu - View commit details
-
Copy full SHA for 5ef2364 - Browse repository at this point
Copy the full SHA 5ef2364View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6698424 - Browse repository at this point
Copy the full SHA 6698424View commit details
Commits on May 24, 2021
-
[WIP] skeleton of decoupled.Store
Outline of new store following ADR-040 pattern of decoupled commitment/data concerns Largely adapted from store/ll-smt branch
Configuration menu - View commit details
-
Copy full SHA for 53a0d40 - Browse repository at this point
Copy the full SHA 53a0d40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c86e7 - Browse repository at this point
Copy the full SHA 08c86e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b64bde - Browse repository at this point
Copy the full SHA 8b64bdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2d360 - Browse repository at this point
Copy the full SHA 3b2d360View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7095d5 - Browse repository at this point
Copy the full SHA e7095d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d0377 - Browse repository at this point
Copy the full SHA 98d0377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33528d6 - Browse repository at this point
Copy the full SHA 33528d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1811541 - Browse repository at this point
Copy the full SHA 1811541View commit details
Commits on May 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 80cb898 - Browse repository at this point
Copy the full SHA 80cb898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d7b8b9 - Browse repository at this point
Copy the full SHA 7d7b8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d58c8e7 - Browse repository at this point
Copy the full SHA d58c8e7View commit details
Commits on Jun 9, 2021
-
- Move tm-db code in from external repo - Refactor store/ and types/ packages - leaves out IAVL and multistore code pending confirmed deprecation - some hacks to glue existing tmdb usage and get compile/tests working
Configuration menu - View commit details
-
Copy full SHA for 03aed4d - Browse repository at this point
Copy the full SHA 03aed4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91ca92c - Browse repository at this point
Copy the full SHA 91ca92cView commit details -
- Update to new db interface - Use smt as SC structure - Refactor smt to BasicKVStore
Configuration menu - View commit details
-
Copy full SHA for 878a1eb - Browse repository at this point
Copy the full SHA 878a1ebView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.