-
Notifications
You must be signed in to change notification settings - Fork 51
Reorganize signer dependencies #1908
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
Conversation
Test Results 4 files ±0 53 suites ±0 9m 13s ⏱️ -13s Results for commit 8362c9b. ± Comparison against base commit 29586c4. This pull request removes 62 and adds 62 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
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.
LGTM
I just left few suggestions
Based on the aggregator equivalent module.
* `**ServiceBuilder` -> `**DependenciesBuilder` * `SignerService` -> `SignerDependencyContainer`
…` module And remove `signer_services.rs` from the `runtime` module.
While keeping import paths identical for now.
Instead of reexporting them directly at the lib root.
…ectory And move existing code to a `service.rs` mod to avoid putting everything in the `mod.rs`. This is a ground work to move all importers to this directory
76daf5f to
6fe0220
Compare
b57768d to
c9abaa5
Compare
And remove the trait of the same name. The idea behind the `DependenciesBuilder` trait was to define a common api to build dependencies, but two years after its introduction it only have one implementor.
c9abaa5 to
afd8865
Compare
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.
LGTM
Content
This PR reorganize
mithril-signersource directory based onmithril-aggregatorcurrent structure:runtime/signer_services:dependency_injectionmoduleServiceBuilder->DependenciesBuilder,SignerService->SignerDependencyContainer)builderandcontainersubmoduleservicesmodule:storemodule that contains theMKTreeStoreSqliteand theProtocolInitializerStorePre-submit checklist
Issue(s)
Closes #1906