Open therealharpaljadeja opened 1 week ago
This looks like an installation issue with the npm package @openzeppelin/upgrades-core
or its dependency solidity-ast
.
You can try manually installing that package for your project by running the following command from your project root:
npm install @openzeppelin/upgrades-core@latest
I am using
openzeppelin-foundry-upgrades
, openzeppelin contracts v5 and using the following code snippet in mysetUp()
function in foundry test.foundry.toml
OS: macOS Sonoma
I get the following error when running
forge test
. Compilation works, tests fail.