2329 Commits

Author SHA1 Message Date
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
Iuri Matias
44dad44ef4 increase estimated gas slightly & randomly 2018-09-26 18:45:06 -04:00
Iuri Matias
2374cb1641 limit deployment to 1 for now 2018-09-26 18:44:36 -04:00
Andre Medeiros
c81deb9a2d Don't log that we don't know how to handle node 2018-09-26 18:36:56 -04:00
Iuri Matias
3ae5157e47 Revert "Delay contract deploiement if share bytecode"
This reverts commit 527dbcca8b4bcdcb196ff7d6dbfcbc3cb40420ba.
2018-09-26 17:39:11 -04:00
Iuri Matias
8d13cd8e9d
Merge pull request #905 from embark-framework/bugfix/infura-simultaneous-tx
Bugfix/infura simultaneous tx
2018-09-26 14:21:30 -04:00
Andre Medeiros
767687b297 Simplify concat 2018-09-26 11:47:02 -04:00
Andre Medeiros
b1f9097824 Update function complexity 2018-09-26 11:23:52 -04:00
Andre Medeiros
fa8f4b4e41 Support if statements without a list of statements 2018-09-26 11:13:14 -04:00
Iuri Matias
0848d81b3e
Merge pull request #906 from embark-framework/bugfix/ens-require-default-account
Warning if no default account for ens
2018-09-26 09:28:41 -04:00
Iuri Matias
06c0171c39
Merge pull request #908 from embark-framework/bugfix/warn-about-ethereum-node-going-away
Warn about Ethereum node going away
2018-09-26 09:25:35 -04:00
Iuri Matias
b4dc48dc32
Merge pull request #904 from embark-framework/bug_fix/ipfs-own-cors
add CORS URL for local ipfs' own server
2018-09-26 08:58:07 -04:00
Iuri Matias
c06f39d53e
Merge pull request #899 from embark-framework/bugfix/filter-interface-contracts-from-coverage
Filter out interfaces from the coverage report
2018-09-26 08:53:12 -04:00
Andre Medeiros
ad2eb9ad9f Warn, don't trace 2018-09-25 12:41:22 -04:00
Anthony Laibe
23d6b07467 Warning if no default account for ens 2018-09-25 15:30:46 +01:00
Michael Bradley, Jr
36eabda506 rev error handling so error msg from hosted-git-info would be logged 2018-09-25 09:20:59 -05:00
Anthony Laibe
b8d3f3cd11 Fix warning 2018-09-25 14:59:08 +01:00
Anthony Laibe
527dbcca8b Delay contract deploiement if share bytecode 2018-09-25 14:58:19 +01:00
Michael Bradley, Jr
16246b1d43 rm unneeded param/arg 2018-09-24 21:07:02 -05:00