Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to easily recover SOL from unused program upgrade buffers #242

Open
SebastianBor opened this issue Jan 11, 2022 · 3 comments
Labels
good first issue Good for newcomers

Comments

@SebastianBor
Copy link
Collaborator

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

@mschneider mschneider added the good first issue Good for newcomers label Feb 16, 2022
@masayafunakoshi1
Copy link
Contributor

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?

@SebastianBor
Copy link
Collaborator Author

this issue has been taken care of #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

@tomjohn1028
Copy link
Contributor

this issue has been taken care of #375

@abrzezinski94 should this be closed based on the above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants