Skip to content

Commit c36e4a4

Browse files
authored
Merge pull request #17283 from MinaProtocol/corvo/extract-blocks-remove-core
Extract Blocks: remove dependency Core
2 parents 34f93b2 + 7b36899 commit c36e4a4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/app/extract_blocks/dune

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
(libraries
66
;; opam libraries
77
async_unix
8-
core
98
base
109
base64
1110
integers

src/app/extract_blocks/extract_blocks.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ let check_state_hash ~logger state_hash_opt =
464464
[ ("state_hash", `String state_hash)
465465
; ("error", Error_json.error_to_yojson err)
466466
] ;
467-
Core.exit 1 )
467+
Stdlib.exit 1 )
468468

469469
let main ~archive_uri ~start_state_hash_opt ~end_state_hash_opt ~all_blocks
470470
~output_folder ~network ~include_block_height_in_name () =
@@ -512,7 +512,7 @@ let main ~archive_uri ~start_state_hash_opt ~end_state_hash_opt ~all_blocks
512512
[%log error]
513513
"No subchain available from an unparented block (possibly \
514514
the genesis block) to block with given end state hash" ;
515-
Core.exit 1 ) ;
515+
Stdlib.exit 1 ) ;
516516
blocks
517517
| Some start_state_hash, Some end_state_hash ->
518518
[%log info]
@@ -537,7 +537,7 @@ let main ~archive_uri ~start_state_hash_opt ~end_state_hash_opt ~all_blocks
537537
available; try omitting the start state hash, to get a \
538538
chain from an unparented block to the block with the end \
539539
state hash" ;
540-
Core.exit 1 ) ;
540+
Stdlib.exit 1 ) ;
541541
blocks
542542
| _ ->
543543
(* unreachable *)

0 commit comments

Comments
 (0)