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

Bugfix: verify block transactions only when the upcoming signers appr… #4640

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

jferrant
Copy link
Collaborator

@jferrant jferrant commented Apr 4, 2024

I just noticed this while explaining an issue to Alin. Signers should be checking the UPCOMING signers aggregate key not their own when determining if they need to include a transaction set.

Closes #4641

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.74%. Comparing base (d54b67c) to head (7f96d08).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #4640      +/-   ##
==========================================
- Coverage   83.31%   77.74%   -5.58%     
==========================================
  Files         470      470              
  Lines      332768   332772       +4     
  Branches      317      317              
==========================================
- Hits       277247   258707   -18540     
- Misses      55513    74057   +18544     
  Partials        8        8              
Files Coverage Δ
stacks-signer/src/signer.rs 76.96% <100.00%> (+3.40%) ⬆️

... and 193 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d54b67c...7f96d08. Read the comment docs.

Copy link
Contributor

@hstove hstove left a comment

Choose a reason for hiding this comment

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

This makes sense. I think an argument could be made that this check should be done for the current cycle, too, in 2.5. But I think we should add this as-is

@jferrant
Copy link
Collaborator Author

jferrant commented Apr 5, 2024

This makes sense. I think an argument could be made that this check should be done for the current cycle, too, in 2.5. But I think we should add this as-is

There is no point. You will never sign blocks in 2.5

@jferrant jferrant added this pull request to the merge queue Apr 5, 2024
Merged via the queue into next with commit 1ec9458 Apr 5, 2024
1 of 2 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 Nov 2, 2024
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.

4 participants