feature/1118 formatter interface creation (#1147)

- **refactor: improve query service code structure**
- **chore(deps): update protoc-gen-go-grpc to v1.5.1**
- **refactor: replace  package with**
- **chore(deps): update dependencies**
- **fix(deps): update webauthn to v0.11.2**
- **refactor: remove onsonr.sonr from package names**
- **refactor: improve code readability in vault querier**
- **refactor: simplify controller initialization**
- **fix: remove unnecessary function for counter data**
- **refactor: update button component file paths**
- **refactor(authentication): simplify register page**
- **fix: update error filenames in marketing section templates**
This commit is contained in:
Prad Nukala
2024-10-21 11:30:52 -04:00
committed by GitHub
parent 3ad6036eb8
commit 311b957550
57 changed files with 722 additions and 548 deletions
+11 -4
View File
@@ -33,7 +33,8 @@ type Keeper struct {
authority string
ipfsClient *rpc.HttpApi
ipfsClient *rpc.HttpApi
hasIpfsConn bool
AccountKeeper authkeeper.AccountKeeper
DIDKeeper didkeeper.Keeper
@@ -50,6 +51,7 @@ func NewKeeper(
didKeeper didkeeper.Keeper,
macaroonKeeper macaroonkeeper.Keeper,
) Keeper {
var hasIpfs bool
logger = logger.With(log.ModuleKey, "x/"+types.ModuleName)
sb := collections.NewSchemaBuilder(storeService)
@@ -70,7 +72,11 @@ func NewKeeper(
ipfsClient, err := rpc.NewLocalApi()
if err != nil {
panic(err)
hasIpfs = false
}
if ipfsClient != nil {
hasIpfs = true
}
k := Keeper{
@@ -82,8 +88,9 @@ func NewKeeper(
Params: collections.NewItem(sb, types.ParamsKey, "params", codec.CollValue[types.Params](cdc)),
OrmDB: store,
ipfsClient: ipfsClient,
authority: authority,
ipfsClient: ipfsClient,
hasIpfsConn: hasIpfs,
authority: authority,
}
schema, err := sb.Build()