-
Notifications
You must be signed in to change notification settings - Fork 91
feat: include feeAmount in batch transaction value for ETH_FEE_PROXY_CONTRACT payments #1674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…CONTRACT payments
WalkthroughLogic in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (19)📓 Common learnings📚 Learning: 2024-11-08T18:24:06.144ZApplied to files:
📚 Learning: 2024-11-12T16:54:02.702ZApplied to files:
📚 Learning: 2024-10-29T09:00:54.169ZApplied to files:
📚 Learning: 2024-11-12T17:48:47.072ZApplied to files:
📚 Learning: 2024-11-04T14:32:57.040ZApplied to files:
📚 Learning: 2024-10-28T16:03:33.215ZApplied to files:
📚 Learning: 2024-11-08T20:01:10.313ZApplied to files:
📚 Learning: 2024-10-17T18:30:55.410ZApplied to files:
📚 Learning: 2024-11-08T20:01:10.313ZApplied to files:
📚 Learning: 2024-12-09T18:59:04.613ZApplied to files:
📚 Learning: 2024-10-05T14:43:16.298ZApplied to files:
📚 Learning: 2024-11-05T16:53:05.280ZApplied to files:
📚 Learning: 2024-11-08T18:24:19.095ZApplied to files:
📚 Learning: 2024-10-29T08:03:10.463ZApplied to files:
📚 Learning: 2024-10-29T08:02:02.600ZApplied to files:
📚 Learning: 2024-11-04T12:18:13.888ZApplied to files:
📚 Learning: 2024-11-06T14:48:18.698ZApplied to files:
📚 Learning: 2024-10-28T20:00:33.707ZApplied to files:
🧬 Code graph analysis (1)packages/payment-processor/test/payment/batch-proxy.test.ts (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Comment |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
bassgeta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
rodrigopavezi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good one

Description of the changes
Fixed a bug in the batch conversion proxy where fee amounts were not included in the transaction value for ETH_FEE_PROXY_CONTRACT payments. The code now properly adds the fee amount to the total transaction value, ensuring that the correct amount is sent when processing payments. Added comprehensive tests to verify the fix works for both single payments and batches of payments with fees.
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.