0xMiden / 0xMiden/protocol

Update mint policy allowlist after account code upgrades

Aperta
#2,616 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
blocked standards
Lingua principale
Rust
Stelle
132
Fork
167
Merge medio
1g 23h
PR unite (30g)
110

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.