You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
In order to ensure that Governance proxies cannot drain accounts, it's important to avoid any governance operations which can result in funds being reserved and slashed and that the weight system is used to charge the calling account for frivolous computation.
vote should be refactored so that it reserves the "right" amount of a deposit, and report_defunct_voter should be redone so that the correct (or at least maximum) amount of weight is charged-for up front. The deposit can be returned to the original account in the success case, and no further action taken in the case of no success.