-
Notifications
You must be signed in to change notification settings - Fork 94
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
Borrow Asset Value Doesn't Reflect currentTimestamp Parameter #606
Comments
Thanks for reporting, I was able to re-produce this behavior with a test script on ETH mainnet For debugging, the calculation for userReserve.variableBorrows occurs here cc @grothem @JoaquinBattilana
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the userSummary method, I noticed that changing the
currentTimestamp
parameter does not affect the value of the borrowed assets (unexpected behavior). However, the value of supplied assets changes correctly as expected.Here’s the relevant code snippet:
The currentTimestamp correctly updates the value for supplied assets but does not impact the value for borrowed assets. This seems inconsistent. Could you confirm if this is a bug or if I'm missing something in the implementation?
The text was updated successfully, but these errors were encountered: