OpenZeppelin / openzeppelin-sdk

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

Cannnot deploy contract with --no-interactive at the first time #1538

Open kigawas opened 4 years ago

kigawas commented 4 years ago

To reproduce:

  1. Start a fresh ganache-cli
  2. Romove .session and dev-*.json files
  3. Run oz deploy --no-interactive like below (the version of oz is 2.8.2)
$ oz deploy --no-interactive --network development --kind upgradeable MyContract
Nothing to compile, all contracts are up to date.
Contract MyContract is not deployed to dev-1589451397301.
shiqinfeng1 commented 4 years ago

I also encountered the same problem:

/quorum-maker-scm # npx oz deploy NetworkManagerContract --kind minimal --migrate-manifest --network quorum --no-interactive
Nothing to compile, all contracts are up to date.
Minimal proxy support is still experimental.
Contract NetworkManagerContract is not deployed to dev-82929.