Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truffle-local.js network config blocks Truffle #4

Closed
joaosantos15 opened this issue Jul 30, 2018 · 1 comment
Closed

truffle-local.js network config blocks Truffle #4

joaosantos15 opened this issue Jul 30, 2018 · 1 comment

Comments

@joaosantos15
Copy link

I was following the deployment-guide and noticed that when using HDWalletProvider and Infura as a provider, often Truffle commands don't return.
e.g.

ubuntu@local:~/apollo/big-token$ npm run truffle networks

> [email protected] truffle /home/ubuntu/apollo/big-token
> truffle "networks"


Network: kovan (id: 42)
  No contracts deployed.

Network: rinkeby (id: 4)
  AddressRegistry: 0xe9...
  BigToken: 0x4f7...
  Migrations: 0xf...

^C
#... stays there forever

This issue was raised here and a fix is to wrap the provider in a function, when using HDWalletProvider.

joaosantos15 added a commit to helena-network/lil-box that referenced this issue Jul 30, 2018
The bug was reported in [here](gnosis#4) and the fix suggested [here](trufflesuite/truffle-migrate#14).
@joaosantos15
Copy link
Author

joaosantos15 commented Jul 30, 2018

I opened a PR with a fix to the docs. #5

@cag cag closed this as completed Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants