Updates for stage2 setup #60

Merged
nabarun merged 5 commits from pm-update-init into main 2024-10-22 09:54:34 +00:00
Showing only changes of commit 3c75f56512 - Show all commits

View File

@ -30,6 +30,11 @@ func (k *Keeper) InitGenesis(ctx sdk.Context, data *registry.GenesisState) error
return err return err
} }
} }
readableRecord := record.ToReadableRecord()
if err := k.processAttributes(ctx, readableRecord.Attributes, record.Id); err != nil {
return err
}
} }
for _, authority := range data.Authorities { for _, authority := range data.Authorities {