Skip to content
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

Remove useless code from RewardFactory #172

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bxmmm1
Copy link
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

codecov bot commented Jul 5, 2022

Codecov Report

Merging #172 (d669885) into main (1999da3) will decrease coverage by 0.50%.
The diff coverage is n/a.

@@            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              
Impacted Files Coverage Δ
contracts/factories/RewardFactory.sol 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1999da3...d669885. Read the comment docs.

@bxmmm1 bxmmm1 requested review from BritikovKI and ftperez11 July 5, 2022 05:49
@@ -10,8 +10,6 @@ import "../utils/MathUtil.sol";
contract RewardFactory is IRewardFactory {
using MathUtil for uint256;

event ExtraRewardAdded(address reward, uint256 pid);
Copy link
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
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