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
Ran 1 test for test/deployment/Upgrades.t.sol:DeploymentTest
[FAIL. Reason: setup failed: revert: Failed to run upgrade safety validation: /home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:152
const content = solcInput.sources[source].content;
^
TypeError: Cannot read properties of undefined (reading 'content')
at checkNamespaceSolidityVersion (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:152:51)
at validate (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:89:9)
at runValidations (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validations.js:23:41)
at validateBuildInfoContracts (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validations.js:14:29)
at validateUpgradeSafety (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validate-upgrade-safety.js:23:74)
at async main (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/cli/validate.js:30:24)
at async run (/home/XXX/.npm/_npx/fb3494f8bab08a4d/node_modules/@openzeppelin/upgrades-core/dist/cli/cli.js:6:5)
Node.js v21.7.3
] setUp() (gas: 0)
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 4.56s (0.00ns CPU time)
Regarding the content of Upgrades.t.sol, it's a test that imports a deployment Script and performs the Upgrades check to verify that the proxy upgrades are working.
Using
it spits out these errors
while this version
works perfectly fine.
Regarding the content of Upgrades.t.sol, it's a test that imports a deployment Script and performs the Upgrades check to verify that the proxy upgrades are working.
Other information
The text was updated successfully, but these errors were encountered: