[Dev Tools] Using hardhat-zksync-upgradable with Solidity 0.8.18 #729
-
Team or ProjectNo response EnvironmentTestnet Select the Dev Tool you are usingHardhat Plugins Provide the version of the tool (if applicable)No response Provide a brief description of the functionality you're trying to implement and the issue you are running into.I'm running into compilation issue with @openzeppelin/contracts-hardhat-zksync-upgradable. It seems it is incompatible with my Solidity version (0.8.18). (See screenshot 1)My questions are:
Screenshot 1Screenshot 2Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Answers to Your Questions
Suggested Steps
If you need further assistance or clarification, feel free to ask! Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Hey @cytadela8 👋 You should make use of the The issue you are experiencing is that the pragma in your contract is not aligned with the latest version. Please provide the contract that is 0.8.18. It should have a |
Beta Was this translation helpful? Give feedback.
-
To answer your question directly the |
Beta Was this translation helpful? Give feedback.
Hey @cytadela8 👋
You should make use of the
hardhat-zksync
hardhat plugin which out of the box is shipped withhardhat-zksync-upgradable
. No need to worry about version and its compatible with 0.8.18 without issue.The issue you are experiencing is that the pragma in your contract is not aligned with the latest version. Please provide the contract that is 0.8.18. It should have a
^
.