From b4760fc15ddb7a2f5a4a32cf4e9bc0a28743e3d8 Mon Sep 17 00:00:00 2001 From: Snobbish Bee <125891987+snobbee@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:28:50 +0100 Subject: [PATCH] feat: update rewards params to update new reward parameters (#3433) --- x/clp/keeper/msg_server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/clp/keeper/msg_server.go b/x/clp/keeper/msg_server.go index 80a06be159..280bce0c7b 100644 --- a/x/clp/keeper/msg_server.go +++ b/x/clp/keeper/msg_server.go @@ -107,6 +107,9 @@ func (k msgServer) UpdateRewardsParams(goCtx context.Context, msg *types.MsgUpda params := k.GetRewardsParams(ctx) params.LiquidityRemovalLockPeriod = msg.LiquidityRemovalLockPeriod params.LiquidityRemovalCancelPeriod = msg.LiquidityRemovalCancelPeriod + params.RewardsDistribute = msg.RewardsDistribute + params.RewardsEpochIdentifier = msg.RewardsEpochIdentifier + params.RewardsLockPeriod = msg.RewardsLockPeriod k.SetRewardParams(ctx, params) return response, err }