Skip to content

Commit

Permalink
debug print for CL node connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Keszey Dániel authored and Keszey Dániel committed Sep 17, 2024
1 parent 4b5361e commit 6ff9e0f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions crates/rbuilder/src/live_builder/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,19 @@ impl LiveBuilderConfig for Config {
self.base_config.blocklist()?,
cancellation_token.clone(),
);

let beacon_clients = self.l1_config.beacon_clients()?.clone();

if beacon_clients.is_empty() {
println!("No beacon clients found.");
} else {
println!("Beacon Clients:");
for (index, client) in beacon_clients.iter().enumerate() {
println!(" Client {}: {:?}", index, client);
println!(" Client spec: {:?}", client.get_spec());
}
}

let live_builder = self
.base_config
.create_builder(cancellation_token, sink_factory, payload_event)
Expand Down

0 comments on commit 6ff9e0f

Please sign in to comment.