cosmos-sdk/collections/indexes/indexes_test.go
testinginprod fe22e9a5da
feat(core): add coretest package (#20487)
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-05 22:11:33 +00:00

20 lines
297 B
Go

package indexes
import (
"context"
"cosmossdk.io/core/store"
"cosmossdk.io/core/testing"
)
func deps() (store.KVStoreService, context.Context) {
ctx := coretesting.Context()
kv := coretesting.KVStoreService(ctx, "test")
return kv, ctx
}
type company struct {
City string
Vat uint64
}