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

[DRAFT] [pox-4] Stacking stateful property-based tests - DelegateStackStxCommand #4564

Conversation

moodmosaic
Copy link
Member

This pull request targets #4550 and adds the ability to call delegate-stacks-stx from the stateful property-based tests.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.31%. Comparing base (9f5ac7c) to head (f8d274e).

Additional details and impacted files
@@                           Coverage Diff                            @@
##           feat/pox-4-stateful-property-testing    #4564      +/-   ##
========================================================================
+ Coverage                                 82.68%   83.31%   +0.62%     
========================================================================
  Files                                       453      453              
  Lines                                    328491   328491              
  Branches                                    323      323              
========================================================================
+ Hits                                     271600   273669    +2069     
+ Misses                                    56883    54814    -2069     
  Partials                                      8        8              

see 37 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 9f5ac7c...f8d274e. Read the comment docs.

Copy link
Member Author

@moodmosaic moodmosaic left a comment

Choose a reason for hiding this comment

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

@BowTiedRadone, I just left a few comments.

@moodmosaic moodmosaic marked this pull request as ready for review March 21, 2024 10:30
contrib/core-contract-tests/tests/pox-4/pox_Commands.ts Outdated Show resolved Hide resolved
@@ -66,6 +66,9 @@ describe("PoX-4 invariant tests", () => {
isStacking: false,
hasDelegated: false,
delegatedTo: "",
wasDelegated: false,
wasDelegatedBy: [],
Copy link
Collaborator

Choose a reason for hiding this comment

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

To continue the flow, the operator wallet should have a property like hasLocked on successful delegate-stack-stx call.

Copy link
Member Author

Choose a reason for hiding this comment

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

Add: generated amount for DelegateStackStx

Add: generator limits for startBurnHt using Simnet

Fix: address `hasPoolMembers`, `stacker balance check` comments

Fix: command descriptions

Add: amount generator for DelegateStx; Fix: command logs
@moodmosaic moodmosaic force-pushed the feat/pox-4-stateful-property-testing-delegate branch from f8d274e to a7f7e9f Compare March 22, 2024 15:18
@moodmosaic moodmosaic merged commit fe1b3af into feat/pox-4-stateful-property-testing Mar 22, 2024
1 check passed
@moodmosaic moodmosaic deleted the feat/pox-4-stateful-property-testing-delegate branch March 22, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants