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

Liquidate tests #277

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Liquidate tests #277

wants to merge 3 commits into from

Conversation

IliaZyrin
Copy link

No description provided.

@IliaZyrin IliaZyrin requested a review from jgur-psyops January 17, 2025 20:30
@IliaZyrin IliaZyrin self-assigned this Jan 17, 2025
assertI80F48Equal(liquidatorBalancesAfter[1].assetShares, liquidateAmountUsdc_native);

const insuranceVaultBalanceAfter = await getTokenBalance(provider, liabilityBank.insuranceVault);
//assert.equal(insuranceVaultBalanceAfter, 0);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to properly calculate this value. It shows me some little non-sense (~48) and I have no idea how this number is calculated. Couldn't derive it from this Rust expectation. Am I missing something? @jgur-psyops

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.

1 participant