OriginProtocol / origin-js

We've moved to a monorepo: https://github.com/OriginProtocol/origin
MIT License
81 stars 33 forks source link

Process never ends when migrating #200

Open wanderingstan opened 6 years ago

wanderingstan commented 6 years ago

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?

wanderingstan commented 6 years ago

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.