3172 Commits

Author SHA1 Message Date
Michael Bradley, Jr
7d664db36d embark-ganache-cli -> ganache-cli-embark 2018-08-22 19:03:44 -04:00
Jonathan Rainville
35acfea2be fix ens by using right addres depending on chain and also add isAvailable 2018-08-22 19:03:44 -04:00
Michael Bradley, Jr
1643aa8958 always use Embark's own ganache-cli (embark-ganache-cli) 2018-08-22 19:03:44 -04:00
Andre Medeiros
ba1d43e525 Fix failing test on blockchain 2018-08-22 19:03:44 -04:00
Michael Bradley, Jr
53a41bbe32 program -> program, programName 2018-08-22 19:03:44 -04:00
Michael Bradley, Jr
a3aa39f7bc check for ganache-cli on PATH and fallback to embark-ganache-cli 2018-08-22 19:03:43 -04:00
Michael Bradley, Jr
796202f165 "embark-" prefixed bin entry in package.json for ganache-cli 2018-08-22 19:03:40 -04:00
Andre Medeiros
d451977fe1 Bump Mocha to 5.2.0 2018-08-22 19:03:40 -04:00
Jonathan Rainville
a1826883fb check for receipt address before calling back 2018-08-22 19:03:40 -04:00
Jonathan Rainville
9bc54bf6f3 wip changes 2018-08-22 19:03:36 -04:00
Jonathan Rainville
e7d70c33fd remove use of initConfig 2018-08-22 19:03:36 -04:00
Jonathan Rainville
4ebe7cdeb7 set isDev as default if there is no blockchain file 2018-08-22 19:03:35 -04:00
Iuri Matias
6702d0583e fix extractZip 2018-08-22 19:03:35 -04:00
emizzle
0a979b7fab Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with error.message 2018-08-22 19:03:35 -04:00
Iuri Matias
6f7ba7917a remove unneded line 2018-08-22 19:03:35 -04:00
Iuri Matias
0865d4b2ef fix plugin call 2018-08-22 19:03:34 -04:00
Iuri Matias
eed4412cf4 re-add register upload cmd api; refactor storage module initialization 2018-08-22 19:03:34 -04:00
Iuri Matias
efb3d935a6 fix logger 2018-08-22 19:03:33 -04:00
Iuri Matias
bcd7220f4c check ipfs connection before attempting to connect 2018-08-22 19:03:33 -04:00
Iuri Matias
721f92992a move setProviders to EmbarkJS 2018-08-22 19:03:33 -04:00
Iuri Matias
31c44c5fc4 move setProviders to EmbarkJS 2018-08-22 19:03:33 -04:00
Iuri Matias
39892254f5 move setProviders to EmbarkJS 2018-08-22 19:03:32 -04:00
Iuri Matias
efc6f58424 remove no longer used plugin cmd api 2018-08-22 19:03:29 -04:00
Jonathan Rainville
4db69ee261 fix conflict in test and provider 2018-08-22 19:03:29 -04:00
Jonathan Rainville
3b8e676d85 display gas cost of each test 2018-08-22 19:03:29 -04:00
Jonathan Rainville
ed8d61db69 remove useless change 2018-08-22 19:03:28 -04:00
Jonathan Rainville
2cd0c5518a fix webserver errors 2018-08-22 19:03:28 -04:00
Iuri Matias
5bfd9d2dae use utils extractZip instead of lib directly 2018-08-22 19:03:28 -04:00
Iuri Matias
d9fc76ac46 refactor install template code 2018-08-22 19:03:28 -04:00
Iuri Matias
31c48f5b87 make linter happy 2018-08-22 19:03:28 -04:00
Iuri Matias
5e0cdf661f add support to download a template 2018-08-22 19:03:28 -04:00
Jonathan Rainville
976fedd275 wip working 2018-08-22 19:03:24 -04:00
Jonathan Rainville
effc7f13ee remove provider-engine as it has been creating lots of issues 2018-08-22 19:03:24 -04:00
Jonathan Rainville
ece8248019 wip fixes 2018-08-22 19:03:20 -04:00
Jonathan Rainville
8e56feba39 conflict in provider 2018-08-22 19:03:19 -04:00
Jonathan Rainville
d105b8d1d2 fix when using mining script 2018-08-22 19:03:19 -04:00
Jonathan Rainville
616ccd6220 fix miner 2018-08-22 19:03:19 -04:00
Jonathan Rainville
5378b17441 make it work 2018-08-22 19:03:13 -04:00
Jonathan Rainville
c98aa99f06 change fund account function 2018-08-22 19:03:13 -04:00
Jonathan Rainville
cd1588b31e add geth miner. Needs to change eth and web3 2018-08-22 19:03:13 -04:00
Jonathan Rainville
085611a93d revert caca code 2018-08-22 19:03:13 -04:00
Jonathan Rainville
6b68f3cfae conflict in package json 2018-08-22 19:03:13 -04:00
emizzle
f935cca1ae Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-22 19:03:12 -04:00
VoR0220
73d98b4113 make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:03:03 -04:00
RJ Catalano
2fb62960e6 fix line 2018-08-22 19:03:03 -04:00
VoR0220
5ba7b10061 catch errors and handle gracefully in ENS 2018-08-22 19:03:03 -04:00
emizzle
53c59263b6 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-08-22 19:03:03 -04:00
emizzle
b474b202b9 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-08-22 19:02:48 -04:00
VoR0220
c4c77ee155 ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:50 -04:00
Iuri Matias
3041b52d43 put contracts inside the contracts field 2018-08-22 19:01:50 -04:00