-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
use checked arithmetic #31259
Merged
tao-stones
merged 8 commits into
solana-labs:master
from
tao-stones:integer_overflow_in_fee_calc
Apr 21, 2023
Merged
use checked arithmetic #31259
tao-stones
merged 8 commits into
solana-labs:master
from
tao-stones:integer_overflow_in_fee_calc
Apr 21, 2023
Conversation
This file contains 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
tao-stones
force-pushed
the
integer_overflow_in_fee_calc
branch
2 times, most recently
from
April 18, 2023 23:39
56534a0
to
0e13d0e
Compare
tao-stones
commented
Apr 18, 2023
Codecov Report
@@ Coverage Diff @@
## master #31259 +/- ##
=======================================
Coverage 81.5% 81.5%
=======================================
Files 733 733
Lines 207009 207087 +78
=======================================
+ Hits 168731 168797 +66
- Misses 38278 38290 +12 |
t-nelson
reviewed
Apr 19, 2023
tao-stones
added
the
feature-gate
Pull Request adds or modifies a runtime feature gate
label
Apr 19, 2023
Co-authored-by: Trent Nelson <[email protected]>
tao-stones
force-pushed
the
integer_overflow_in_fee_calc
branch
from
April 20, 2023 00:39
5adc168
to
7e62a48
Compare
t-nelson
reviewed
Apr 20, 2023
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.
i think i'm down to just nits
Co-authored-by: Trent Nelson <[email protected]>
mvines
reviewed
Apr 20, 2023
Co-authored-by: mvines <[email protected]>
t-nelson
approved these changes
Apr 20, 2023
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.
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.
Problem
Should use checked arithmetic in most cases.
Summary of Changes
Feature Gate Issue: #31273