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

perf: assessFees when gain==0 #366

Merged
merged 2 commits into from
May 21, 2021
Merged

Conversation

zgfzgf
Copy link
Contributor

@zgfzgf zgfzgf commented May 21, 2021

It's almost the same as #345
@fubuloubu in #345 you said:"This method also assesses the management fee, which is being skipped by this update"
as in #363 add var managementDebt

If there is no need to retain management fee, the PR is OK.

Copy link
Member

@fubuloubu fubuloubu left a comment

Choose a reason for hiding this comment

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

Add that comment, and we are good to go

contracts/Vault.vy Show resolved Hide resolved
@fubuloubu fubuloubu merged commit 318d7f2 into yearn:master May 21, 2021
orbxball pushed a commit to orbxball/yearn-vaults that referenced this pull request Aug 8, 2021
* perf: assessFees when gain==0

* docs: add docs when gain==0
sambacha pushed a commit to sambacha/yearn-vaults that referenced this pull request Sep 7, 2021
* perf: assessFees when gain==0

* docs: add docs when gain==0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants