solmate
solmate copied to clipboard
ERC4626: Add test case to verify tracked vault
Description
Any unwanted donation to vault should not be tracked. Add test case to verify the vault withstands the donation attack.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
- [x] Ran
forge snapshot
? - [x] Ran
npm run lint
? - [x] Ran
forge test
?
Pull requests with an incomplete checklist will be thrown out.