zeppelinos / zos-lib

:warning: Deprecated repo in favour of https://github.com/zeppelinos/zos
https://zeppelinos.org/
62 stars 29 forks source link

Cannot set `ContractName` of undefined #151

Closed PaulRBerg closed 6 years ago

PaulRBerg commented 6 years ago

Expected

Should be able to add the contracts with zos add ContractName.

Behaviour

Get ContractName to work when running the command from above.

Important to note that this happened after, on the same project, I successfully ran both add and create on an upgradable smart contract, but I made sure to clear zos.local.json and the build folder and I re-instantiated ganache.

Tools

• node 9.3.0 • zos 1.0.0 • osx high sierra 10.13.3

Full log output here.

PaulRBerg commented 6 years ago

Sorry, should've posted this just in zos-cli.