-
Notifications
You must be signed in to change notification settings - Fork 81
docs: document inflation attack (spearbit 40) #592
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
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.
Maybe we should add a comment explaining that this can be avoiding within the first borrow on the market
e0a1aa7
Co-authored-by: Romain Milon <rmilon@gmail.com> Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
To me it's enough like that. Let's keep comments minimal. |
Actually you are right, and my point is not true, because as mentioned in #593 the share price might be reset anyway if at some point there is no borrow |
Yes and there is no practical way to ensure that the borrow stays on the contract. The usual method of doing a small transaction and forgetting the key does not work, because that small transaction is a borrow and you might get liquidated eventually |
Co-authored-by: Quentin Garchery <QGarchery@users.noreply.github.com> Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
https://github.com/cantinasec/review-morpho-blue-1/issues/40