From 08d524adc462b6c3c17faa197be4397ab1799126 Mon Sep 17 00:00:00 2001 From: unknown unknown Date: Wed, 13 Sep 2023 16:41:54 +0200 Subject: [PATCH] fix genesis --- x/perp/v2/module/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/perp/v2/module/genesis.go b/x/perp/v2/module/genesis.go index d51d88248..dd5b8b944 100644 --- a/x/perp/v2/module/genesis.go +++ b/x/perp/v2/module/genesis.go @@ -67,7 +67,7 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { genesis.DnrEpoch = k.DnREpoch.GetOr(ctx, 0) // export volumes - volumes := k.TraderVolumes.Iterate(ctx, nil) + volumes := k.TraderVolumes.Iterate(ctx, collections.PairRange[sdk.AccAddress, uint64]{}) defer volumes.Close() for ; volumes.Valid(); volumes.Next() { key := volumes.Key()