zeppelinos / zos-cli

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

Status command should report proxies requiring an update #313

Open spalladino opened 6 years ago

spalladino commented 6 years ago

Running zos status on a network where a new implementation for a contract was uploaded does not point out if a proxy is using an outdated implementation and should be updated. The output just reads:

Deployed proxies:
- ContractAliasOfProxy at ADDRESS version 0.1.0

If the proxy is using an outdated implementation, point that out in yellow, so the user knows there is a pending upgrade operation.

facuspagnuolo commented 6 years ago

Which do you think should be the source of truth in that case? IMO, given that status only considers your local status currently, I'd say it should deduce it from there too.

We may also want to consider the scenario where a new version has been bumped, but the implementation hasn't changed.