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/bitcoind forking test signerdb state #5674

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

jferrant
Copy link
Collaborator

@jferrant jferrant commented Jan 8, 2025

Closes #5673

This check_block_against_signer_db_state is meant to be a minimal check post other validation checks in case some block got approved between our block proposal submission for validation and its return. It was incorrectly querying signer db purely based on height and state and ignoring consensus hash. This check makes it use bare minimum checks to include both a check against the parent consensus hash in the case of a tenure change and a check against the current cosnensus hash to ensure the proposed height is acceptable.

Signed-off-by: Jacinta Ferrant <[email protected]>
…te to accomodate for unknown consensus hashes

Signed-off-by: Jacinta Ferrant <[email protected]>
@jferrant jferrant requested a review from a team as a code owner January 8, 2025 19:43
@jferrant jferrant requested a review from obycode January 8, 2025 21:20
… into fix/bitcoind-forking-test-signerdb-state
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.

👍

@obycode obycode added this to the 3.1.0.0.3 milestone Jan 8, 2025
@kantai kantai added this pull request to the merge queue Jan 9, 2025
Merged via the queue into develop with commit 9db2f80 Jan 9, 2025
168 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 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants