Skip to content

‼️ DEPRECATED: v2.2.0 - Governor UX improvements

Compare
Choose a tag to compare
@moodysalem moodysalem released this 15 Jun 17:41
· 11 commits to main since this release
d933fe4

‼️ DEPRECATED: This release has a critical issue in the governor. Do not use it.

What's Changed

Enable simulating proposals by making the governor contract an account contract, but preventing any execution in the __validate__ implementation. This allows features to be built that improve the process of creating proposals, e.g. we can show the resulting token transfers or whether the proposal could be successfully executed before the proposal is created.

Also, removes the report breach functionality from the governor. The idea of this functionality originally came from Compound's governor alpha. It allows a malicious delegate to create proposals and then cancel them in the final moments of the voting period: a user could delegate the threshold to one of their own accounts, and then remove their delegation towards the end of the period in order to cancel. The rationale of the original feature in Compound's governor is not well described, so we decided to remove it.

New Contributors

Full Changelog: v2.1.0...v2.2.0

AirdropClaimCheck @ 0x02e4460d6eb21916b86aa722a03935300868346cd76bd4c3c239ccdc0b9d2447
Airdrop @ 0x01cb5e128a81be492ee7b78cf4ba4849cb35f311508e13a558755f4549839f14
Staker @ 0x05439a02056c9479bd50d270aa9ecbff87e2bf1d4c79269482a6d8861a08c0d3
Governor @ 0x05f6b46bfdddea2ca37ccbe9a38746a8e37bc9be283749a9936c79d1da9cf98e