-
Notifications
You must be signed in to change notification settings - Fork 160
fix: do not suggest TWAP when cross-chain swap #6607
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughTranslation updates reactivate and revise localization strings; TWAP suggestion banner is now gated to not render during bridging trades; explicit ReactNode return types added to improve type safety in banner and warnings components. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-10-10T20:28:16.565ZApplied to files:
📚 Learning: 2025-07-24T16:42:53.154ZApplied to files:
📚 Learning: 2025-10-13T19:41:31.440ZApplied to files:
📚 Learning: 2025-02-20T15:59:33.749ZApplied to files:
📚 Learning: 2025-06-16T15:58:00.268ZApplied to files:
📚 Learning: 2025-06-16T16:01:46.729ZApplied to files:
📚 Learning: 2025-09-19T11:38:59.206ZApplied to files:
📚 Learning: 2025-07-24T16:43:47.639ZApplied to files:
⏰ 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)
🔇 Additional comments (7)
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 |
| msgstr "Signature is undefined!" | ||
|
|
||
| #: apps/cowswap-frontend/src/modules/orderProgressBar/pure/BenefitComponents.tsx | ||
| msgid "I just received surplus on" |
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.
p.s. I didn't update it manully, it was updated automatically
Summary
Since cross-chain swaps are not possible in TWAP, it doesn't make sense to suggest it when current trade is a cross-chain swap.
To Test
Summary by CodeRabbit
Documentation
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.