Skip to content

Fundraiser: follow the close_contribution rename - #234

Merged
mikemaccana merged 1 commit into
mainfrom
claude/eloquent-planck-vqidsx
Oct 3, 2026
Merged

mikemaccana merged 1 commit into
mainfrom
claude/eloquent-planck-vqidsx

Conversation

@mikemaccana

Copy link
Copy Markdown
Collaborator

quicknode/solana-program-examples#186 (merged) renamed the per-backer account from Contributor to Contribution, because close_contributor closed 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()
  • PDA seed "contributor" → "contribution" (in prose and in the "CONTRIBUTION" + seed labels in figures)
  • open_contributor_accounts → open_contributions
  • ContributorAccountsOpen → ContributionsOpen
  • test_stale_contributor_account_cannot_refund_from_next_raise → test_stale_contribution_cannot_refund_from_next_raise, plus the other test and Kani harness names

Every function, error, test and harness name the chapter uses resolves in the companion repository's main.

Verification

  • npm run lint: clean
  • node scripts/check-figure-geometry.mjs: clean across 100 figures
  • npm run build-pdf: built

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jzjsod5Bqrr1QHY5hGQYQb


Generated by Claude Code

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
@mikemaccana
mikemaccana merged commit 3258aac into main Oct 3, 2026
1 check passed
@mikemaccana
mikemaccana deleted the claude/eloquent-planck-vqidsx branch October 13, 2026 00:23
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