-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix/18 #298
fix/18 #298
Conversation
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.
I'm not convinced we need to do this just yet. Yes, wrapped native on other chains doesn't require to be a fork of WETH. But:
- Everyone has incentives to do so because the WETH implementation is formally verified and battle-tested
- we can just define "wrapped native" as a fork of WETH on other chains and then our naming is correct, but the code is incompatible with unknown implementations of wrapped native
So IMO it's just a matter of definitions, but not a matter of naming
Indeed it works for polygon at least.
Do you propose an alternative? |
I'm suggesting to acknowledge and precise that what we name "wrapped native" actually targets forks of WETH on other chains! Thus we know that the code doesn't work with any wrapped native, but we think that no other implementation than WETH are worth adapting |
So should I do another PR with just this acknowledgement ? |
Best would be to have a consensus first |
I'm ok with your suggestion @Rubilmax |
Same |
So I don't think it's necessary to have a comment in the code but if you feel like it let's go but the most important is to explain to cantina |
Fixes https://github.com/cantinasec/review-morpho-blue-1/issues/18