2655 Commits

Author SHA1 Message Date
Jonathan Rainville
d5580dc7ec conflict in lock 2018-09-30 09:54:28 -04:00
Jonathan Rainville
188d6afa19 add resolver contract 2018-09-30 09:54:28 -04:00
Jonathan Rainville
d0e14096c3 very wip working register 2018-09-30 09:54:28 -04:00
Anthony Laibe
f4a2ad7568 Add dedicated writer for string result 2018-09-30 09:54:28 -04:00
Anthony Laibe
4858418efc Use console and override evaluator 2018-09-30 09:54:28 -04:00
Michael Bradley, Jr
e1483c7aaf more conservative: only modify webpack's subclass of ProcessWrapper 2018-09-30 09:53:54 -04:00
Michael Bradley, Jr
b7ba63dd89 env options property doesn't need to be passed to ProcessLauncher 2018-09-30 09:53:54 -04:00
Michael Bradley, Jr
0d57aa7688 simplify ternary re: __mainContext and this 2018-09-30 09:52:34 -04:00
Michael Bradley, Jr
1715338ed6 mainContext -- fallback to this, then self, then undefined 2018-09-30 09:52:34 -04:00
Michael Bradley, Jr
7acf32287d propagate env 2018-09-30 09:47:44 -04:00
Michael Bradley, Jr
fb77870f88 check for self 2018-09-30 09:45:47 -04:00
Anthony Laibe
a7e17cb59a Adding profile command 2018-09-30 09:45:47 -04:00
Anthony Laibe
7b84989af7 Remove code dependencies to underscore 2018-09-30 09:45:47 -04:00
Anthony Laibe
50f02d71c4 Use global in repl 2018-09-30 09:45:19 -04:00
Anthony Laibe
a5f289deee nodashboard start a repl 2018-09-30 09:45:19 -04:00
Anthony Laibe
332b563c96 Add on exit 2018-09-30 09:45:19 -04:00
Anthony Laibe
272b051f32 Replace light monitor by REPL 2018-09-30 09:45:19 -04:00
Anthony Laibe
e8d5ee05cd Adding light monitor 2018-09-30 09:44:39 -04:00
Michael Bradley, Jr
3603ca673c set the host flag for ganache-cli 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
9da1e49e17 rm commented code and extra whitespace 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
86bfddeeed disable dead code path -- ganache will never be falsy 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
762bccef35 dont' need shelljs.which, can directly invoke embark's node_modules/.bin/ganache-cli 2018-09-30 09:36:53 -04:00
Jonathan Rainville
3b9e605d62 fix the indexOf instead by simulating what solc does 2018-09-30 09:36:53 -04:00
Jonathan Rainville
08dcb38c8a fix duplicate dependencies and warn correctly for length 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
e4bac59ab6 include old const ganache = line in original pos wrt disabled code 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
068d2da524 comment out testrpc (no-unused-vars) 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
948f5ce2ec Embark's own ganache-cli will always be found 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
0afdf57ee9 embark-ganache-cli -> ganache-cli-embark 2018-09-30 09:36:53 -04:00
Jonathan Rainville
4980d5bb6d fix ens by using right addres depending on chain and also add isAvailable 2018-09-30 09:36:53 -04:00
Michael Bradley, Jr
0bead723c1 always use Embark's own ganache-cli (embark-ganache-cli) 2018-09-30 09:36:53 -04:00
Iuri Matias
7cb740e922 fix plugin call 2018-09-30 09:29:47 -04:00
Iuri Matias
e2954e8729 re-add register upload cmd api; refactor storage module initialization 2018-09-30 09:29:47 -04:00
Iuri Matias
604bf7abe2 fix logger 2018-09-30 09:29:47 -04:00
Iuri Matias
2ae51b4f82 check ipfs connection before attempting to connect 2018-09-30 09:29:47 -04:00
Iuri Matias
09569db9a1 remove no longer used plugin cmd api 2018-09-30 09:29:47 -04:00
Jonathan Rainville
839393074a fix conflict in test and provider 2018-09-30 09:29:47 -04:00
Jonathan Rainville
239a182404 display gas cost of each test 2018-09-30 09:29:47 -04:00
Jonathan Rainville
8da1fca0bc remove useless change 2018-09-30 09:26:03 -04:00
Jonathan Rainville
8a9810425a remove provider-engine as it has been creating lots of issues 2018-09-30 09:26:03 -04:00
Jonathan Rainville
c2f8175f87 fix miner 2018-09-30 09:24:25 -04:00
Jonathan Rainville
91db1e36c4 make it work 2018-09-30 09:24:25 -04:00
Jonathan Rainville
c3d588f5ba change fund account function 2018-09-30 09:24:25 -04:00
Jonathan Rainville
2affb882f6 add geth miner. Needs to change eth and web3 2018-09-30 09:24:25 -04:00
Jonathan Rainville
32778edd43 revert caca code 2018-09-30 09:24:25 -04:00
VoR0220
42a0fd2ca0 make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-09-30 09:20:12 -04:00
RJ Catalano
05069ffbb3 fix line 2018-09-30 09:20:12 -04:00
VoR0220
0b2ee0c2b5 catch errors and handle gracefully in ENS 2018-09-30 09:20:12 -04:00
emizzle
3d5ce687c1 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-09-30 09:20:12 -04:00
emizzle
5022012a6c 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-30 09:20:12 -04:00
Richard Ramos
9019f6d722 Fix for skip-undeployed is not specified 2018-09-30 09:20:12 -04:00