Update mint policy allowlist after account code upgrades
- 主要語言
- Rust
- 星號
- 132
- 分支
- 167
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 110
描述
Supporting updates to the policy allowlist in `MintPolicyManager` would let accounts add or remove permitted mint policies after deployment, for example using `add_allowed_policy` and `remove_allowed_policy` or `update_allowed_policies` procedures. This could improve flexibility over time, especially for accounts that may want to adopt new policies or deprecate existing ones.
However, since the accounts are not `Upgradable`, updating the allowlist is not meaningful since newly added allowed policies still need to exist in the deployed account code. After the account code upgradability we should consider adding procedures to update the allowed procedure roots.
The relevant discussion is here: https://github.com/0xMiden/protocol/pull/2559#discussion_r2939305063
貢獻指南
評估
這個 Issue 還沒有評估資料。