From e1066ff77325a1f60cf552db0b98d89a84340346 Mon Sep 17 00:00:00 2001 From: Jacinta Ferrant Date: Fri, 11 Jul 2025 09:19:36 -0700 Subject: [PATCH 1/3] Upgrade SUPPORTED_SIGNER_PROTOCOL_VERSION to 2 and update changelog Signed-off-by: Jacinta Ferrant --- stacks-signer/CHANGELOG.md | 4 ++++ stacks-signer/src/v0/signer_state.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stacks-signer/CHANGELOG.md b/stacks-signer/CHANGELOG.md index 37c3287565..d76cfbe36c 100644 --- a/stacks-signer/CHANGELOG.md +++ b/stacks-signer/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE - Introduced `capitulate_miner_view_timeout_secs`: the duration (in seconds) for the signer to wait between updating the local state machine viewpoint and capitulating to other signers' miner views. - Added codepath to enable signers to evaluate block proposals and miner activity against global signer state for improved consistency and correctness. Currently feature gated behind the `SUPPORTED_SIGNER_PROTOCOL_VERSION` +### Changed + +- Upgraded `SUPPORTED_SIGNER_PROTOCOL_VERSION` to 2 + ## [3.1.0.0.13.0] ### Changed diff --git a/stacks-signer/src/v0/signer_state.rs b/stacks-signer/src/v0/signer_state.rs index bf60e19609..f9ff7dbf68 100644 --- a/stacks-signer/src/v0/signer_state.rs +++ b/stacks-signer/src/v0/signer_state.rs @@ -46,7 +46,7 @@ use crate::client::{ClientError, CurrentAndLastSortition, StackerDB, StacksClien use crate::signerdb::{BlockValidatedByReplaySet, SignerDb}; /// This is the latest supported protocol version for this signer binary -pub static SUPPORTED_SIGNER_PROTOCOL_VERSION: u64 = 1; +pub static SUPPORTED_SIGNER_PROTOCOL_VERSION: u64 = 2; /// The version at which global signer state activates pub static GLOBAL_SIGNER_STATE_ACTIVATION_VERSION: u64 = u64::MAX; From 5707ace287906e3012caf049e2b1c381b60b445a Mon Sep 17 00:00:00 2001 From: Jacinta Ferrant Date: Fri, 25 Jul 2025 10:25:10 -0700 Subject: [PATCH 2/3] Fix changelog after bad auto merge Signed-off-by: Jacinta Ferrant --- stacks-signer/CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stacks-signer/CHANGELOG.md b/stacks-signer/CHANGELOG.md index f5e93115ee..2a0277ad18 100644 --- a/stacks-signer/CHANGELOG.md +++ b/stacks-signer/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to the versioning scheme outlined in the [README.md](README.md). + +## [Unreleased] + +### Changed + +- Upgraded `SUPPORTED_SIGNER_PROTOCOL_VERSION` to 2 + ## [3.2.0.0.0.0] ### Added @@ -17,7 +24,6 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE - Do not count both a block acceptance and a block rejection for the same signer/block. Also ignore repeated responses (mainly for logging purposes). - Database schema updated to version 16 -- Upgraded `SUPPORTED_SIGNER_PROTOCOL_VERSION` to 2 ## [3.1.0.0.13.0] From 929302c1d3b89d3418758832cab268ae9accf05d Mon Sep 17 00:00:00 2001 From: Jacinta Ferrant Date: Wed, 30 Jul 2025 09:09:35 -0700 Subject: [PATCH 3/3] Expand upon changelong update Signed-off-by: Jacinta Ferrant --- stacks-signer/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks-signer/CHANGELOG.md b/stacks-signer/CHANGELOG.md index 2a0277ad18..88154c83b1 100644 --- a/stacks-signer/CHANGELOG.md +++ b/stacks-signer/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE ### Changed -- Upgraded `SUPPORTED_SIGNER_PROTOCOL_VERSION` to 2 +- Upgraded `SUPPORTED_SIGNER_PROTOCOL_VERSION` to 2, activating global signer state agreement block processing. ## [3.2.0.0.0.0]