-
Notifications
You must be signed in to change notification settings - Fork 219
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
Mixed route v4 tests #374
base: dev
Are you sure you want to change the base?
Mixed route v4 tests #374
Conversation
}) | ||
|
||
describe('Interleaving routes', () => { | ||
describe.only('Interleaving routes', () => { |
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.
remove .only
v3AmountIn, | ||
v3AmountOutMin, | ||
encodePathExactInput(v3Tokens), | ||
SOURCE_MSG_SENDER, // the user pays for the input of the v3 trade |
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.
in v3 you input the payer?
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.
its just a boolean (like in v4) called payerIsUser
. So SOURCE_MSG_SENDER == true
and SOURCE_ROUTER == 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.
doesnt let you pull from any address
No description provided.