-
Notifications
You must be signed in to change notification settings - Fork 86
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
Remove obsolete solver competition data #2143
Conversation
@harisang Is it ok to completely remove the |
083fa7b
to
0c26de1
Compare
Am i correct to assume that moving forward, what we report in the competition endpoint should be from the point of view of the autopilot only? If so, I agree "gasPrice" and "liquidity fetching block" should be removed, and also I don't think we need the objective anymore. |
I think so. At the end of the day all data we want to log here we either need to receive from the driver or index ourselves. Since the autopilot shouldn't worry about liquidity going forward, it would have to be passed up from drivers (which in most cases doesn't make sense, since not all drivers fetch liquidity in the first place) |
Description
Now that we collect all the competition data we care about going forward, we can remove the obsolete fields. Changes should be backwards compatible as
Options
will be parsed as Some if present and extra fields that remain in the json that is stored in the DB will be ignored. Very old auctions for which we don't store ranking or score will fail to load (but that's acceptable IMO)Changes
How to test
Run e2e test
Related Issues
Fixes #1949