-
Notifications
You must be signed in to change notification settings - Fork 41
test: add get_stakers 100% power test #34
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
Conversation
7881500 to
e12b29c
Compare
044ec48 to
10b3104
Compare
e12b29c to
d83eb46
Compare
10b3104 to
896b20e
Compare
be8a081 to
c3f3f6c
Compare
896b20e to
be214f3
Compare
noa-starkware
left a comment
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.
Reviewable status: 0 of 2 files reviewed, all discussions resolved (waiting on @arad-starkware)
be214f3 to
1bb31ed
Compare
c3f3f6c to
0f39038
Compare
1bb31ed to
c37d705
Compare
0f39038 to
d613a10
Compare
c37d705 to
b4bf2cf
Compare
74c6363 to
899085f
Compare
4cd417a to
2337137
Compare
899085f to
879be2f
Compare
574f56b to
1f544a7
Compare
9da15c6 to
88f4f8b
Compare
8778016 to
e85d913
Compare
928b0df to
2e3484c
Compare
e85d913 to
e1d0bae
Compare
2e3484c to
8eac940
Compare
e1d0bae to
7fd199b
Compare
6f24aa1 to
003bd3c
Compare
7fd199b to
8742caa
Compare
8742caa to
93429b1
Compare
003bd3c to
fc48614
Compare
93429b1 to
6e75484
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #34 +/- ##
==========================================
+ Coverage 95.43% 95.54% +0.10%
==========================================
Files 45 45
Lines 9446 9673 +227
==========================================
+ Hits 9015 9242 +227
Misses 431 431 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6e75484 to
0730902
Compare
Merge activity
|
0730902 to
c0d8b94
Compare
c0d8b94 to
21f569c
Compare

This change is
Note
Adds a flow test asserting
get_stakersreturns 100% staking power with BTC delegation and exposesSTAKING_POWER_BASE_VALUEfor use.get_stakers_staking_power_100_flow_testinsrc/flow_test/test.cairoto verify staking power equalsSTAKING_POWER_BASE_VALUEwhen delegating BTC to a single staker.STAKING_POWER_BASE_VALUEpub(crate)insrc/staking/utils.cairoand import it in tests.Written by Cursor Bugbot for commit 21f569c. This will update automatically on new commits. Configure here.