Replace assert with require or custom error #24
Labels
📃 contracts
Anything related to the DFMM contracts (or strategies)
🧹 improvement
Code improvements or cleanup
Milestone
DFMM/src/ConstantSum/ConstantSum.sol
Line 112 in e64e222
Assertions don't provide the best feedback for errors since they use generic messages that can be triggered in other scenarios - we should use a require statement or custom error with a unique message/error for this case.
The text was updated successfully, but these errors were encountered: