From 9e385fa822ef4ae378516d5cdc4aa8c69e5871fb Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Thu, 31 Oct 2024 14:00:27 +0100 Subject: [PATCH] wip: logs --- bolt-sidecar/src/driver.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bolt-sidecar/src/driver.rs b/bolt-sidecar/src/driver.rs index 69ca91b7b..1f93f603d 100644 --- a/bolt-sidecar/src/driver.rs +++ b/bolt-sidecar/src/driver.rs @@ -262,9 +262,9 @@ impl SidecarDriver { const BOLT: &str = r#" ██████╗ ██████╗ ██╗ ████████╗ ██╔══██╗██╔═══██╗██║ ╚══██╔══╝ - ██████╔╝██║ ██║██║ ██║ - ██╔══██╗██║ ██║██║ ██║ - ██████╔╝╚██████╔╝███████╗██║ + ██████╔╝██║ ██║██║ ██║ + ██╔══██╗██║ ██║██║ ██║ + ██████╔╝╚██████╔╝███████╗██║ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ "#; println!("{BOLT}"); @@ -328,6 +328,10 @@ impl SidecarDriver { let delegatees = self.constraints_client.find_delegatees(&validator_pubkey); let available_pubkeys = self.constraint_signer.available_pubkeys(); + debug!(?delegatees); + debug!(?available_pubkeys); + debug!(?validator_pubkey); + let Some(pubkey) = pick_public_key(validator_pubkey, available_pubkeys, delegatees) else { error!(%target_slot, "No available public key to sign constraints with"); let _ = response.send(Err(CommitmentError::Internal));