fix: add missing field comparisons in ZCToken PartialEq#2085
fix: add missing field comparisons in ZCToken PartialEq#2085SwenSchaeferjohann merged 1 commit intomainfrom
Conversation
WalkthroughEnhanced equality comparison logic for ZCToken's Compressible extension configuration by adding three new field comparisons ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Areas requiring attention:
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)program-libs/**/*.rs📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (19)📓 Common learnings📚 Learning: 2025-11-24T17:54:20.982ZApplied to files:
📚 Learning: 2025-11-24T18:01:14.087ZApplied to files:
📚 Learning: 2025-11-24T18:01:42.343ZApplied to files:
📚 Learning: 2025-11-24T18:00:13.178ZApplied to files:
📚 Learning: 2025-11-24T18:01:14.087ZApplied to files:
📚 Learning: 2025-11-24T18:01:14.087ZApplied to files:
📚 Learning: 2025-11-24T18:01:14.087ZApplied to files:
📚 Learning: 2025-11-24T18:01:42.343ZApplied to files:
📚 Learning: 2025-11-24T18:00:13.178ZApplied to files:
📚 Learning: 2025-11-24T18:01:14.087ZApplied to files:
📚 Learning: 2025-11-24T18:01:30.012ZApplied to files:
📚 Learning: 2025-11-24T17:55:32.059ZApplied to files:
📚 Learning: 2025-11-24T18:01:42.343ZApplied to files:
📚 Learning: 2025-11-24T18:01:42.343ZApplied to files:
📚 Learning: 2025-11-24T17:55:17.323ZApplied to files:
📚 Learning: 2025-11-24T17:55:17.323ZApplied to files:
📚 Learning: 2025-11-24T18:01:42.343ZApplied to files:
📚 Learning: 2025-11-24T18:01:30.012ZApplied to files:
🧬 Code graph analysis (1)program-libs/ctoken-types/tests/ctoken/spl_compat.rs (3)
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (2)
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 |
The eq() implementation for the Compressible extension was missing comparisons for compress_to_pubkey and account_version fields. This could cause two CToken instances to be considered equal even when these fields differed.
d1c0cf4 to
c00af72
Compare
The eq() implementation for the Compressible extension was missing comparisons for compress_to_pubkey and account_version fields. This could cause two CToken instances to be considered equal even when these fields differed.
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.