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

SupplyVault could call accrueInterest upon deposit/withdraw to save gas #6

Closed
Rubilmax opened this issue Sep 1, 2023 · 1 comment · Fixed by #121
Closed

SupplyVault could call accrueInterest upon deposit/withdraw to save gas #6

Rubilmax opened this issue Sep 1, 2023 · 1 comment · Fixed by #121
Assignees

Comments

@Rubilmax
Copy link
Contributor

Rubilmax commented Sep 1, 2023

Need to quantify how much

@MerlinEgalite MerlinEgalite transferred this issue from morpho-org/morpho-blue-bundlers Sep 4, 2023
@Rubilmax
Copy link
Contributor Author

a public function accrueInterest could save 4k gas per market on MetaMorpho by accruing interest before calculating balances. This is not much

@Rubilmax Rubilmax closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
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 a pull request may close this issue.

1 participant