Lending: expand 'coll' to 'collateral' in Quasar test identifiers#75
Merged
Conversation
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
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.
Follows the Solana skill's naming rule (RUST.md: avoid abbreviations, use full words), same class of fix as the earlier
liq→liquidationchange.Changes
finance/lending/quasar/src/tests.rs) shortenedcollateraltocollacross ~40 identifiers (coll_reserve,coll_vault,coll_share_mint,coll_price,COLL_MINT,BORROWER_COLL,BORROWER_COLL_SHARE,LIQUIDATOR_COLL_SHARE). All expanded tocollateral_*/COLLATERAL_*.(market, mint).Test-only changes; the program source was already abbreviation-free. Host-side
cargo test --no-runcompiles clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01RwE8f8ahP5S6SDNTsXmpj9
Generated by Claude Code