Cleaning `total_votes` from proposal after HIVE_GOVERNANCE_VOTE_EXPIRATION_PERIOD didnt work.
While creating tests, I encountered a problem with clearing total_votes
from the proposal (after HIVE_GOVERNANCE_VOTE_EXPIRATION_PERIOD time)
Simplified test scenario:
- Account_A and Account_B
- Account_A vote for proposal and witness
- Account_B set proxy to Account_A
- wait HIVE_GOVERNANCE_VOTE_EXPIRATION_PERIOD ( mainnet time 365d/ testnet time 5d )
- Check the vote_power for:
- the proposal:
total_votes
is not clearing - it is a problem, - the witness:
votes
are cleaned.
Regression test is located: https://gitlab.syncad.com/hive/hive/-/commits/kudmich/regresion-test-for-problem-with-cleaning-proposal-total-votes