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

Fix get_latest_block_proposal function to return an err if no block proposals in list #5689

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

jferrant
Copy link
Collaborator

signer_chainstate was failing about 50% of the time on develop due to a timing issue where a block proposal had not arrived when the blind signer attempted to sign a block proposal (would just unwrap the popped value in the list). This probably manifested in any nakamoto_integration test, but I just saw it in signer_chainstate. Making it return an err fixes the issue as it is already handled in a loop on err.

@jferrant jferrant requested a review from a team as a code owner January 13, 2025 23:36
Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

Looks good, just need to fix the formatting so the tests will run.

@jferrant jferrant added this pull request to the merge queue Jan 15, 2025
Merged via the queue into develop with commit c4ef003 Jan 15, 2025
172 checks 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 Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants