We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
erc4626-tests/ERC4626.test.sol
Lines 36 to 39 in 8b1d7c2
The tests are assuming the vault starts at 1:1 price. The following would be more general:
uint shares = init.share[i]; uint assets = IERC4626(_vault_).previewMint(shares); try IMockERC20(_underlying_).mint(user, assets) {} catch { vm.assume(false); } _approve(_underlying_, user, _vault_, assets); vm.prank(user); try IERC4626(_vault_).mint(shares, user) {} catch { vm.assume(false); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
erc4626-tests/ERC4626.test.sol
Lines 36 to 39 in 8b1d7c2
The tests are assuming the vault starts at 1:1 price. The following would be more general:
The text was updated successfully, but these errors were encountered: