ReProposal: Spam Prevention - Convert from system-based rewards to voter based rewards

Hi all,
FYI, here is the code change required to implement this proposal (h/t to @johan for providing this).

Within rs/nns/governance/src/governance.rs and within the function distribute_rewards only the following few lines need to change (in addition there is some work for adjusting several test cases)

I am not sure if the actual code changes are also discussed in this forum. For this example I found it insightful to share, because it underlines how practical the proposal is.

7 Likes