docs: add CLAUDE.md and clean up kora-light-client#2348
docs: add CLAUDE.md and clean up kora-light-client#2348
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (17)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can approve the review once all CodeRabbit's comments are resolved.Enable the |
Add struct builders (Transfer2, TransferChecked, Decompress, Wrap, Unwrap) matching light-token-client's pattern. Remove internal type leakage from crate root. Dogfood builders in load_ata.rs. Update CLAUDE.md. Includes prior work: account selection fixes, packed accounts dedup, CLAUDE.md documentation.
75962f2 to
850ee62
Compare
- Add RentConfig struct + 3 missing fields to CompressionInfo (80→96 bytes) - Add golden byte test verifying CompressionInfo field layout - Add PDA tests: find_spl_interface_pda, is_light_token_owner (4 branches) - Add wrap/unwrap payload tests: compression modes, account indices - Add large-amount wrap test (near u64::MAX) - Add wrap/unwrap roundtrip test verifying inverse compression modes - Fix linter reordering in lib.rs, load_ata.rs
Summary
CLAUDE.mddocumentation for kora-light-client following the repo's DOCS.md guidelines (integration workflow, packed accounts scheme, API reference, types, constants, compute budget guidance, compatibility notes)NUM_MAX_POOL_ACCOUNTS,TOKEN_COMPRESSED_ACCOUNT_DISCRIMINATORconstants and unusedhexdev-dependencyDEFAULT_MAX_TOP_UPconstant from 4 builder files intoprogram_ids.rsTest plan
cd kora-light-client && cargo test— 51 tests pass (43 unit + 8 golden bytes)cd kora-light-client && cargo clippy— no warningsprogram_ids.rs