Summary
A holder who changes their vote before a poll expires must have their weight removed from the previous option and added to the new one. A regression test should confirm the tally is updated correctly without double-counting.
Scope
- Create a poll with two options
- Wallet A votes for option 0 with a balance of 10 keys
- Wallet A changes their vote to option 1
- Assert option 0 tally decreased by 10 and option 1 tally increased by 10
- Assert total vote weight across all options remains unchanged
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
A holder who changes their vote before a poll expires must have their weight removed from the previous option and added to the new one. A regression test should confirm the tally is updated correctly without double-counting.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram