-
Notifications
You must be signed in to change notification settings - Fork 324
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
chore!: remove MinShareCount
constant
#2566
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2566 +/- ##
==========================================
+ Coverage 20.63% 20.66% +0.03%
==========================================
Files 133 133
Lines 15346 15349 +3
==========================================
+ Hits 3166 3172 +6
+ Misses 11877 11875 -2
+ Partials 303 302 -1
|
MinShareCount
constant
Thanks for the PR @Chirag018 ! I don't think we want to include any more breaking changes in v1.x. so we may not end up merging this |
return shares.TailPaddingShares(appconsts.MinShareCount) | ||
// minShareCount is the minimum number of shares allowed in the original | ||
// data square. | ||
minShareCount := appconsts.MinSquareSize*appconsts.MinSquareSize |
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.
[Optional Suggestion] If we anticipate that the minimum share count might be utilized beyond the scope of the EmptySquare
, it could be advantageous to create a dedicated function, such as MinShareCount()
.
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!
Sorry @Chirag018 I assume we didn't merge this to avoid last minute breaking changes in the v1.x release. Given the low-ish priority of #1183, I think we should close the issue as won't do for now. |
Closes #1183