Skip to content

Remove useless code from RewardFactory#172

Open
bxmmm1 wants to merge 2 commits into
mainfrom
144-chore-remove-useless-code
Open

Remove useless code from RewardFactory#172
bxmmm1 wants to merge 2 commits into
mainfrom
144-chore-remove-useless-code

Conversation

@bxmmm1
Copy link
Copy Markdown
Contributor

@bxmmm1 bxmmm1 commented Jul 5, 2022

No description provided.

@bxmmm1 bxmmm1 self-assigned this Jul 5, 2022
@bxmmm1 bxmmm1 linked an issue Jul 5, 2022 that may be closed by this pull request
@bxmmm1 bxmmm1 added the ready for review PR is ready to be reviewed label Jul 5, 2022
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 5, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.32%. Comparing base (1999da3) to head (d669885).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #172      +/-   ##
==========================================
- Coverage   86.83%   86.32%   -0.51%     
==========================================
  Files          13       13              
  Lines         676      651      -25     
  Branches       87       82       -5     
==========================================
- Hits          587      562      -25     
  Misses         89       89              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bxmmm1 bxmmm1 requested review from BritikovKI and ftperez11 July 5, 2022 05:49
contract RewardFactory is IRewardFactory {
using MathUtil for uint256;

event ExtraRewardAdded(address reward, uint256 pid);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, why do you think this code is not going to be used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is related to ExtraRewardStashV2, and we are using v3, which doesn't need this anymore. And it is not used anywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore: Remove useless code

2 participants