2347 Commits

Author SHA1 Message Date
Iuri Matias
50124435d8 move blockchain connection code to its own module 2018-09-29 20:33:25 -04:00
Iuri Matias
0928bb73b7 move accountParser to utils 2018-09-29 20:28:53 -04:00
Iuri Matias
72e43f3457 refactor blockchain check 2018-09-29 20:26:57 -04:00
Iuri Matias
eda188b01e re-add events 2018-09-29 20:26:57 -04:00
Iuri Matias
f4d3a35887 cleanup 2018-09-29 20:26:57 -04:00
Iuri Matias
fd89fe6d93 move process files into processes folder 2018-09-29 20:26:57 -04:00
Iuri Matias
e1975b2243 move blockchain process related files into blockchain module 2018-09-29 20:26:57 -04:00
Iuri Matias
1aa31afced move blockchain process to own module 2018-09-29 20:26:57 -04:00
Iuri Matias
79e515ddb0 first stab at refactor blockchain launcher 2018-09-29 20:25:41 -04:00
Michael Bradley, Jr
c44a6b8e81 proxy -- canonicalHost, defaultHost 2018-09-29 20:11:08 -04:00
Michael Bradley, Jr
7f6c2ba141 blockchain -- defaultHost, dockerHostSwap 2018-09-29 20:11:08 -04:00
Michael Bradley, Jr
5a48596b93 simulator -- defaultHost, dockerHostSwap 2018-09-29 20:11:08 -04:00
Jonathan Rainville
5b5bcf9ddf only enabble register in dev 2018-09-29 20:11:08 -04:00
Jonathan Rainville
21a7f27de0 small cleanups 2018-09-29 20:07:26 -04:00
Jonathan Rainville
1654ae63db pre-dploy using the same function as register 2018-09-29 19:55:15 -04:00
Jonathan Rainville
c89a554fd8 if no register config, dont register anything 2018-09-29 19:55:15 -04:00
Jonathan Rainville
2cdb2ca194 add resolver contract 2018-09-29 19:52:08 -04:00
Anthony Laibe
4ee8b1078c Remove code dependencies to underscore 2018-09-29 19:52:08 -04:00
Michael Bradley, Jr
16e897d5d8 rm commented code and extra whitespace 2018-09-29 19:48:06 -04:00
Jonathan Rainville
23803f3038 fix the indexOf instead by simulating what solc does 2018-09-29 19:48:06 -04:00
Jonathan Rainville
6611e899bb fix duplicate dependencies and warn correctly for length 2018-09-29 19:48:06 -04:00
Michael Bradley, Jr
70a6caf37e Embark's own ganache-cli will always be found 2018-09-29 19:48:06 -04:00
Andre Medeiros
9bc871d957 Fix failing test on blockchain 2018-09-29 19:48:06 -04:00
Jonathan Rainville
2cd126b116 remove useless change 2018-09-29 19:47:39 -04:00
Jonathan Rainville
e8134556da fix webserver errors 2018-09-29 19:47:39 -04:00
Iuri Matias
127140793d refactor install template code 2018-09-29 19:47:39 -04:00
Iuri Matias
a9a7accca9 add support to download a template 2018-09-29 19:47:39 -04:00
Jonathan Rainville
bde03ea646 remove provider-engine as it has been creating lots of issues 2018-09-29 19:47:39 -04:00
Jonathan Rainville
15ba457f60 wip fixes 2018-09-29 19:46:13 -04:00
Jonathan Rainville
7f25c1b2cc fix when using mining script 2018-09-29 19:44:20 -04:00
Jonathan Rainville
c07a2348bf only put isDev when specifically set 2018-09-29 19:44:20 -04:00
Jonathan Rainville
bad3a9e736 revert caca code 2018-09-29 19:44:20 -04:00
Jonathan Rainville
041a129c47 conflict in package json 2018-09-29 19:44:20 -04:00
emizzle
37764a0683 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-09-29 19:42:58 -04:00
emizzle
ffa2c44c96 Handle geth process exit via crash/kill and also via killing embark blockchain
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-09-29 19:42:50 -04:00
Iuri Matias
1aafc132ef
Merge pull request #932 from embark-framework/bugfix/missing-config
Add missing config
2018-09-29 19:28:45 -04:00
Iuri Matias
9a34a66d13
Merge pull request #934 from embark-framework/fix_contracts_json
output contracts json even if the pipeline is empty
2018-09-28 13:44:21 -04:00
Iuri Matias
a41bdf1b4a output contracts json even if the pipeline is empty 2018-09-28 13:22:03 -04:00
Anthony Laibe
1b4e0c84f7 Add missing config
The configuration for test is not passed via the engine
2018-09-28 13:22:28 +01:00
Iuri Matias
62f2a2c421
Merge pull request #928 from embark-framework/bug_fix/next-steps-too-soon
display "Next steps" after npm install has finished
2018-09-27 18:48:51 -04:00
Michael Bradley, Jr
c2d1b03584 don't log "Next steps" messages until npm install has finished 2018-09-27 17:08:30 -05:00
Michael Bradley, Jr
d578ad9046 exit w/ error code if npm install fails 2018-09-27 17:08:30 -05:00
Michael Bradley, Jr
6cecf635af consistent use of utils.errorMessage 2018-09-27 17:08:30 -05:00
Michael Bradley, Jr
ea6a63f754 Boolean() -> !! 2018-09-27 16:57:02 -05:00
emizzle
ce44e286c2 Handle case when socket not opened
If the socket is not already opened, listen for ‘open’ event before sending the `outputDone` data.
2018-09-27 17:06:51 -04:00
Anthony Laibe
734638a8a3 Fix websocket not open
Make sure the connection is open before
sending the event
2018-09-27 17:06:51 -04:00
Iuri Matias
b1b02f7518 restore ws functionality to webserver 2018-09-27 17:06:51 -04:00
StevenJNPearce
528f3f1857 Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-09-27 17:05:17 -04:00
Iuri Matias
69894d2e06
Merge pull request #916 from embark-framework/infura_fix
Infura fix
2018-09-26 19:04:26 -04:00
Iuri Matias
05962a288d lint is mother; lint is father 2018-09-26 18:57:55 -04:00