diff --git a/x/issuance/genesis.go b/x/issuance/genesis.go index 2969c116..7e43371e 100644 --- a/x/issuance/genesis.go +++ b/x/issuance/genesis.go @@ -28,6 +28,15 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, supplyKeeper types.SupplyKeep k.SetAssetSupply(ctx, supply, supply.GetDenom()) } + for _, asset := range gs.Params.Assets { + if asset.RateLimit.Active { + _, found := k.GetAssetSupply(ctx, asset.Denom) + if !found { + k.CreateNewAssetSupply(ctx, asset.Denom) + } + } + } + } // ExportGenesis export genesis state for issuance module