Skip to content

Commit

Permalink
chore(sidecar): add log upon successful validation of keys
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 30, 2024
1 parent cacf9bb commit b91f90b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions bolt-sidecar/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,15 @@ impl<C: StateFetcher, ECDSA: SignerECDSA> SidecarDriver<C, ECDSA> {
BoltManager::from_chain(opts.execution_api_url.clone(), opts.chain.chain)
{
let commitment_signer_pubkey = commitment_signer.public_key();
let available_pubkeys = Vec::from_iter(constraint_signer.available_pubkeys());
bolt_manager
.verify_validator_pubkeys(
&Vec::from_iter(constraint_signer.available_pubkeys()),
commitment_signer_pubkey,
)
.verify_validator_pubkeys(&available_pubkeys, commitment_signer_pubkey)
.await?;
info!(
pubkeys_len = available_pubkeys.len(),
commitment_signer_pubkey = ?commitment_signer_pubkey,
"Validators and operator keys verified with Bolt Manager successfully"
);
}

let beacon_client = BeaconClient::new(opts.beacon_api_url.clone());
Expand Down

0 comments on commit b91f90b

Please sign in to comment.