Skip to content

Lending: expand 'coll' to 'collateral' in Quasar test identifiers#75

Merged
mikemaccana merged 1 commit into
mainfrom
claude/lending-naming-fixes
Jun 21, 2026
Merged

Lending: expand 'coll' to 'collateral' in Quasar test identifiers#75
mikemaccana merged 1 commit into
mainfrom
claude/lending-naming-fixes

Conversation

@mikemaccana

Copy link
Copy Markdown
Collaborator

Follows the Solana skill's naming rule (RUST.md: avoid abbreviations, use full words), same class of fix as the earlier liqliquidation change.

Changes

  • The Quasar test harness (finance/lending/quasar/src/tests.rs) shortened collateral to coll across ~40 identifiers (coll_reserve, coll_vault, coll_share_mint, coll_price, COLL_MINT, BORROWER_COLL, BORROWER_COLL_SHARE, LIQUIDATOR_COLL_SHARE). All expanded to collateral_* / COLLATERAL_*.
  • Corrected a stale comment that still described the price-feed PDA as seeded by its writing authority; it is seeded by (market, mint).

Test-only changes; the program source was already abbreviation-free. Host-side cargo test --no-run compiles clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RwE8f8ahP5S6SDNTsXmpj9


Generated by Claude Code

The Solana skill's naming rule is to avoid abbreviations and use full
words. The Quasar test harness shortened 'collateral' to 'coll' across
~40 identifiers (coll_reserve, coll_vault, coll_share_mint, coll_price,
COLLATERAL_MINT, BORROWER_COLLATERAL, etc.). Spell them all out.

Also correct a stale comment that still described the price-feed PDA as
seeded by its writing authority; it is seeded by (market, mint).

Host-side `cargo test --no-run` compiles clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwE8f8ahP5S6SDNTsXmpj9
@mikemaccana mikemaccana merged commit 5e719ae into main Jun 21, 2026
18 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.

2 participants