Skip to content

Conversation

@brice-stacks
Copy link
Contributor

The signer is currently sending an approval for every pre-commit that it receives after reaching the threshold weight. This change just makes sure it only sends its approval when it first reaches that threshold, and then ignores the rest of the pre-commits.

@brice-stacks brice-stacks marked this pull request as draft December 10, 2025 14:31
This allows us to differentiate between a signer that has sent a
pre-commit and that has sent its approval.
@brice-stacks brice-stacks marked this pull request as ready for review December 10, 2025 17:51
@brice-stacks brice-stacks marked this pull request as draft December 10, 2025 21:45
@brice-stacks
Copy link
Contributor Author

It turns out this is not as simple as I hoped.

This allows the signer to differentiate between a block that it has
pre-committed to and one that it has actually signed.

Fixes: stacks-network#6743
@brice-stacks brice-stacks force-pushed the fix/avoid-extra-approvals branch from 5cddcc4 to 143fa6d Compare December 11, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant