From cbb5e1782b2c44aa1f94695ee4f5e05c1ab41968 Mon Sep 17 00:00:00 2001 From: danwt <30197399+danwt@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:12:05 +0100 Subject: [PATCH] use 2 week unbonding --- x/sequencers/keeper/params.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x/sequencers/keeper/params.go b/x/sequencers/keeper/params.go index b92678c2..fb599676 100644 --- a/x/sequencers/keeper/params.go +++ b/x/sequencers/keeper/params.go @@ -15,6 +15,10 @@ func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { // SetParams sets the sequencers parameters to the param space. func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { + // TODO: this is hack needed to make the light client work + // we need to synchronise this value with the value on the Hub + params.UnbondingTime = time.Hour * 24 * 14 + k.paramstore.SetParamSet(ctx, ¶ms) }