embark-area-51/lib/contracts
emizzle bcd5593040 Updated online/offline event checks so they are run during initialisation.
Changed the online event to `once` and set it to be bound every time the node goes offline.

The above changes handle the case where:
1) `embark run` runs and starts geth.
2) geth is killed manually
3) `embark blockchain` is run in separate process to restart geth
4) the `embark run` process detects this change and restarts the web3 provider and recompiles/deploys/builds

Every time `embark blochain` is restarted, an error is appended and all are emitted from the `eth-block-tracker`. This is a bug but can't figure out where it originates. The downside is that if, for example, `embark blockchain` is restarted 4 times, there will be 4 errors emitted from the `eth-block-tracker`. Because of this, errors emitted from `eth-block-tracker` have been reduced to trace to avoid clogging the logs.
2018-08-21 15:08:25 -04:00
..
code_templates detect if there is a connection error and pass it down to the ready function 2018-06-29 18:14:08 -04:00
accountParser.js Housekeeping and removal of none additions 2018-07-18 14:08:32 +02:00
blockchain.js Updated online/offline event checks so they are run during initialisation. 2018-08-21 15:08:25 -04:00
code_generator.js fix metamask check for non dev environment 2018-06-29 18:14:21 -04:00
compiler.js early callback in compiler 2018-05-17 10:02:53 -04:00
contract_deployer.js add triple equals 2018-08-21 15:03:34 -04:00
contracts.js fix tests using new dependencies 2018-08-21 15:03:34 -04:00
deploy_manager.js make groups of dependencyCount to do async by group 2018-08-21 15:03:34 -04:00
fundAccount.js fix lint 2018-07-18 17:53:37 +03:00
provider.js Updated online/offline event checks so they are run during initialisation. 2018-08-21 15:08:25 -04:00