diff --git a/x/ibchooks/keeper/query_server.go b/x/ibchooks/keeper/query_server.go new file mode 100644 index 000000000..b496c52a9 --- /dev/null +++ b/x/ibchooks/keeper/query_server.go @@ -0,0 +1,16 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/provenance-io/provenance/x/ibchooks/types" +) + +var _ types.QueryServer = Keeper{} + +func (k Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { + c := sdk.UnwrapSDKContext(ctx) + return &types.QueryParamsResponse{Params: k.GetParams(c)}, nil +}