Skip to content

Commit

Permalink
move log to main start function, make more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Dec 16, 2024
1 parent e154694 commit 3b54ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/astria-sequencer/src/sequencer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ impl Sequencer {
.wrap_err("failed to parse grpc_addr address")?;
let grpc_server_handle = start_grpc_server(&storage, mempool, grpc_addr, shutdown_rx);

info!(config.listen_addr, "starting abci server");
let abci_server_handle = start_abci_server(
&storage,
app,
Expand Down Expand Up @@ -206,8 +207,7 @@ fn start_abci_server(
.snapshot(snapshot_service)
.finish()
.ok_or_eyre("server builder didn't return server; are all fields set?")?;

info!(listen_addr, "starting sequencer");

let abci_url = Url::parse(listen_addr).wrap_err("failed to parse listen_addr")?;
let validated_listen_addr = match abci_url.scheme() {
"unix" => match abci_url.to_file_path() {
Expand Down

0 comments on commit 3b54ffc

Please sign in to comment.