783 Commits

Author SHA1 Message Date
Richard Ramos
4c37d50d05 JS generation + embark.json configuration update 2018-09-29 20:37:08 -04:00
Richard Ramos
64f5a5f9a5 Addid basic templating to start building UI from here 2018-09-29 20:37:08 -04:00
Richard Ramos
d9026bbfb2 Adding base command logic for scaffolding generation 2018-09-29 20:35:35 -04:00
Anthony Laibe
5ca9892fcd Add IPNS demo 2018-09-29 20:35:35 -04:00
Iuri Matias
50124435d8 move blockchain connection code to its own module 2018-09-29 20:33:25 -04:00
Iuri Matias
72e43f3457 refactor blockchain check 2018-09-29 20:26:57 -04:00
Iuri Matias
f4d3a35887 cleanup 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
7f6c2ba141 blockchain -- 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
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
Jonathan Rainville
2cd126b116 remove useless change 2018-09-29 19:47:39 -04:00
Jonathan Rainville
15ba457f60 wip fixes 2018-09-29 19:46:13 -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
Anthony Laibe
1b4e0c84f7 Add missing config
The configuration for test is not passed via the engine
2018-09-28 13:22:28 +01: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
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
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
Michael Bradley, Jr
cad7843c78 add CORS URL for local ipfs' own server (default: localhost:8080) 2018-09-24 20:51:31 -05:00
Michael Bradley, Jr
999d65bda0 whitespace 2018-09-24 20:50:27 -05:00
Andre Medeiros
099e398bf4 Filter out interfaces from the coverage report 2018-09-23 19:08:06 -04:00
Andre Medeiros
e952bbc41a Fix contract matching 2018-09-23 18:40:51 -04:00
Iuri Matias
9ed08f234d
Merge pull request #895 from embark-framework/bugfix/race-condition-deploy-tracker
Fix race condition on deploy tracker
2018-09-22 10:36:15 -04:00