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

[SCR-48] Fix Layerbank borrow balance #2

Merged
merged 1 commit into from
Jun 19, 2024
Merged

[SCR-48] Fix Layerbank borrow balance #2

merged 1 commit into from
Jun 19, 2024

Conversation

melotik
Copy link
Contributor

@melotik melotik commented Jun 18, 2024

The borrow balances were incorrect and consistently more than the actual value at a given block from the adapter.

The fix is to grab the borrow balances and update them based on the block (making a historical eth_call)

@melotik melotik requested review from nitish-91 and 0xroll June 18, 2024 22:09
@0xroll 0xroll merged commit 9994f77 into main Jun 19, 2024
1 check failed
@melotik melotik deleted the dylan/scr-48 branch June 26, 2024 05:57
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