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

Contract undefined not found with npx oz deploy of @openzeppelin/contracts-ethereum-package/StandaloneERC20 #1481

Closed
abcoathup opened this issue Feb 25, 2020 · 1 comment · Fixed by #1486
Assignees
Labels
Milestone

Comments

@abcoathup
Copy link
Contributor

Deploying @openzeppelin/contracts-ethereum-package with OpenZeppelin CLI 2.8 RC2 gives error Contract undefined not found for both a development network and to a public testnet.

Works with OpenZeppelin CLI 2.71 using oz create.

node v10.19.0
npm 6.13.7
oz 2.8.0-rc.2
os: Windows 10 WSL

Setup

$ npx oz init
$ npm i @openzeppelin/cli@rc
$ npx oz link @openzeppelin/contracts-ethereum-package

Deploy (fails)

$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment upgradeable
? Pick a network development
? Pick a contract to deploy @openzeppelin/contracts-ethereum-package/StandaloneERC20
Contract undefined not found
@spalladino spalladino added this to the v2.8 milestone Feb 26, 2020
@frangio
Copy link
Contributor

frangio commented Feb 28, 2020

This seems like an error in oz create in 2.8 RC as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants