Skip to content
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

feat!: ADR-040: Refactor App to use v2.MultiStore #10174

Closed
wants to merge 93 commits into from

Commits on Jan 20, 2022

  1. [WIP] refactor multistore => root store

    simapp, baseapp and dependencies
    update db interface
    options refactor
    app.CloseStore()
    LoadLatestVersion => Init
    ...
    roysc committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    a549522 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec5d41e View commit details
    Browse the repository at this point in the history
  3. store updates, fixes

    "as cache" glue funcs
    roysc committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    9db21a5 View commit details
    Browse the repository at this point in the history
  4. updates, rf

    fix storeloader test
    roysc committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    ceabd08 View commit details
    Browse the repository at this point in the history
  5. changelog + docs

    roysc committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    ab531ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47330c5 View commit details
    Browse the repository at this point in the history
  7. fixes

    group keeper: remove redundant iter.Close()
    roysc committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    929f5ad View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3876113 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. changelog fix

    roysc committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    25d0a9f View commit details
    Browse the repository at this point in the history
  2. cleanup

    roysc committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    355f181 View commit details
    Browse the repository at this point in the history
  3. nit, StoreConfig =>StoreParams

    roysc committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    8cbf4b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. store doc

    roysc committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    4e431eb View commit details
    Browse the repository at this point in the history
  2. store rearrange

    roysc committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    861b24c View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. godoc nits

    roysc committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    f45ce0f View commit details
    Browse the repository at this point in the history
  2. rm StoreConstructor

    not needed after all
    roysc committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    79bea1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e912111 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Configuration menu
    Copy the full SHA
    704570b View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. patch multistore

    to be consistent with v1, upgrades shouldn't be a slice
    
    fix query and tests
    roysc committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    b36c8f5 View commit details
    Browse the repository at this point in the history
  2. patch compat store

    roysc committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    d035fb8 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Configuration menu
    Copy the full SHA
    bfa7b88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccb908d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    532a6ad View commit details
    Browse the repository at this point in the history
  4. test cleanup

    roysc committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    5f6fe12 View commit details
    Browse the repository at this point in the history
  5. trace context fence

    backport cosmos#11117
    roysc committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    b200867 View commit details
    Browse the repository at this point in the history
  6. get all versions

    backport cosmos#11124
    roysc committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    9cdd990 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c59d34 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2627ce3 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. patches

    roysc committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    555be73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b631a9a View commit details
    Browse the repository at this point in the history
  3. patches

    roysc committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    83cd109 View commit details
    Browse the repository at this point in the history
  4. fix v1asv2 commit

    roysc committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    71a9bb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. PR revisions

    roysc committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    78b0a12 View commit details
    Browse the repository at this point in the history
  2. fix simd export

    roysc committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    ddf8d0f View commit details
    Browse the repository at this point in the history
  3. open db at data/application/

    roysc committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    3ddf675 View commit details
    Browse the repository at this point in the history
  4. db cleanup

    roysc committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    def4107 View commit details
    Browse the repository at this point in the history
  5. badgerdb fix

    write versions immediately, not on close
    roysc committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    880a4ee View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Configuration menu
    Copy the full SHA
    8f58686 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcb9ff9 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. Configuration menu
    Copy the full SHA
    332c3e9 View commit details
    Browse the repository at this point in the history
  2. badgerdb - handle ErrTxnTooBig

    roysc committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    d7a51f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    5102f92 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. rename tmdb adapter

    roysc committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    81642a5 View commit details
    Browse the repository at this point in the history
  2. GetAllVersions patch

    not part of store interface; wrong type
    roysc committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    b33b162 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df2e47b View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. multistore - minor additions

    test case
    
    smtstore.values can be readonly
    roysc committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    1dd7de8 View commit details
    Browse the repository at this point in the history
  2. spelling

    roysc committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    4c34467 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    44fafb2 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Configuration menu
    Copy the full SHA
    86929d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cdd5ee View commit details
    Browse the repository at this point in the history
  3. DBConnection.RevertTo

    roysc committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    e36e3ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0d31ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae5c007 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    620728f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e2152e View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Configuration menu
    Copy the full SHA
    68da759 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bae2e7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    138bd43 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. dispatching db constructor

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    1295d81 View commit details
    Browse the repository at this point in the history
  2. refactor server rollback cmd

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    fcf64ed View commit details
    Browse the repository at this point in the history
  3. go mod tidy

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    4dd37ca View commit details
    Browse the repository at this point in the history
  4. fix app-db-backend config

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    7eb1f9e View commit details
    Browse the repository at this point in the history
  5. comment typo

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    0499da2 View commit details
    Browse the repository at this point in the history
  6. reorg multistore tests

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    924d2ec View commit details
    Browse the repository at this point in the history
  7. check multistore key types

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    7f747ab View commit details
    Browse the repository at this point in the history
  8. fix v1asv2 methods

    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    7de3adf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    47ab63f View commit details
    Browse the repository at this point in the history
  10. force mem & transient stores to use bespoke key type

    matching v1 behavior
    roysc committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    1568198 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. godoc copyedit

    roysc committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    bb15cd3 View commit details
    Browse the repository at this point in the history
  2. smt store test nits

    roysc committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    e103a63 View commit details
    Browse the repository at this point in the history
  3. [dev] update SMT library

    roysc committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    1a37cc2 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    7b1e2f3 View commit details
    Browse the repository at this point in the history
  2. Patch merge

    roysc committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    db91469 View commit details
    Browse the repository at this point in the history
  3. Patch simapp upgrade handler

    roysc committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    5c1b566 View commit details
    Browse the repository at this point in the history
  4. Revert "[dev] update SMT library"

    This reverts commit 1a37cc2.
    roysc committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    5f83976 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Configuration menu
    Copy the full SHA
    2ad0ee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b9aadc View commit details
    Browse the repository at this point in the history
  3. fixup renames

    roysc committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    538bacb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7ff909 View commit details
    Browse the repository at this point in the history
  5. clean up v2 store re-exports

    roysc committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    04c832f View commit details
    Browse the repository at this point in the history
  6. v2 store additions

    * remove iterator read lock; doesn't play with orm tests, so just rely on the stated contract: no store writes while iterator open
    * use v2 store in orm tests
    * clean up app boilerplate
    * update NewCommitMultiStore()
    * fix NewUncachedContext
    roysc committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    1232d5a View commit details
    Browse the repository at this point in the history
  7. add multi.Store.HasKVStore()

    roysc committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    f007704 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc67cfe View commit details
    Browse the repository at this point in the history
  9. fix typos, docs, rm redundant

    roysc committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    e409ca3 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. feat: list snapshots query (cosmos#246) (cosmos#252)

    (cherry picked from commit f69c198)
    
    Co-authored-by: Roman <roman@osmosis.team>
    roysc and p0mvn committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    4823d1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69fd2f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3f6289 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f24e1e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Configuration menu
    Copy the full SHA
    23d1a92 View commit details
    Browse the repository at this point in the history
  2. fix merge

    * app wiring, etc.
    
    * tests pass
    roysc committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    db3c28a View commit details
    Browse the repository at this point in the history
  3. go.mod/sum

    roysc committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    eaa83be View commit details
    Browse the repository at this point in the history
  4. PR clean up

    rm superfluous app.cms rename
    
    memdb imports
    
    [wip]substore prefix conflict
    roysc committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    c1e800c View commit details
    Browse the repository at this point in the history
  5. v2 store: allow shared substore name prefixes

    encode names with varint length to make them unambiguous
    roysc committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    1a9e194 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Configuration menu
    Copy the full SHA
    24dd6c0 View commit details
    Browse the repository at this point in the history