Closed roysc closed 3 years ago
This should be a MVP state store for #1. Requires changes from the corresponding branch on tm-db: https://github.com/roysc/tm-db/tree/implement-adr-40 - (which just patches in minimal versioning support)
Moving this work to a PR on the main repo: https://github.com/cosmos/cosmos-sdk/pull/9485
Introduces a new
CommitKVStore
to implement ADR-040 proposal of decoupled commitment/data concerns.Adapted from
store/ll-smt
branch (see https://github.com/cosmos/cosmos-sdk/pull/8507).Description
Introduces the
decoupled.Store
type composed of:key → value
)hash(key) → hash(key, value)
)iavl.Store
held as aCommitKVStore
reference, which will later be refactored to use an SMT storehash(key, value) → key
)closes: #1
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes