2095 Commits

Author SHA1 Message Date
Anthony Laibe
1a173256e7 Add on exit 2018-08-22 19:17:10 -04:00
Anthony Laibe
e958fab994 Replace light monitor by REPL 2018-08-22 19:17:10 -04:00
Anthony Laibe
79af74f816 Adding light monitor 2018-08-22 19:17:10 -04:00
Richard Ramos
0db860659b Removing code. Doesn't make sense to specify keys when everyone can read them 2018-08-22 19:17:09 -04:00
Richard Ramos
a0e4edef6d Symmetric and private keys can be set in whisper 2018-08-22 19:17:09 -04:00
Michael Bradley, Jr
ea287bc6fa set the host flag for ganache-cli 2018-08-22 19:17:09 -04:00
Michael Bradley, Jr
b5d57390fc rm commented code and extra whitespace 2018-08-22 19:17:09 -04:00
Michael Bradley, Jr
0ed16b887b disable dead code path -- ganache will never be falsy 2018-08-22 19:17:09 -04:00
Michael Bradley, Jr
1a951fa529 dont' need shelljs.which, can directly invoke embark's node_modules/.bin/ganache-cli 2018-08-22 19:17:09 -04:00
Jonathan Rainville
03a9edc8b5 fix the indexOf instead by simulating what solc does 2018-08-22 19:17:09 -04:00
Jonathan Rainville
8dff1383c8 fix duplicate dependencies and warn correctly for length 2018-08-22 19:17:09 -04:00
Michael Bradley, Jr
f98772151e include old const ganache = line in original pos wrt disabled code 2018-08-22 19:17:08 -04:00
Michael Bradley, Jr
1741abca76 comment out testrpc (no-unused-vars) 2018-08-22 19:17:08 -04:00
Michael Bradley, Jr
0e2eaa6728 Embark's own ganache-cli will always be found 2018-08-22 19:17:08 -04:00
Michael Bradley, Jr
05f25fb604 embark-ganache-cli -> ganache-cli-embark 2018-08-22 19:17:08 -04:00
Jonathan Rainville
2a6d184d42 fix ens by using right addres depending on chain and also add isAvailable 2018-08-22 19:17:08 -04:00
Michael Bradley, Jr
8c19fea4cf always use Embark's own ganache-cli (embark-ganache-cli) 2018-08-22 19:17:08 -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
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
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
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
ee44609961 temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00