Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if we are the sortition winner before attempting to mock sign #5163

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

jferrant
Copy link
Collaborator

@jferrant jferrant commented Sep 11, 2024

We were originally spamming wth messages that we were writing mock proposals and mock blocks when we were actually failing to do so as we were not the sortition winner. This not only fixes it to CORRECTLY report accepted == false as an error to send miner messages, but it also updates the miner to not bother attempting to write a mock proposal/block when it is not the last sortition winner.

Copy link
Member

@jcnelson jcnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving pending CI pass.

@saralab saralab added this pull request to the merge queue Sep 12, 2024
Merged via the queue into develop with commit c37babd Sep 12, 2024
1 check passed
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Oct 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants