0xMiden / 0xMiden/protocol

Update mint policy allowlist after account code upgrades

未關閉
#2,616 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
blocked standards
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。