RGB-WG / rgb-schemata

Standard RGB schemata and schema compiler
Apache License 2.0
29 stars 20 forks source link

Always use different IDs for schema fields #6

Closed zoedberg closed 1 year ago

zoedberg commented 1 year ago

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.