You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon investigation, I discovered that the issue originated from my hardhat.config.js, where I had specified Solidity version 0.8.18, while the OpenZeppelin contracts required version 0.8.20. Updating the Solidity version in my configuration resolved the error.
This addition to the documentation would help prevent similar issues for other users and enhance the overall developer experience.
Thank you for considering this suggestion. I would like to make the update to the documantation.
The text was updated successfully, but these errors were encountered:
After installing
@openzeppelin/contracts
in my Hardhat project, I encountered a VS Code status bar error when importing an OpenZeppelin contract.Error message
Solidity code
Upon investigation, I discovered that the issue originated from my
hardhat.config.js
, where I had specified Solidity version 0.8.18, while the OpenZeppelin contracts required version 0.8.20. Updating the Solidity version in my configuration resolved the error.This addition to the documentation would help prevent similar issues for other users and enhance the overall developer experience.
Thank you for considering this suggestion. I would like to make the update to the documantation.
The text was updated successfully, but these errors were encountered: