refactor(core): remove cosmos-db dependency (#18848)

This commit is contained in:
Marko
2023-12-21 14:31:46 +00:00
committed by GitHub
parent f9f92117b6
commit 6649bb7d8f
16 changed files with 215 additions and 175 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
package ormtable
import (
"cosmossdk.io/core/store"
"cosmossdk.io/orm/types/kv"
)
@@ -24,11 +25,11 @@ func newBatchIndexCommitmentWriter(store Backend) *batchIndexCommitmentWriter {
}
}
func (w *batchIndexCommitmentWriter) CommitmentStore() kv.Store {
func (w *batchIndexCommitmentWriter) CommitmentStore() store.KVStore {
return w.commitmentWriter
}
func (w *batchIndexCommitmentWriter) IndexStore() kv.Store {
func (w *batchIndexCommitmentWriter) IndexStore() store.KVStore {
return w.indexWriter
}