diff --git a/x/oracle/keeper/historic_avg.go b/x/oracle/keeper/historic_avg.go index 66c67da849..8e354e0b4a 100644 --- a/x/oracle/keeper/historic_avg.go +++ b/x/oracle/keeper/historic_avg.go @@ -154,7 +154,9 @@ func (k Keeper) SetHistoricAvgCounterParams(ctx sdk.Context, acp types.AvgCounte // GetHistoricAvgCounterParams gets the avg period and avg shift time duration from store func (k Keeper) GetHistoricAvgCounterParams(ctx sdk.Context) types.AvgCounterParams { - kvs := ctx.KVStore(k.storeKey) - return *store.GetValue[*types.AvgCounterParams](kvs, types.KeyHistoricAvgCounterParams, - "historic avg counter params") + return types.DefaultAvgCounterParams() + // TODO: investigate why we don't have record! + // kvs := ctx.KVStore(k.storeKey) + // return *store.GetValue[*types.AvgCounterParams](kvs, types.KeyHistoricAvgCounterParams, + // "historic avg counter params") }