-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add first wave of morpho base vaults #14
Conversation
wrapper = IERC4626(0x5A32099837D89E3a794a44fb131CBbAD41f87a8C); | ||
// Donor of WETH tokens | ||
underlyingDonor = 0x46a83dC1a264Bff133dB887023d2884167094837; | ||
amountToDonate = 1e1 * 1e18; |
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.
had to lower this amountToDonate
for WETH compared to the examples on mainnet which are 1e5 * 1e18
. Test fails otherwise
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.
It depends on the token donor. I changed the donor (by checking the token holders of the underlying token) and could test it with 1e3. (But 1e1 would do just fine too :) )
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.
LGTM!
Associated with balancer/code-review#229
Morpho Base Vaults
Debug