solmate icon indicating copy to clipboard operation
solmate copied to clipboard

⚡️ chore: convert require to custom errors

Open dawksh opened this issue 3 years ago • 1 comments

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.

dawksh avatar Oct 28 '22 05:10 dawksh

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.

mihaic195 avatar Dec 02 '22 14:12 mihaic195