Skip to content

Commit

Permalink
wip: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mempirate committed Oct 31, 2024
1 parent 86dbc2f commit 9e385fa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bolt-sidecar/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ impl<C: StateFetcher, ECDSA: SignerECDSA> SidecarDriver<C, ECDSA> {
const BOLT: &str = r#"
██████╗ ██████╗ ██╗ ████████╗
██╔══██╗██╔═══██╗██║ ╚══██╔══╝
██████╔╝██║ ██║██║ ██║
██╔══██╗██║ ██║██║ ██║
██████╔╝╚██████╔╝███████╗██║
██████╔╝██║ ██║██║ ██║
██╔══██╗██║ ██║██║ ██║
██████╔╝╚██████╔╝███████╗██║
╚═════╝ ╚═════╝ ╚══════╝╚═╝ "#;
println!("{BOLT}");

Expand Down Expand Up @@ -328,6 +328,10 @@ impl<C: StateFetcher, ECDSA: SignerECDSA> SidecarDriver<C, ECDSA> {
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));
Expand Down

0 comments on commit 9e385fa

Please sign in to comment.