fix: pin added did documents to local ipfs node

This commit is contained in:
Prad Nukala
2024-09-06 11:10:21 -04:00
parent fac81d90a3
commit 93ebc9eea1
8 changed files with 297 additions and 166 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
// "github.com/onsonr/sonr/internal/local"
"github.com/onsonr/sonr/x/did/types"
)
@@ -28,7 +27,7 @@ func (k Querier) Params(c context.Context, req *types.QueryRequest) (*types.Quer
return nil, err
}
return &types.QueryParamsResponse{Params: &p}, nil
return &types.QueryParamsResponse{Params: &p, IpfsActive: k.HasIPFSConnection()}, nil
}
// Accounts implements types.QueryServer.