diff --git a/x/registry/keeper/keeper.go b/x/registry/keeper/keeper.go index 1f208f2a..2f1af266 100644 --- a/x/registry/keeper/keeper.go +++ b/x/registry/keeper/keeper.go @@ -306,8 +306,7 @@ func (k Keeper) processRecord(ctx sdk.Context, record *types.ReadableRecord, isR } k.PutRecord(ctx, recordObj) - // TODO process type here - // recordType, ok := record.Attributes["type"].(string) + // TODO look up/validate record type here if err := k.processAttributes(ctx, record.Attributes, record.ID, ""); err != nil { return err diff --git a/x/registry/types/types.go b/x/registry/types/types.go index 81b7f1aa..a9e31815 100644 --- a/x/registry/types/types.go +++ b/x/registry/types/types.go @@ -13,10 +13,6 @@ const ( AuthorityUnderAuction = "auction" ) -// TODO if schema records are to be more permissive than allowing a map of fields, this type will -// become specific to content records. schema records will either occupy a new message or have new -// more general purpose helper types. - // ReadablePayload represents a signed record payload that can be serialized from/to YAML. type ReadablePayload struct { Record map[string]interface{} `json:"record"`