-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
solvers
Configuration (#2351)
# Description As mentioned [here](#1853 (comment)) we are moving the `infra` dependencies out of the `domain` module to follow domain driven design principles. # Changes Misc: - ~~Reduced standard output from tests by disabling doctests (there didn't seem to be any)~~ - ~~Formatted the code by running `cargo fmt` (this affected a lot of files)~~ Related Issue: - Moved the configs from the `infra` modules into the `domain` modules - Changed the `infra` modules, `baseline` and `naive`, to be files instead of directories since the directories aren't needed here, and to follow the `legacy` structure - Updated the `run` module to - Accept the configs that have been moved into `domain` - Changed the paths to `load` the configs given that the directories have been changed into files ## How to test In the README.md there is a testing section. The following sections have been run: 1. Unit Tests 2. DB Tests 3. E2E Tests - Local Node ## Related Issues Closes #1853 ## Comments I have refrained from doing any refactoring after the configs have been moved into `domain` despite the similarity of certain private types simply because I'm not familiar enough with the codebase to deem whether such a refactor would be apt as part of this issue. --------- Co-authored-by: Felix Leupold <felixleupold90@gmail.com>
- Loading branch information
Showing
7 changed files
with
25 additions
and
30 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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