-
Notifications
You must be signed in to change notification settings - Fork 82
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
Multiple winners e2e test #3066
Conversation
max_hops: usize, | ||
merge_solutions: bool, |
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.
The testing code gets more and more complex it seems. I tried to make this test happen without adding these new arguments but it seems this is not as straight forward.
Seems like the issue is that we need to have native prices which requires a TOKEN <> WETH
pool. And since you need to have these pools for all traded tokens to have the order included in the auction you can't prevent a solver from using the route via WETH
.
We should probably try cleaning up the e2e testing stuff some time soon. :/
Description
Implements e2e test for multiple winners per auction feature.
Verifies that:
/settle
calls are sent and two transactions are mined.How to test
Added test.