Skip to content

Commit

Permalink
Problem: versiondb/memiavl don't compatible with upstream sdk
Browse files Browse the repository at this point in the history
Solution:
- avoid api breaking change
  • Loading branch information
yihuang committed Jul 22, 2024
1 parent 5972d50 commit 01306fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/cachemulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"cosmossdk.io/store/tracekv"
"cosmossdk.io/store/types"
dbm "github.com/cosmos/cosmos-db"
)

// storeNameCtxKey is the TraceContext metadata key that identifies
Expand Down Expand Up @@ -54,7 +55,7 @@ func NewFromKVStore(
// NewStore creates a new Store object from a mapping of store keys to
// CacheWrapper objects. Each CacheWrapper store is a branched store.
func NewStore(
stores map[types.StoreKey]types.CacheWrapper,
_ dbm.DB, stores map[types.StoreKey]types.CacheWrapper, _ map[string]types.StoreKey,
traceWriter io.Writer, traceContext types.TraceContext,
) Store {
return NewFromKVStore(stores, traceWriter, traceContext)
Expand Down

0 comments on commit 01306fa

Please sign in to comment.