morpho-org / morpho-token-upgradeable

Other
7 stars 8 forks source link

fix: errors #4

Closed Jean-Grimal closed 1 month ago

Jean-Grimal commented 1 month ago

Require can only take strings as inputs, not custom errors

The other solution (if we want to keep custom errors) is to replace require by if + revert

Jean-Grimal commented 1 month ago

I'm not sure https://soliditylang.org/blog/2024/05/21/solidity-0.8.26-release-announcement/

Indeed, but we should change the solidity version to 0.8.26 then

MerlinEgalite commented 1 month ago

I'm not sure https://soliditylang.org/blog/2024/05/21/solidity-0.8.26-release-announcement/

Indeed, but we should change the solidity version to 0.8.26 then

Yes I think we will