Skip to content

Commit 378b75b

Browse files
committed
refactor(aggregator): remove deprecated configuration field from DependencyContainer
1 parent a70ba85 commit 378b75b

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

mithril-aggregator/src/dependency_injection/builder/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ impl DependenciesBuilder {
327327
pub async fn build_dependency_container(&mut self) -> Result<DependencyContainer> {
328328
#[allow(deprecated)]
329329
let dependency_manager = DependencyContainer {
330-
config: self.configuration.clone(),
331330
root_logger: self.root_logger(),
332331
sqlite_connection: self.get_sqlite_connection().await?,
333332
sqlite_connection_cardano_transaction_pool: self

mithril-aggregator/src/dependency_injection/containers.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ use mithril_persistence::{
2626
use mithril_signed_entity_lock::SignedEntityTypeLock;
2727

2828
use crate::{
29-
configuration::*,
3029
database::repository::{
3130
CertificateRepository, OpenMessageRepository, SignedEntityStorer, SignerGetter,
3231
StakePoolStore,
@@ -49,11 +48,6 @@ pub type EpochServiceWrapper = Arc<RwLock<dyn EpochService>>;
4948

5049
/// DependencyManager handles the dependencies
5150
pub struct DependencyContainer {
52-
/// Configuration structure.
53-
// TODO: remove this field and only use the `Configuration` in the dependencies builder
54-
#[deprecated]
55-
pub config: Configuration,
56-
5751
/// Application root logger
5852
pub root_logger: Logger,
5953

0 commit comments

Comments
 (0)