-
Notifications
You must be signed in to change notification settings - Fork 66
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
Document idToMarketParams
#411
Conversation
Signed-off-by: MathisGD <[email protected]>
Signed-off-by: MathisGD <[email protected]>
a151a0f
Co-authored-by: makcandrov <[email protected]> Signed-off-by: MathisGD <[email protected]>
/// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer | ||
/// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`. |
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.
Really infortunate line-splitting (ok I promise it's the last time I make this kind of comment)
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.
Unresolving this so that everyone can see that I agree with you @QGarchery and this is one of the ugliest thing I've seen on earth
/// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer | ||
/// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`. |
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.
Unresolving this so that everyone can see that I agree with you @QGarchery and this is one of the ugliest thing I've seen on earth
Fixes #400