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

Small fixes #1530

Merged
merged 3 commits into from
Dec 9, 2022
Merged

Small fixes #1530

merged 3 commits into from
Dec 9, 2022

Conversation

QGarchery
Copy link
Collaborator

@QGarchery QGarchery commented Dec 8, 2022

Documentation is in commit messages

@@ -113,6 +113,7 @@ contract TestMorphoGetters is TestSetup {
borrower1.supply(cUsdc, to6Decimals(10 ether));

assertEq(morpho.enteredMarkets(address(borrower1), 0), cDai);
assertEq(IMorpho(address(morpho)).enteredMarkets(address(borrower1), 0), cDai); // test the interface
Copy link
Collaborator

@Rubilmax Rubilmax Dec 8, 2022

Choose a reason for hiding this comment

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

Another way of doing this would be to have Morpho inherit its interface, but it's too much work
I don't like adding interface testing because it should be done automatically, some way or another, but it's ok

Copy link
Collaborator

Choose a reason for hiding this comment

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

We know what CI tool will @Rubilmax code this week end lol

@QGarchery QGarchery merged commit 2a36968 into upgrade-morpho-1 Dec 9, 2022
@QGarchery QGarchery deleted the fix/fast-review-fixes branch December 9, 2022 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants