embark/lib/contracts
emizzle f67a807ac8 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-06-26 13:02:41 +10:00
..
code_templates eliminate nasty outdated test 2018-05-28 13:22:48 -05:00
accountParser.js add tests for getBalance 2018-06-07 13:01:13 -04:00
blockchain.js Updated online/offline event checks so they are run during initialisation. 2018-06-26 13:02:41 +10:00
code_generator.js Add support for infura network hosts with api key. 2018-06-19 15:14:37 +10:00
compiler.js early callback in compiler 2018-05-17 10:02:53 -04:00
contract_deployer.js add triple equals 2018-06-20 14:06:15 -04:00
contracts.js fix tests using new dependencies 2018-06-20 13:56:43 -04:00
deploy_manager.js make groups of dependencyCount to do async by group 2018-06-20 11:15:47 -04:00
fundAccount.js fund accounts in wallet using contracts config 2018-06-07 13:06:09 -04:00
provider.js Updated online/offline event checks so they are run during initialisation. 2018-06-26 13:02:41 +10:00