-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove "latest_settlement_block" from API (#3151)
# Description Recently we introduced a new database table to store all auction objects -> `competition_auctions` table. Note that this table does not contain field `latest_settlement_block`. The reason is that this field is actually deductible from other data in the database -> it's even deductible from blockchain. For a given block X, you can always know what is the latest block before block X where the last settlement was settled. Moreover, `latest_settlement_block` is now only used internally in solvable orders cache component of autopilot, so it's not actually a core autopilot information. This change opens the door to unify `auction` and `competition_auctions` table with final goal of removing `auction` table completely. Removes tech debt. # Changes <!-- List of detailed changes (how the change is accomplished) --> - [ ] Remove `latest_settlement_block` field from api and autopilot ## How to test All tests passing. If you are worried about a transition period, removing a field shouldn't be problematic for deserializing old object containing `latest_settlement_block`. The only concern is that solvers needs to adjust their deserialize logic so it doesn't break. Will be notified in advance once approvals are collected. <!-- ## Related Issues Fixes # -->
- Loading branch information
Showing
9 changed files
with
0 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters