Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinOndejka committed Dec 17, 2024
1 parent 09b357e commit ea32e08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/zeko/da_layer/lib/client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -322,4 +322,7 @@ let check_synced_nodes ~logger ~(config : Config.t) ~target_ledger_hash =
| Ok (Some _) ->
return ( (* synced node *) )
| Ok None | Error _ ->
printf
!"Node %s is not synced\n%!"
(Host_and_port.to_string node.value) ;
return (Config.throw_out_node config ~node) )
1 change: 1 addition & 0 deletions src/app/zeko/sequencer/lib/zeko_sequencer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ module Sequencer = struct
don't_wait_for @@ Deferred.ignore_m @@ commit t )

let bootstrap ~logger ({ config; _ } as t) da_config =
print_endline "Bootstrapping" ;
let%bind committed_ledger_hash =
Gql_client.infer_committed_state config.l1_uri ~zkapp_pk:config.zkapp_pk
~signer_pk:(Public_key.compress config.signer.public_key)
Expand Down

0 comments on commit ea32e08

Please sign in to comment.