From fc3c3615b96b43e4c335bde4a9a0bef4525d4843 Mon Sep 17 00:00:00 2001 From: Troy Kessler <43882936+troykessler@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:32:29 +0100 Subject: [PATCH] fix: add pool params back to kyve params query (#159) (cherry picked from commit 2c019b27baed43f3404c036b3564dd0835c58d26) # Conflicts: # CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ x/query/keeper/grpc_params.go | 2 ++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4bd4b63..f6db73b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,15 @@ An '!' indicates a state machine breaking change. +<<<<<<< HEAD +======= +## [Unreleased] + +### Bug Fixes + +- (`x/query`) [#159](https://github.com/KYVENetwork/chain/pull/159) Add pool params back to kyve params query. + +>>>>>>> 2c019b2 (fix: add pool params back to kyve params query (#159)) ## [v1.4.0](https://github.com/KYVENetwork/chain/releases/tag/v1.4.0) - 2023-11-17 ### Features diff --git a/x/query/keeper/grpc_params.go b/x/query/keeper/grpc_params.go index 5816707a..25169820 100644 --- a/x/query/keeper/grpc_params.go +++ b/x/query/keeper/grpc_params.go @@ -20,6 +20,7 @@ func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*t globalParams := k.globalKeeper.GetParams(ctx) govParams := k.govKeeper.GetParams(ctx) sp := k.stakerKeeper.GetParams(ctx) + pp := k.poolKeeper.GetParams(ctx) fp := k.fundersKeeper.GetParams(ctx) return &types.QueryParamsResponse{ @@ -28,6 +29,7 @@ func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*t GlobalParams: &globalParams, GovParams: &govParams, StakersParams: &sp, + PoolParams: &pp, FundersParams: &fp, }, nil }