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

Error thrown when using push command with HDWalletProvider #23

Closed
jbcarpanelli opened this issue Aug 15, 2018 · 0 comments
Closed

Error thrown when using push command with HDWalletProvider #23

jbcarpanelli opened this issue Aug 15, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@jbcarpanelli
Copy link
Contributor

A new error is being thrown since most recent release when using push command with HDWalletProvider:
Command output (error):

zos push --network infura_ropsten
Compiling contracts
Compiling ./contracts/Campaign.sol...
Compiling zos-lib/contracts/migrations/Migratable.sol...

Compilation warnings encountered:
Writing artifacts to ./build/contracts

Deploying new UpgradeabilityProxyFactory...
Successfully written zos.infura_ropsten.json
Web3ProviderEngine does not support synchronous requests.

truffle config:

...
 infura_ropsten: {
      name: "infura_ropsten",
      provider: function () {
        return new HDWalletProvider(process.env.WALLET_MNEMONIC, `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`)
      },
      ...
    },

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

No branches or pull requests

2 participants