origin-js
origin-js copied to clipboard
Process never ends when migrating
Right now when we do a migration, e.g. with
npx truffle migrate --network rinkeby
it does do the migration, but the process never actually stops and goes back to bash. Instead, after the final Saving artifacts... message it just hangs.
Not sure if that's a problem with our migration steps or what.
It's annoying, and means we can't automate this process with a script.
The hacky way to fix it would be, I guess, to make a migration script named 999_exit.js which just does a process.exit() . Feels dirty, but better than nothing?
This might be fixed with latest version of truffle: https://github.com/trufflesuite/truffle/releases/tag/v4.1.10
Fix for a bug that was causing Truffle to hang or error as commands exit when connected to Infura, especially when using the newest release of truffle-hdwallet-provider. Thanks @roderik for helping debug this.