Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

fix: Spearbit #77 donation amount to PublicVault #351

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

dangerousfood
Copy link
Contributor

Adding a virtual balance to PublicVault, there is no clear way to determine between a balance received through a transfer vs a balance received through a deposit or repayment.

Before this the PR an amount could be borrowed from any balance available at the PublicVault. If that amount is liquidated and results in a decrease in the yIntercept it could underflow the yIntercept.

see: https://github.com/spearbit-audits/review-astaria2/issues/77 for more information

@androolloyd
Copy link
Contributor

Something broke the test imports.

@dangerousfood dangerousfood force-pushed the fix/spearbit-77 branch 2 times, most recently from 0ec5e6f to 1350908 Compare August 7, 2023 20:22
@androolloyd androolloyd merged commit 962b2ef into master Aug 8, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants