-
Notifications
You must be signed in to change notification settings - Fork 22
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
Small fixes #1530
Conversation
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
e868a0d
to
a7820f6
Compare
Documentation is in commit messages