V3-23InfoAcceptedOperations & integration
Transaction and instruction accounts are never closed
Every transaction and stored instruction keeps its rent forever. There is no instruction to close them or refund the creator.
Why this is a risk, not a vulnerability · Documented behavior
An accepted audit finding and a deliberate design choice. It costs the creator rent; it does not affect vault funds. What is a vulnerability
- Program
- Squads V3
- Source
- Neodyme NP3, NP2
- Code
- View at c95b767
The program has no close instruction. Every transaction and instruction account, executed or not, stays on-chain with the rent its creator paid. Squads chose this to keep a permanent on-chain record of who approved what, and to avoid making cheap transaction spam possible.
Transaction indexes are 32-bit, so a multisig can create about 4.3 billion transactions in its lifetime. Because every transaction costs non-refundable rent, Neodyme judged reaching that limit prohibitively expensive.
What to do
- Budget for rent on every transaction and instruction you create; large or many-instruction transactions cost more.
- Integrators: don’t offer a “reclaim rent” action for V3, because there is none.