Enable interfaces to support more versions of Solidity #39
scorpion9979
started this conversation in
Ideas
Replies: 1 comment
-
I cannot lower the pragmas in the interfaces, unfortunately. The interfaces contain custom errors, which have been introduced in Solidity v0.8.4. I have considered the idea of moving all errors to a shared a library |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the smart contract interfaces are locked to higher versions of Solidity, which makes it difficult for developers using older versions of Solidity to integrate them.
While I do understand that it's a best-practice for developers to always use the latest version of Solidity, I personally often find myself having to use an older version when integrating with 3rd party smart contract libraries that are locked to older versions.
To improve compatibility and ease of integration, I suggest modifying the Solidity version pragma in interfaces in order to make it much wider than it currently is.
Beta Was this translation helpful? Give feedback.
All reactions