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 property tests for PoX-4 read-only functions #4470
Add property tests for PoX-4 read-only functions #4470
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #4470 +/- ##
==========================================
+ Coverage 83.22% 83.25% +0.02%
==========================================
Files 452 452
Lines 326058 326058
Branches 323 323
==========================================
+ Hits 271357 271445 +88
+ Misses 54693 54605 -88
Partials 8 8 see 26 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.
Great job on these tests! They seem p straight-forward read-only checks since there's no way to mock stacking here.
I only have one blocking comment atm.
- get-check-delegation - get-delegation-info - get-allowance-contract-callers - get-pox-info - minimal-can-stack-stx
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.
Great work. Left a couple of comments, mostly on the way some generators are configured.
@hugocaillard It is this test that first allows the contract caller and then checks that the result is some. Maybe the simnet does not work as expected when run there. |
- get-check-delegation - get-delegation-info - get-allowance-contract-callers - get-pox-info - minimal-can-stack-stx
91bf380
to
27d68f4
Compare
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 🙌
@setzeus can you do another round of review as well? |
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.
Overall this looks great! Just getting one test failing locally seen below, once that's updated/fixed this should be good to go.
…dRadone/stacks-core into feat/pox-4-property-tests
Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
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
@setzeus failing test has been fixed. |
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.
Can confirm no more errors, appreciate the hard work here @BowTiedRadone - LGTM!
Looking at this now. I assume this comment #4470 (comment) is no longer relevant right? |
It could be an issue with the test assertion, and not an actual bug. I would say don't spend time on it (unless you actually see/spot a potential bug looking at the stack trace). |
In this job, the error comes from |
Description
This PR adds property tests for PoX-4 read-only functions.