Skip to content

Commit 23876fb

Browse files
committed
move stacks block validate response to info logs from debug
1 parent 861bff0 commit 23876fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl Signer {
251251
block_proposal: &BlockProposal,
252252
miner_pubkey: &Secp256k1PublicKey,
253253
) {
254-
debug!("{self}: Received a block proposal: {block_proposal:?}");
254+
info!("{self}: Received a block proposal: {block_proposal:?}");
255255
if block_proposal.reward_cycle != self.reward_cycle {
256256
// We are not signing for this reward cycle. Ignore the block.
257257
debug!(
@@ -287,7 +287,7 @@ impl Signer {
287287
return;
288288
}
289289

290-
debug!(
290+
info!(
291291
"{self}: received a block proposal for a new block. Submit block for validation. ";
292292
"signer_sighash" => %signer_signature_hash,
293293
"block_id" => %block_proposal.block.block_id(),
@@ -388,7 +388,7 @@ impl Signer {
388388

389389
/// Handle the block validate response returned from our prior calls to submit a block for validation
390390
fn handle_block_validate_response(&mut self, block_validate_response: &BlockValidateResponse) {
391-
debug!("{self}: Received a block validate response: {block_validate_response:?}");
391+
info!("{self}: Received a block validate response: {block_validate_response:?}");
392392
let (response, block_info) = match block_validate_response {
393393
BlockValidateResponse::Ok(block_validate_ok) => {
394394
crate::monitoring::increment_block_validation_responses(true);

stacks-signer/src/v1/signer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ impl SignerTrait<SignerMessage> for Signer {
201201
};
202202
match event {
203203
SignerEvent::BlockValidationResponse(block_validate_response) => {
204-
debug!("{self}: Received a block proposal result from the stacks node...");
204+
info!("{self}: Received a block proposal result from the stacks node...");
205205
self.handle_block_validate_response(
206206
stacks_client,
207207
block_validate_response,
@@ -703,7 +703,7 @@ impl Signer {
703703
};
704704
self.handle_packets(stacks_client, res, &[packet], current_reward_cycle);
705705
}
706-
debug!(
706+
info!(
707707
"{self}: Received a block validate response";
708708
"block_hash" => block_info.block.header.block_hash(),
709709
"valid" => block_info.valid,
@@ -1130,7 +1130,7 @@ impl Signer {
11301130
match operation_result {
11311131
OperationResult::Sign(signature) => {
11321132
crate::monitoring::increment_operation_results("sign");
1133-
debug!("{self}: Received signature result");
1133+
info!("{self}: Received signature result");
11341134
self.process_signature(signature);
11351135
}
11361136
OperationResult::SignTaproot(_) => {

0 commit comments

Comments
 (0)