-
Notifications
You must be signed in to change notification settings - Fork 679
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
Add delegate-stack-extend command #4610
Add delegate-stack-extend command #4610
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat/pox-4-stateful-property-testing #4610 +/- ##
========================================================================
- Coverage 83.31% 83.19% -0.13%
========================================================================
Files 470 470
Lines 332151 332151
Branches 317 317
========================================================================
- Hits 276743 276326 -417
- Misses 55400 55817 +417
Partials 8 8 see 38 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.
Merging into |
b26ad6a
into
feat/pox-4-stateful-property-testing
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.
check function looks good
(this.stacker.unlockHeight - FIRST_BURNCHAIN_BLOCK_HEIGHT) / | ||
REWARD_CYCLE_LENGTH, | ||
); | ||
const lastExtendCycle = firstExtendCycle + this.extendCount - 1; |
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.
Why do you need this value? You are substracting one and adding one afterwards.
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.
@friedger I am doing this to simulate how the lock period is calculated inside PoX-4 contract
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. |
This PR adds the
delegate-stack-extend
command to the stateful property testing environment. It is part of #4548 and targetsfeat/pox-4-stateful-property-testing
(#4550).