-
Notifications
You must be signed in to change notification settings - Fork 12
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 rewards accrual #860
base: main
Are you sure you want to change the base?
Fix rewards accrual #860
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.
Changes look good but with lot's of redundant code. Not sure that internalizing them would be better though
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.
LGTM
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.
Requesting changes to prevent merge
1cf3751
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.
LGTM! But pending because rewards are not available on mainnet so upgrade is not yet required.
Pull Request
Issue(s) fixed
This pull request:
This is a fix to the vulnerability disclosed by Spearbit, which cannot be used in production currently because:
But this PR should be reviewed and ready to deploy as soon as the Morpho DAO decides to distribute Aave-emitted rewards to users, following an Aave governance proposal.