This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Add a reference to contract validations in the Writing upgradeable contracts
docsite section.
#790
Labels
kind:enhancement
Enhancement to an existing feature
As described here https://docs.zeppelinos.org/docs/writing_contracts.html, there are various ways to extend/rewrite/upgrade a contract which will cause a failure which may be noticed only once a contract is deployed. This of course could have serious consequences for contracts that are already deployed and in use.
An example of one of the criteria from the page above:
I would propose that the zos cli and the TestHelper include a contract linter that would look for problems. This linter would also maintain and check necessary information about contract variables and constructor/initializer signatures stored in the zos*.json files. This linter could then prevent catastrophic deployments before they happen.
The text was updated successfully, but these errors were encountered: