-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix(eventindexer): int => string #13828
Conversation
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 Pull Request looks good. Here is some feedback:
- The changes from int to bigint are appropriate.
- There are some repeating variables that should be renamed for clarity. For example, "proofTime" and "proofReward" could be changed to "proofTimeValue" and "proofRewardValue" respectively.
- The variable names should also be more descriptive. For example, "t" in the calcNewAverage function could be changed to "total".
- The code formatting needs to be consistent across the files. For example, the spacing around operators should be consistent.
Codecov Report
@@ Coverage Diff @@
## main #13828 +/- ##
==========================================
+ Coverage 47.39% 47.45% +0.06%
==========================================
Files 133 133
Lines 3410 3416 +6
Branches 310 310
==========================================
+ Hits 1616 1621 +5
Misses 1685 1685
- Partials 109 110 +1
*This pull request uses carry forward flags. Click here to find out more.
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
int is too small to store stats