inhindsight / hindsight

Apache License 2.0
12 stars 8 forks source link

Remove requirement of ID on event structs #240

Open jessie-morris opened 4 years ago

jessie-morris commented 4 years ago

Since ID must be unique, requiring it on event structs seems to allow problems to occur when multiple events are entered into the system with the same id. I recommend this is handled by removing this column from the contract and generating a UUID as these events are processed into the system.