Repository navigation
Fundraiser: follow the close_contribution rename - #234
Merged
Merged
Conversation
quicknode/solana-program-examples#186 renamed the per-backer account from Contributor to Contribution. The chapter, the PDA chapter and the fundraiser figures follow: - close_contributor() -> close_contribution() - seed "contributor" -> "contribution" - open_contributor_accounts -> open_contributions - ContributorAccountsOpen -> ContributionsOpen - test and Kani harness names to match Every identifier the chapter names resolves in the companion repository's main. Claude-Session: https://claude.ai/code/session_01Jzjsod5Bqrr1QHY5hGQYQb
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.
quicknode/solana-program-examples#186 (merged) renamed the per-backer account from
ContributortoContribution, becauseclose_contributorclosed that account, not the contributor. This PR updates the Fundraiser chapter, the PDAs chapter and the fundraiser figures to the new names:close_contributor()→close_contribution()"contributor"→"contribution"(in prose and in the"CONTRIBUTION" +seed labels in figures)open_contributor_accounts→open_contributionsContributorAccountsOpen→ContributionsOpentest_stale_contributor_account_cannot_refund_from_next_raise→test_stale_contribution_cannot_refund_from_next_raise, plus the other test and Kani harness namesEvery function, error, test and harness name the chapter uses resolves in the companion repository's
main.Verification
npm run lint: cleannode scripts/check-figure-geometry.mjs: clean across 100 figuresnpm run build-pdf: built🤖 Generated with Claude Code
https://claude.ai/code/session_01Jzjsod5Bqrr1QHY5hGQYQb
Generated by Claude Code