solmate
solmate copied to clipboard
⚡️ chore: convert require to custom errors
Description
Describe the changes made in your pull request here.
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.
Pragma version of solidity needs to be at least 0.8.4 for custom errors to work: https://blog.soliditylang.org/2021/04/21/custom-errors/
In your code, solidity version is set to >=0.8.0.