-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specs: what happens with decisions if reputation distribution changes? #19
Comments
Two things:
|
I moved your first point to a new issue, #21 . Regarding the second point. We sort of need to tally the votes at the moment they are cast, because tallying them all together is difficult to do because of gas limits. And as you said, we also want a sort of consistent vote (summing to 100%, for example). So it seems that the only option is to tally the votes on the basis of a reputation distribution "snapshot" taken, say, at the time the proposal is submitted. This seems reasonable to me. Next task: finding out how to do this in solidity. |
It seems we cannot do this in the EVM without expliciting storing the state of the reputation distribution: http://ethereum.stackexchange.com/questions/11545/is-it-possible-to-access-storage-history-from-a-contract-in-solidity So this is a problem, especially because our reputation contract is expected to become quite large. There are many solutions I can think of, but at the end, it means that we would need to pay for storing the whole history of the reputation contract, which seems excessive. |
Reputation distribution changes in time; the decision process takes time. This raises a number of decisions we need to make on how to count votes (i.e. relative to which distribution): Here is a typical case:
Question: did the proposal pass? And specifically: how much rep is staked on "yes" and how much on "no"?
The text was updated successfully, but these errors were encountered: