governance-ui
governance-ui copied to clipboard
Make it possible to easily recover SOL from unused program upgrade buffers
Summary
When a proposal to upgrade a program is created but not voted on then the SOL used for its rent should be easily recoverable
Solution
Create UI logic to find all outstanding buffer and create a proposal to close them similarly to solana program close -buffer
If this issue is still open, I'd like to take a crack at it!
Can you explain what would normally happen if it's not voted on currently? Would the SOL used just sit somewhere until you use solana program close -buffer
in the CLI?
this issue has been taken care of https://github.com/solana-labs/governance-ui/pull/375
If you crate a proposal to upgrade a program you have to allocate a buffer and transfer authority to governance. If then proposal is not successful that buffer remains and holds the rent SOL
this issue has been taken care of https://github.com/solana-labs/governance-ui/pull/375
@abrzezinski94 should this be closed based on the above?