Description:
Require M-of-N multi-signature approval for critical configuration changes (e.g. fee rate, treasury address, pause) in addition to or instead of single admin, reducing single point of failure.
Requirements and context:
- Config changes can have large impact
- Multisig aligns with security best practices for high-value deployments
- Should integrate with existing proposal/approval patterns where present
- Component locations:
- Config and admin modules
- Proposal storage and execution
Suggested execution:
-
Fork the repo and create a branch
git checkout -b feat/multisig-config-changes
-
Implement changes
- Add propose_config_change(change_payload) and approve_config_change(proposal_id)
- Store proposals and approvals; execute when threshold reached
- Support configurable signer set and threshold
- Emit events for propose, approve, execute, and cancel
-
Test and commit
- Add tests for threshold, rejection, and expiry
- Document multisig config flow in PR
Example commit message:
feat: add multi-signature approval for configuration changes
Guidelines:
- Assignment required before starting
- PR description must include:
Closes #[issue_id]
Description:
Require M-of-N multi-signature approval for critical configuration changes (e.g. fee rate, treasury address, pause) in addition to or instead of single admin, reducing single point of failure.
Requirements and context:
Suggested execution:
Fork the repo and create a branch
Implement changes
Test and commit
Example commit message:
Guidelines:
Closes #[issue_id]