Skip to content

Commit

Permalink
fix: add pool params back to kyve params query (#159)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2c019b2)

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
troykessler authored and mergify[bot] committed Dec 14, 2023
1 parent 68e5ff7 commit fc3c361
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions x/query/keeper/grpc_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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
}

0 comments on commit fc3c361

Please sign in to comment.