From 32fed2189ec0f76e0988f552a0438343f9229959 Mon Sep 17 00:00:00 2001 From: insumity Date: Tue, 6 Feb 2024 14:34:09 +0100 Subject: [PATCH] Update x/ccv/provider/keeper/keeper.go Co-authored-by: Simon Noetzlin --- x/ccv/provider/keeper/keeper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/ccv/provider/keeper/keeper.go b/x/ccv/provider/keeper/keeper.go index bd26d6b87d..ea052ec5fd 100644 --- a/x/ccv/provider/keeper/keeper.go +++ b/x/ccv/provider/keeper/keeper.go @@ -1184,6 +1184,7 @@ func (k Keeper) IsOptIn(ctx sdk.Context, chainID string) bool { topN, found := k.GetTopN(ctx, chainID) return !found || topN == 0 } + func (k Keeper) SetOptedIn( ctx sdk.Context, chainID string,