You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
npx oz deploy hangs when deploying regular contract to Rinkeby
Deploying Box.sol as a regular contract to Rinkeby hangs. ctrl-c after five minutes to end.
$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment regular
? Pick a network rinkeby
? Pick a contract to deploy Box
0xd2990A11ad5AE856059d89bf982B4a83C0E21942
$ npx oz send-tx
? Pick a network rinkeby
? Pick an instance Box at 0xd2990A11ad5AE856059d89bf982B4a83C0E21942
? Select which function store(newValue: uint256)
? newValue: uint256: 23
✓ Transaction successful. Transaction hash: 0xf19bcee329d8883872d8929e7737783b5c7efd00fd9d61231fd38ae0ee52ca21
Events emitted:
- ValueChanged(23)
Can deploy upgradeable version successfully:
$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment upgradeable
? Pick a network rinkeby
? Pick a contract to deploy Box
All implementations are up to date
? Call a function to initialize the instance after creating it? No
✓ Instance created at 0x2551BB7C13425aCaf9CAA17Ae0EA8caEfdbE734c
0x2551BB7C13425aCaf9CAA17Ae0EA8caEfdbE734c
Can deploy minimal version successfully:
$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment minimal
? Pick a network rinkeby
? Pick a contract to deploy Box
Minimal proxy support is still experimental.
All implementations are up to date
? Call a function to initialize the instance after creating it? No
✓ Instance created at 0xD3b254165746FDf47a17A707d3e8eC7c5F89e7bC
✓ Deployed ProxyFactory at 0x9306995E929a0615D06f7f20687C667115cfbaE3
0xD3b254165746FDf47a17A707d3e8eC7c5F89e7bC
Can deploy regular version to development network:
$ npx oz deploy
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment regular
? Pick a network development
? Pick a contract to deploy Box
0x2612Af3A521c2df9EAF28422Ca335b04AdF3ac66
The text was updated successfully, but these errors were encountered:
This is caused by a missing exit(0) in the new spec command framework, used by deploy, since truffle-hdwallet-provider does not allow the process to exit.
@frangio note that this would have been caught by an integration test using the geth-hdwallet-provider network setting (and yes, I recall I told you 2 days ago that it was not necessary to set up that test!).
npx oz deploy
hangs when deploying regular contract to RinkebyDeploying Box.sol as a regular contract to Rinkeby hangs.
ctrl-c
after five minutes to end.cli:
2.8.0-rc.1
node:
v10.19.0
npm:
6.13.7
Operating System:
Windows 10 - WSL
@truffle/hdwallet-provider:
1.0.31
networks.js
Contract appears to be deployed successfully:
https://rinkeby.etherscan.io/address/0xd2990A11ad5AE856059d89bf982B4a83C0E21942
Can interact with contract:
Can deploy upgradeable version successfully:
Can deploy minimal version successfully:
Can deploy regular version to development network:
The text was updated successfully, but these errors were encountered: