Skip to content

Commit a0e3b9b

Browse files
committed
feat: add state change monitoring for protocol upgrade, #5918
1 parent 31d048c commit a0e3b9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stacks-signer/src/v0/signer_state.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,9 @@ impl LocalStateMachine {
789789

790790
if active_signer_protocol_version != old_protocol_version {
791791
info!("Updating active signer protocol version from {old_protocol_version} to {active_signer_protocol_version}");
792+
crate::monitoring::actions::increment_signer_agreement_state_change_reason(
793+
crate::monitoring::SignerAgreementStateChangeReason::ProtocolUpgrade,
794+
);
792795
*self = Self::Initialized(SignerStateMachine {
793796
burn_block: *burn_block,
794797
burn_block_height: *burn_block_height,

0 commit comments

Comments
 (0)