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

Document idToMarketParams #411

Merged
merged 4 commits into from
Aug 22, 2023
Merged

Document idToMarketParams #411

merged 4 commits into from
Aug 22, 2023

Conversation

MathisGD
Copy link
Contributor

Fixes #400

Signed-off-by: MathisGD <[email protected]>
@MathisGD MathisGD requested review from a team August 22, 2023 08:20
@MathisGD MathisGD self-assigned this Aug 22, 2023
@MathisGD MathisGD requested review from Rubilmax, MerlinEgalite, pakim249CAL, Jean-Grimal, makcandrov, QGarchery and peyha and removed request for a team August 22, 2023 08:20
Rubilmax
Rubilmax previously approved these changes Aug 22, 2023
QGarchery
QGarchery previously approved these changes Aug 22, 2023
src/interfaces/IMorpho.sol Outdated Show resolved Hide resolved
pakim249CAL
pakim249CAL previously approved these changes Aug 22, 2023
Jean-Grimal
Jean-Grimal previously approved these changes Aug 22, 2023
Signed-off-by: MathisGD <[email protected]>
Rubilmax
Rubilmax previously approved these changes Aug 22, 2023
Co-authored-by: makcandrov <[email protected]>
Signed-off-by: MathisGD <[email protected]>
@MathisGD MathisGD requested a review from Rubilmax August 22, 2023 13:14
Comment on lines +87 to +88
/// @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`.
Copy link
Contributor

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)

Copy link
Contributor

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

Comment on lines +87 to +88
/// @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`.
Copy link
Contributor

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

@MerlinEgalite MerlinEgalite merged commit 5a18ce2 into main Aug 22, 2023
4 checks passed
@MerlinEgalite MerlinEgalite deleted the docs/idToMarketParams branch August 22, 2023 15:25
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.

Document idToMarketParams
7 participants