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/5136 node and miner #5138

Merged
merged 75 commits into from
Sep 14, 2024
Merged

Fix/5136 node and miner #5138

merged 75 commits into from
Sep 14, 2024

Conversation

jcnelson
Copy link
Member

@jcnelson jcnelson commented Sep 4, 2024

This fixes the node and miner code paths for #5136. It makes it so that the miner will never time out waiting for signatures, and makes it so that the block validation endpoint checks that the proposed block builds on a canonical tenure, and builds on an acceptably-high block in that tenure.

Leaving as a draft for now until integration tests pass, and until additional unit test coverage can be added.

jcnelson and others added 27 commits September 4, 2024 11:39
…the proposed block builds on a canonical tenure, and it builds on the highest known block in that tenure
@kantai
Copy link
Member

kantai commented Sep 13, 2024

This LGTM, but there are a lot of failing integration tests on this PR. I think those need to be resolved before merging.

kantai
kantai previously approved these changes Sep 14, 2024
Copy link
Member

@kantai kantai left a comment

Choose a reason for hiding this comment

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

The integration tests all pass now.

There remain a handful of flaky tests that often need reruns in CI. That can be investigated separately from this PR, I think. Two tests pass locally just fine but always timeout in CI without any logging information. Those tests are disabled for now, but really should be investigated.

jferrant
jferrant previously approved these changes Sep 14, 2024
@kantai kantai dismissed stale reviews from jferrant and themself via b09ffc6 September 14, 2024 19:06
Copy link
Member

@kantai kantai left a comment

Choose a reason for hiding this comment

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

The integration tests all pass now.

There remain a handful of flaky tests that often need reruns in CI. That can be investigated separately from this PR, I think. Two tests pass locally just fine but always timeout in CI without any logging information. I'm pretty sure its a CI issue -- disabling those two tests causes two other tests to instead exhibit the same behavior. So, it seems like it must be something weird is happening (deterministically) when it comes to executor assignment for those two tests?

@diwakergupta diwakergupta added this pull request to the merge queue Sep 14, 2024
Merged via the queue into develop with commit b103cec Sep 14, 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.

7 participants