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/4938 #4939

Merged
merged 5 commits into from
Jul 8, 2024
Merged

Fix/4938 #4939

merged 5 commits into from
Jul 8, 2024

Conversation

jcnelson
Copy link
Member

@jcnelson jcnelson commented Jul 1, 2024

Fixes #4938 by requiring that the last block snapshot with a sortiiton be returned from /v3/sortitions.

@jcnelson jcnelson changed the base branch from master to develop July 1, 2024 21:02
@jcnelson jcnelson marked this pull request as ready for review July 1, 2024 21:02
@jcnelson jcnelson requested a review from a team as a code owner July 1, 2024 21:02
@jcnelson jcnelson requested review from kantai and jferrant July 1, 2024 21:02
@jferrant jferrant requested a review from a team as a code owner July 3, 2024 18:16
@jferrant
Copy link
Collaborator

jferrant commented Jul 3, 2024

Added a test that enforces that the fetch view sortition check returns a valid last sortition (would terminate early with a "NoSortitionView" error otherwise) and we pass local validation checks to force an RPC call to the node.

Closes #4941 as well.

@jferrant jferrant requested a review from kantai July 5, 2024 13:21
@smcclellan smcclellan requested a review from obycode July 5, 2024 13:49
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.

LGTM

@saralab saralab added this pull request to the merge queue Jul 8, 2024
Merged via the queue into develop with commit 162675c Jul 8, 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 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
6 participants