An approved transaction can become impossible to cancel after the multisig grows
A transaction has room for three votes per member at creation, shared across approvals, rejections, and cancellations. If the multisig grows and raises its threshold, the cancellation that would reach it may not fit.
Why this is a risk, not a vulnerability · Requires member consensus
- Program
- Squads V3
- Source
- Public program behavior
- Code
- View at c95b767
A transaction account is allocated once, at creation, with room for three votes per member at that time, shared across the approval, rejection, and cancellation lists. It is never resized.
Cancellation compares the number of cancellation votes to the multisig’s current threshold. If members are added and the threshold is raised above the original member count, the existing approvals plus the cancellations needed can exceed that space, and the vote that would reach the threshold fails. For example, a transaction created in a 2-of-2 that later becomes a 5-of-6 has 6 slots but needs 2 approvals plus 5 cancellations. An approved transaction in that state can still be executed by any member, but it can no longer be cancelled.
What to do
- Cancel unwanted approved transactions before adding members and raising the threshold.
- After growing a multisig, review older approved transactions and treat any you can’t cancel as executable at any time.
- Integrators: flag approved transactions whose remaining space can’t hold enough cancellations to reach the current threshold.