You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: PendingProposalsList has a cleanup_expired_proposal helper but there is no counterpart that removes a proposal from the list when it is explicitly rejected via vote. Over time the list accumulates stale proposal IDs and the max_pending_proposals cap can be hit prematurely.
Implementation & verification: Treat this as a protocol-safety change: check authorization, storage/ABI compatibility, ledger-time behavior, and emitted events before changing the implementation. Add a contract-level regression test for both the invalid and successful paths.
**Required change set **: Change the relevant contract implementation together with its focused contract test, and include a type, error, or deployment-script adjustment only when required
PendingProposalsListhas acleanup_expired_proposalhelper but there is no counterpart that removes a proposal from the list when it is explicitly rejected via vote. Over time the list accumulates stale proposal IDs and themax_pending_proposalscap can be hit prematurely.contracts/access_control/src/access_control.rs