ci: remove duplicate gosec & lint fixes (#21685)
This commit is contained in:
@@ -17,7 +17,6 @@ import (
|
||||
ormmodulev1alpha1 "cosmossdk.io/api/cosmos/orm/module/v1alpha1"
|
||||
ormv1alpha1 "cosmossdk.io/api/cosmos/orm/v1alpha1"
|
||||
"cosmossdk.io/core/genesis"
|
||||
"cosmossdk.io/core/store"
|
||||
corestore "cosmossdk.io/core/store"
|
||||
"cosmossdk.io/depinject"
|
||||
"cosmossdk.io/depinject/appconfig"
|
||||
@@ -361,11 +360,11 @@ type testStoreService struct {
|
||||
db corestore.KVStoreWithBatch
|
||||
}
|
||||
|
||||
func (t testStoreService) OpenKVStore(context.Context) store.KVStore {
|
||||
func (t testStoreService) OpenKVStore(context.Context) corestore.KVStore {
|
||||
return testkv.TestStore{Db: t.db}
|
||||
}
|
||||
|
||||
func (t testStoreService) OpenMemoryStore(context.Context) store.KVStore {
|
||||
func (t testStoreService) OpenMemoryStore(context.Context) corestore.KVStore {
|
||||
return testkv.TestStore{Db: t.db}
|
||||
}
|
||||
|
||||
@@ -395,7 +394,7 @@ func TestGetBackendResolver(t *testing.T) {
|
||||
assert.NilError(t, err)
|
||||
}
|
||||
|
||||
func ProvideTestRuntime() store.KVStoreService {
|
||||
func ProvideTestRuntime() corestore.KVStoreService {
|
||||
return testStoreService{db: dbm.NewMemDB()}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user