openzeppelin-sdk
openzeppelin-sdk copied to clipboard
Deploying kind minimal shows message: `To upgrade this instance run 'oz upgrade'`
Deploying kind minimal shows message: To upgrade this instance run 'oz upgrade'
when a minimal proxy is not upgradeable.
Example minimal proxy deployment:
$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment minimal
? Pick a network development
? Pick a contract to deploy @openzeppelin/contracts-ethereum-package/ERC20PresetMinte
rPauserUpgradeSafe
Minimal proxy support is still experimental.
✓ Deploying @openzeppelin/contracts-ethereum-package dependency to network dev-1589968356945
All implementations are up to date
? Call a function to initialize the instance after creating it? Yes
? Select which function initialize(name: string, symbol: string)
? name: string: MyToken
? symbol: string: MYT
✓ Instance created at 0x067805E69e62E8bE56e8D13f4EBf53372D3dD02e
✓ Deployed ProxyFactory at 0x6eD79Aa1c71FD7BdBC515EfdA3Bd4e26394435cC
To upgrade this instance run 'oz upgrade'
0x067805E69e62E8bE56e8D13f4EBf53372D3dD02e
hi,there, I want to know what is the difference between minimal and upgradeable.
Hi @shiqinfeng1,
I have posted this question with an answer in the Community Forum: https://forum.openzeppelin.com/t/what-is-the-difference-between-minimal-and-upgradeable-proxies/2964/2?u=abcoathup
If you have further questions we can continue the discussion in the Community Forum. Please ask all the questions that you need.