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
  • Loading branch information
troykessler authored Dec 14, 2023
1 parent 9ebfdbb commit 2c019b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ An '!' indicates a state machine breaking change.

## [Unreleased]

### Bug Fixes

- (`x/query`) [#159](https://github.com/KYVENetwork/chain/pull/159) Add pool params back to kyve params query.

## [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 2c019b2

Please sign in to comment.