SolomonDefi / solomon-monorepo

Monorepo containing core Solomon apps, services, libraries, and deploy config.
6 stars 4 forks source link

Handling of dispute vote encryption #138

Closed jtse0 closed 2 years ago

jtse0 commented 2 years ago

Votes are currently open and unencrypted, however there is a need to keep the votes encrypted so that voters don't know how others are voting. The method of encryption and how everything will be handled will be detailed further in this ticket before implementation.

solomondefi-dev commented 2 years ago

It is probably acceptable for either party to know the current status of the vote, we only need to ensure the jurors don't have access to that information.

One option could be to:

I may have missed something, but something like this should work - let me know if you can think of any simplifications. The main problem is going to be gas cost, but that's an issue no matter what.