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

Add additional Foundry test coverage #322

Merged
merged 60 commits into from
May 10, 2023

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2023

Will close #319 once complete.

kartojal and others added 28 commits February 14, 2023 16:00
* fix: remove discount lock period from GhoDebtToken

* test: Update tests for new rebalance behaviour
* fix: Remove Facilitator struct from addFacilitator function

* test: Adjusts test for new addFacilitator parameters

* fix: Make facilitatorLabel calldata-like parameter
* setup modifier

* setup gho manager and tests

* remove atoken changes

* use interfaces

* adds test for ghomanager as pooladmin
@height
Copy link

height bot commented Apr 26, 2023

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

emptyStrategy = new EmptyDiscountRateStrategy();
}

function testFuzzConstructor(uint256 debtBalance, uint256 discountTokenBalance) public {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be named differently right? Maybe testFuzzRateAlwaysZero or something

Copy link
Author

Choose a reason for hiding this comment

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

Changed in subsequent commit

import './TestGhoBase.t.sol';

contract TestGhoInterestRateStrategy is TestGhoBase {
function testFuzzConstructor(
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here with the naming

Copy link
Author

Choose a reason for hiding this comment

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

Changed in subsequent commit

Copy link
Contributor

@Zer0dot Zer0dot left a comment

Choose a reason for hiding this comment

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

No further comments here!

Base automatically changed from chore/foundry-test-suite to main May 10, 2023 08:32
@miguelmtzinf miguelmtzinf changed the base branch from main to audit/sigma-prime May 10, 2023 08:45
@miguelmtzinf miguelmtzinf changed the base branch from audit/sigma-prime to main May 10, 2023 08:45
@miguelmtzinf
Copy link
Contributor

Great stuff @cedephrase @Zer0dot !!

@miguelmtzinf miguelmtzinf deleted the feat/319-additional-foundry-test-coverage branch May 10, 2023 17:48
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.

Add/complete Foundry test coverage
4 participants