From f7bf348c88c8869a7072b3a800c2c800dccd465c Mon Sep 17 00:00:00 2001 From: Snobbish Bee <125891987+snobbee@users.noreply.github.com> Date: Mon, 4 Dec 2023 07:28:41 +0100 Subject: [PATCH] feat: update rewards params to update new reward parameters --- 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 }