-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Mostly a refactor with a few changes to improve observability. # Changes Refactors: * move fairness checks and solutions sorting into `competition` to have it return the final state of the competition * combine a bunch of logic to report on the proposed solutions into `report_on_solutions()` * rename `solve()` to `try_solve()` and introduce a new function `solve()` that does all the error handling to make `competition()` leaner Observability: * `info` log whenever we see a new block * log which solver proposed a solution for which order (to have a holistic view on the auction in the autopilot without having to stitch together driver logs * record `Executed` order events together with `Considered` as suggested [here](#2921 (comment)) to have a consistent view in the DB ## How to test e2e tests should still pass
- Loading branch information
1 parent
a25053d
commit 6c6d982
Showing
5 changed files
with
127 additions
and
104 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