-
Notifications
You must be signed in to change notification settings - Fork 207
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
feat: set v2
as default API for Swap
#1254
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
v2
as default API for Swap
v2
as default API for Swap
@@ -17,7 +17,7 @@ export function Swap({ | |||
maxSlippage: DEFAULT_MAX_SLIPPAGE, | |||
}, | |||
className, | |||
experimental = { useAggregator: true }, | |||
experimental = { useAggregator: false }, |
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.
If we are switching, why keep all this extra code?
If we are confident in how it works, we should just remove all experimental
code.
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.
Are we thinking to do that later? And later when?
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.
let's leave this option in for developers for now. will share the migration plan in Slack
What changed? Why?
v1
aggregator API (0x and 1inch)v2
API by default (Uniswap)Notes to reviewers
How has it been tested?