3223 Commits

Author SHA1 Message Date
Andre Medeiros
fe85ece0bf Remove node-http-proxy as we don't use it anywhere 2018-08-22 19:17:04 -04:00
Michael Bradley, Jr
da14ccb7f7 "embark-" prefixed bin entry in package.json for ganache-cli 2018-08-22 19:15:26 -04:00
Andre Medeiros
4794dc986e Bump Mocha to 5.2.0 2018-08-22 19:15:26 -04:00
Jonathan Rainville
31b23ae952 wip changes 2018-08-22 19:15:15 -04:00
Jonathan Rainville
17e6d137b4 remove use of initConfig 2018-08-22 19:15:15 -04:00
Jonathan Rainville
c264f6520b set isDev as default if there is no blockchain file 2018-08-22 19:15:15 -04:00
Iuri Matias
5c7b5f9428 remove unneded line 2018-08-22 19:15:07 -04:00
Iuri Matias
4768274564 fix plugin call 2018-08-22 19:15:07 -04:00
Iuri Matias
6294d8004b re-add register upload cmd api; refactor storage module initialization 2018-08-22 19:15:06 -04:00
Iuri Matias
9d1acb6252 fix logger 2018-08-22 19:15:06 -04:00
Iuri Matias
b903257170 check ipfs connection before attempting to connect 2018-08-22 19:15:05 -04:00
Iuri Matias
97c87edc70 move setProviders to EmbarkJS 2018-08-22 19:14:54 -04:00
Iuri Matias
b7cf50b2ef remove no longer used plugin cmd api 2018-08-22 19:14:54 -04:00
Jonathan Rainville
58c16a66a3 fix conflict in test and provider 2018-08-22 19:14:53 -04:00
Jonathan Rainville
ada4d737ae display gas cost of each test 2018-08-22 19:14:53 -04:00
Jonathan Rainville
c6d8cc80e4 remove useless change 2018-08-22 19:14:52 -04:00
Jonathan Rainville
5252611a3d remove provider-engine as it has been creating lots of issues 2018-08-22 19:14:40 -04:00
Jonathan Rainville
7467494591 wip fixes 2018-08-22 19:14:25 -04:00
Jonathan Rainville
bc3143ce62 fix miner 2018-08-22 19:12:45 -04:00
Jonathan Rainville
cc80c9e62c make it work 2018-08-22 19:12:12 -04:00
Jonathan Rainville
d7ce267f2c change fund account function 2018-08-22 19:12:12 -04:00
Jonathan Rainville
ad6a0dc7bb add geth miner. Needs to change eth and web3 2018-08-22 19:12:12 -04:00
Jonathan Rainville
ef57725123 revert caca code 2018-08-22 19:12:12 -04:00
Jonathan Rainville
97cf4d0e70 conflict in package json 2018-08-22 19:12:11 -04:00
emizzle
22e125bc84 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-22 19:12:11 -04:00
VoR0220
177573527f 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:11:47 -04:00
RJ Catalano
4b1f7071d1 fix line 2018-08-22 19:11:47 -04:00
VoR0220
f8f1907838 catch errors and handle gracefully in ENS 2018-08-22 19:11:47 -04:00
emizzle
3f0f02b9ef 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:11:47 -04:00
emizzle
22a2b50a22 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:11:41 -04:00
Richard Ramos
4129c57622 Fix for skip-undeployed is not specified 2018-08-22 19:10:50 -04:00
VoR0220
271ee3d5fd ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:45 -04:00
Iuri Matias
998ae105f3 put contracts inside the contracts field 2018-08-22 19:10:45 -04:00
VoR0220
8425e9b69b bare bones bulk registration example spec
Signed-off-by: VoR0220 <catalanor0220@gmail.com>

add registrars to system

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:45 -04:00
Jonathan Rainville
cbe9a47662 fix tests using new dependencies 2018-08-22 19:10:45 -04:00
Jonathan Rainville
626ec2c60c make groups of dependencyCount to do async by group 2018-08-22 19:10:45 -04:00
Jonathan Rainville
54c6507665 remove log 2018-08-22 19:10:44 -04:00
Jonathan Rainville
f25453ab12 intercept logs by adding the name only 2018-08-22 19:10:44 -04:00
VoR0220
4a95c1598f callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:44 -04:00
VoR0220
7acf74879b more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:44 -04:00
VoR0220
860a33a718 get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
ad53da1eaa get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
c6469aab28 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
7e41e448fe package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
ee44609961 temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
1f832bac1c starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
4c4a9f4918 package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:23 -04:00
VoR0220
ab1e372283 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:22 -04:00
VoR0220
b979247fce add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:22 -04:00
Iuri Matias
dba9330ec1 fixes due to bad rebase 2018-08-22 18:36:34 -04:00