-
Notifications
You must be signed in to change notification settings - Fork 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
🐛 rewards: fix released calculation #725
Conversation
🐛 rewards: fix released calculation
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## fix-review-130 #725 +/- ##
==================================================
- Coverage 89.19% 89.14% -0.05%
==================================================
Files 18 18
Lines 2027 2027
Branches 273 332 +59
==================================================
- Hits 1808 1807 -1
+ Misses 208 207 -1
- Partials 11 13 +2 ☔ View full report in Codecov by Sentry. |
3dfd6a6
to
e71f770
Compare
e676ae4
to
5d1a282
Compare
e71f770
to
6372ac9
Compare
5d1a282
to
cd10b95
Compare
6372ac9
to
bb38a54
Compare
cd10b95
to
afd8de1
Compare
contracts/RewardsController.sol
Outdated
/// @param market The market to get the release rate. | ||
/// @param reward The reward asset. | ||
/// @return The release reward rate. | ||
function releaseRate(Market market, ERC20 reward) external view returns (uint256) { |
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.
@santichez can we add coverage for this new function?
2f5c8ba
to
ca93c22
Compare
No description provided.