-
Notifications
You must be signed in to change notification settings - Fork 671
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
2.5: PoX missed-slot updates #4576
Conversation
* test for the missed slots PoX behavior in 2.5 * test for *near* zero PoX participation behavior in 2.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as long as CI passes. I notice that this PR doesn't remove the ancillary PoX state that is required for auto-unlock. Is that scheduled for a follow-on PR, or should it be done here?
That's a great question -- it impacts 2.5 activation in testnet, because the PoX contract would necessarily change. I will try to see how easy of a change that is. |
Quick follow-up! The reward set indexes data is used both for the (removed) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #4576 +/- ##
==========================================
- Coverage 83.25% 77.87% -5.38%
==========================================
Files 456 456
Lines 330593 330898 +305
Branches 323 317 -6
==========================================
- Hits 275248 257703 -17545
- Misses 55337 73187 +17850
Partials 8 8
... and 171 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
This became caught in the meantime `stacks-common/src/types/mod.rs:103:9: replace StacksEpochId::supports_pox_missed_slot_unlocks `
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. |
Description
This PR removes the unlock behavior of PoX-4 when solo stackers miss a reward slot. This behavior was broken
next
: missed reward slot unlocks have consequences for signer set calculation, which has to be addressed. This PR addresses it by removing the unlock behavior.This PR also adds a test that covers the case of a 2.5 reward cycle having participation but no slots. Such a cycle should still allow the system to make forward progress in 2.5.