diff --git a/x/paloma/keeper/params.go b/x/paloma/keeper/params.go index a3465780..1348873e 100644 --- a/x/paloma/keeper/params.go +++ b/x/paloma/keeper/params.go @@ -9,6 +9,12 @@ import ( // GetParams get all parameters as types.Params func (k Keeper) GetParams(ctx context.Context) (params types.Params) { + defer func() { + if r := recover(); r != nil { + params = types.DefaultParams() + } + }() + sdkCtx := sdk.UnwrapSDKContext(ctx) k.paramstore.GetParamSet(sdkCtx, ¶ms) return params