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

Remove fees (borrow and redeem) and SP logic for LQTY and front ends #61

Merged
merged 6 commits into from
Jan 23, 2024

Conversation

RickGriff
Copy link
Collaborator

No description provided.

@RickGriff RickGriff requested a review from bingen January 22, 2024 04:11
Copy link
Collaborator

@bingen bingen left a comment

Choose a reason for hiding this comment

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

Nice!

@@ -0,0 +1,9 @@
// SPDX-License-Identifier: MIT
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be in any of the test folders?

Copy link
Collaborator Author

@RickGriff RickGriff Jan 23, 2024

Choose a reason for hiding this comment

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

Yes fair point.

We now have contracts/src/test/TestContracts for new test contracts exclusive to Foundry tests, and the original contracts/src/TestContracts used by the Hardhat tests.

@@ -13,6 +13,7 @@ import "./Dependencies/LiquityBase.sol";
import "./Dependencies/Ownable.sol";
import "./Dependencies/CheckContract.sol";

import "forge-std/console2.sol";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Github CI should warn, and we have plenty of time to remove it, but just in case.

assertEq(boldToken.balanceOf(A), 1900e18);
assertEq(stabilityPool.getCompoundedBoldDeposit(A), 100e18);

// A tops up their SP deposit
Copy link
Collaborator

Choose a reason for hiding this comment

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

“withdraws”, right?

@RickGriff RickGriff merged commit 2658003 into main Jan 23, 2024
2 of 4 checks passed
@danielattilasimon danielattilasimon deleted the rip_out_fees_and_comm_issuance branch April 12, 2024 06:15
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