@@ -36,8 +36,8 @@ use warp::Filter;
36
36
37
37
use crate :: {
38
38
artifact_builder:: {
39
- ArtifactBuilderService , MithrilArtifactBuilderService ,
40
- MithrilStakeDistributionArtifactBuilder ,
39
+ ArtifactBuilderService , CardanoImmutableFilesFullArtifactBuilder ,
40
+ MithrilArtifactBuilderService , MithrilStakeDistributionArtifactBuilder ,
41
41
} ,
42
42
certifier_service:: { CertifierService , MithrilCertifierService } ,
43
43
configuration:: { ExecutionEnvironment , LIST_SNAPSHOTS_MAX_ITEMS } ,
@@ -904,8 +904,14 @@ impl DependenciesBuilder {
904
904
let multi_signer = self . get_multi_signer ( ) . await ?;
905
905
let mithril_stake_distribution_artifact_builder =
906
906
Arc :: new ( MithrilStakeDistributionArtifactBuilder :: new ( multi_signer) ) ;
907
+ let snapshotter = self . build_snapshotter ( ) . await ?;
908
+ let snapshot_uploader = self . build_snapshot_uploader ( ) . await ?;
909
+ let cardano_immutable_files_full_artifact_builder = Arc :: new (
910
+ CardanoImmutableFilesFullArtifactBuilder :: new ( snapshotter, snapshot_uploader) ,
911
+ ) ;
907
912
let artifact_builder_service = Arc :: new ( MithrilArtifactBuilderService :: new (
908
913
mithril_stake_distribution_artifact_builder,
914
+ cardano_immutable_files_full_artifact_builder,
909
915
) ) ;
910
916
911
917
Ok ( artifact_builder_service)
0 commit comments