Skip to content

Commit 9cb3856

Browse files
committed
update usages
1 parent 236d4b7 commit 9cb3856

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/archive/archive_node_tests/archive_precomputed_blocks_test.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ type t = Mina_automation_fixture.Archive.after_bootstrap
114114

115115
let test_case (test_data : t) =
116116
let open Deferred.Let_syntax in
117-
let daemon = Daemon.default in
117+
let daemon = Daemon.default () in
118118
let archive_uri = test_data.archive.config.postgres_uri in
119119
let output = test_data.temp_dir in
120120
let%bind precomputed_blocks =
@@ -127,9 +127,9 @@ let test_case (test_data : t) =
127127
let log_file = output ^ "/precomputed_blocks_test.log" in
128128
Archive.Process.start_logging test_data.archive ~log_file ;
129129
let%bind () =
130-
Daemon.archive_blocks_from_files daemon
130+
Daemon.archive_blocks_from_files daemon.executor
131131
~archive_address:test_data.archive.config.server_port
132-
~format:Archive_blocks.Precomputed precomputed_blocks
132+
~format:`Precomputed precomputed_blocks
133133
in
134134

135135
let%bind () =

src/test/archive/patch_archive_test/patch_archive_test.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ let main ~db_uri ~network_data_folder () =
113113
~archive_uri:target_db ~format:Extensional
114114
in
115115

116-
let%bind missing_blocks_auditor_path = Missing_blocks_auditor.path in
116+
let%bind missing_blocks_auditor_path = Missing_blocks_auditor.path () in
117117

118-
let%bind archive_blocks_path = Archive_blocks.path in
118+
let%bind archive_blocks_path = Archive_blocks.path () in
119119

120120
let config =
121121
{ Missing_blocks_guardian.Config.archive_uri = Uri.of_string target_db
@@ -124,7 +124,7 @@ let main ~db_uri ~network_data_folder () =
124124
; run_mode = Run
125125
; missing_blocks_auditor = missing_blocks_auditor_path
126126
; archive_blocks = archive_blocks_path
127-
; block_format = Extensional
127+
; block_format = `Extensional
128128
}
129129
in
130130

0 commit comments

Comments
 (0)