Solidity Version Errors #59
-
Hi, I'm trying to initialize the Damn Vulnerable DeFi project using I get an error noting that some of the test files are solidity version For example, I checked to see if I could import an earlier version of Ownable but it seems the file started out with version What is the right way to fix this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @jacksanford1, would you mind running |
Beta Was this translation helpful? Give feedback.
Thank you 🙏 I was indeed using an old forge version:
forge 0.2.0 (a0db055 2022-04-03T00:03:53.441110+00:00)
And didn't notice I was running into this error when trying to update Foundry.
Using the latest forge version allows it to compile successfully 👍