tfchain icon indicating copy to clipboard operation
tfchain copied to clipboard

Calculate vote weight when a proposal is closed

Open DylanVerstraete opened this issue 2 years ago • 6 comments

Currently vote weights are calculated when a vote is cast. A farmer setup can change during the duration of a proposal and thus his weight can be different when a proposal is closed then when he actually voted. We can calculate the weight of a vote when we close a proposal but this can be a very storage intensive operation. When we want to do this we also need proper weight calculation on the close method.

DylanVerstraete avatar Jun 13 '22 12:06 DylanVerstraete