Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Deploying kind minimal shows message: To upgrade this instance run 'oz upgrade' #1543

Open
abcoathup opened this issue May 22, 2020 · 2 comments
Labels
topic:cli Related to OpenZeppelin CLI

Comments

@abcoathup
Copy link
Contributor

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
@frangio frangio added the topic:cli Related to OpenZeppelin CLI label May 26, 2020
@shiqinfeng1
Copy link

hi,there,
I want to know what is the difference between minimal and upgradeable.

@abcoathup
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic:cli Related to OpenZeppelin CLI
Projects
None yet
Development

No branches or pull requests

3 participants