zeppelinos / zos-cli

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

Fail with explicit error when creating proxy for missing stdlib #322

Closed spalladino closed 6 years ago

spalladino commented 6 years ago

Creating a proxy for a contract that belongs to an stdlib that was linked, but that link was not pushed to the network, would yield a "VM Revert" error. Now it explains that the stdlib is linked but a push is missing.

Fixes #218

spalladino commented 6 years ago

@facuspagnuolo implemented one of the changes, though I'm not sure about the other. I can give it a shot, but I'm not sure it's worthwhile atm. WDYT?