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

Cancelation realloc and current member state check/retain #104

Merged
merged 6 commits into from
Aug 12, 2024

Conversation

ogmedia
Copy link
Contributor

@ogmedia ogmedia commented Jun 17, 2024

Cancellation is blocked if new threshold exceeds space when proposal was first created. It's an edge case, but this will block the ability to cancel and thus reclaim rent. We propose adding a proposal_cancel_v2 for this specific realloc, but that requires a system_program account, thus adding a new account context.

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-sdk-typedoc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2024 1:31pm

@ogmedia
Copy link
Contributor Author

ogmedia commented Jun 19, 2024

Will change this to be ProposalVoteV2

@ogmedia
Copy link
Contributor Author

ogmedia commented Jun 21, 2024

@vovacodes @bguillaumat the updates slated here for the realloc introduce some duplications, but mainly because i'm not sure what we're thinking for the future. Since this is already an edge case, i'm thinking we maybe change the account contect to ProposalCancel, and use that in the proposal_cancel_v2 ix. Then we can rip out all of the approve/reject from it. Lmk.

@ogmedia ogmedia marked this pull request as ready for review July 16, 2024 13:32
@ogmedia ogmedia changed the base branch from main to release August 7, 2024 13:35
@ogmedia ogmedia merged commit e801095 into release Aug 12, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant