Voting history: storage of votes from sns neurons, where did it go?

Hi all,

please note the answer here that might already clarify a few points.

Note that:

  • In both the SNS and the NNS the idea was always that the ballots are removed from the proposal when they are not needed anymore to establish the proposal results and proposal settlement
  • In the NNS, ballots are additionally stored in the neuron (under recent_ballots), but this also only contains the last 100 ballots of a neuron and is regularly rewritten as the neuron votes on new things.
  • Proposals are garbage collected after there are 100 proposals from the same topic
  • So there was never a notion of keeping ballots / proposals forever.
  • In the SNS there was a bug that didn’t bring proposals without reward to the final state. Due to this, for a while in SNSs without rewards ballots were not removed. But this was rather an artifact to the proposal not being properly processed until the end state (which lead to other problems) than a design choice.
  • We have on the future roadmap to look into how the proposal history can be stored permanently, but this is further out.
3 Likes