test: add get_stakers 100% power test#34
Merged
arad-starkware merged 1 commit intomainfrom Nov 20, 2025
Merged
Conversation
This was referenced Nov 19, 2025
This was referenced Nov 19, 2025
Collaborator
Author
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
approved these changes
Nov 19, 2025
Collaborator
noa-starkware
left a comment
There was a problem hiding this comment.
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
Collaborator
Author
Merge activity
|
0730902 to
c0d8b94
Compare
c0d8b94 to
21f569c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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.