Conversation
NU6.1 (activated Nov 24 2025 at block 3146400) changed fee rules: - MARGINAL_FEE: 5000 → 10000 zatoshi (doubled) - GRACE_ACTIONS: 2 → 0 (removed, all actions must be paid) - Logical actions: inCount + outCount → max(inCount, outCount) Without this fix, transactions are rejected with: "-26: 66: tx unpaid action limit exceeded" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
getFee is now the single source of truth for memo output slot counting. Callers pass only non-memo outputs; getFee adds memo slots internally. Fixes double-counting in buildTx/prepareMaxTx and bypass in buildMaxTx. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR fixes memo fee double-counting in Zcash by standardizing how memo output slots are calculated. It increases the marginal fee constant, refactors fee calculation logic to use Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit