RGB-WG / rgb-schemata

Standard RGB schemata and schema compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Always use different IDs for schema fields

zoedberg opened this issue · comments

When encountering a validation error the state type ID of the field having the error is printed out. This information is useful for debugging, but would be even more if all fields had different ID numbers.

Currently this is not the case. For example the UDA schema has the fields GS_NOMINAL, OS_ASSET and TS_TRANSFER all with the same ID (2100). Since by always having different IDs I see pros and no cons, I propose to always have them different.