Adding asset to participant in hyperledger-composer: Error Message “Model violation …”
Clash Royale CLAN TAG #URR8PPP Adding asset to participant in hyperledger-composer: Error Message “Model violation …” In my hyperledger-composer application, I have Consultants and Skills. Furthermore, I have a transaction called "UpdateSkillsOfConsultant", with which a skill can be added to a consultant. However, submitting the transaction results in the following error message: I have no idea what I am supposed to do with this error message. I created a minimal example, that can be copied and pasted into the composer -playground. This is the stuff to be copied into the model.cto file: namespace org.comp.myapp abstract participant User identified by id { o String id o String firstName o String lastName o String email o String password } participant Consultant extends User { --> Skill skills optional } asset Skill identified by id { o String id o String name o Proficiency proficiency } enum Proficiency { o Beginner o Intermediate o Advanced } transa...