Repository navigation
Mark the program account as writable in the Close instruction - #30
Merged
joncinque merged 2 commits intoDec 1, 2026
Merged
Conversation
joncinque
reviewed
Dec 1, 2026
joncinque
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the contribution.
However, we can't just commit a binary from an external contributor to the repo. We'll push to your branch with a no-op program from our side.
The rest looks correct to me
| { | ||
| "name": "programAccount", | ||
| "isMut": false, | ||
| "isMut": true, |
Contributor
There was a problem hiding this comment.
Confirming this is correct
joncinque
force-pushed
the
fix/close-program-writable
branch
from
December 1, 2026 10:58
3b92adb to
1e12f62
Compare
joncinque
force-pushed
the
fix/close-program-writable
branch
from
December 1, 2026 11:02
1e12f62 to
38245dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closing a program with
closealways failed withProgram account is not writable, since the idl had the program account as read-only. made it writable, regenerated the clients and added a litesvm test that deploys and closes a small program