OpenZeppelin / openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
MIT License
431 stars 200 forks source link

Update CLI warning document references to current version of CLI #1540

Open abcoathup opened 4 years ago

abcoathup commented 4 years ago

The CLI warning document references are for CLI 2.6 rather than the latest version

As an example:

- Contract MyToken or an ancestor has a constructor. Change it to an initializer function. See https://docs.openzeppelin.com/upgrades/2.6//writing-upgradeable#initializers.

Reported in the Community Forum: https://forum.openzeppelin.com/t/create-deploying-upgradable-contract-error/2876/6?u=abcoathup