Badger-Finance / badger-multisig

Badger DAO's EVM multisig operations.
GNU Affero General Public License v3.0
51 stars 32 forks source link

Minting upgradability #1277

Open petrovska-petro opened 1 year ago

petrovska-petro commented 1 year ago

Currently the minting capabilities are restricted to the controller, which is governed by the dev_msig, which under current conditions this could occur atomically and its status presents an opportunity to upgrade the flow considering the following approaches (but not limited to):

This will achieve a greater standard of security around this action matching our practices across-the-board.

petrovska-petro commented 1 year ago

Refs:

gosuto-inzasheru commented 1 year ago

conclusions from discussion with @dapp-whisperer:

tldr: scope of this ticket is therefore reduced to:

sajanrajdev commented 1 year ago

@petrovska-petro, given the reach of the contract in matter, Dapp requested that we include a bit more of testing diligence in the script before executing. Specifically, we wants confirmation via a test that the controller and the BADGER token will continue to work properly after the change.

Adding a simulation of a few of the actions on both the controller and the token within the same script (scripts/issue/1277/mint_controller_admin_update.py) will be enough.