3185 Commits

Author SHA1 Message Date
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
VoR0220
d0b0456166 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:01:50 -04:00
Jonathan Rainville
32287c142d fix tests using new dependencies 2018-08-22 19:01:50 -04:00
Jonathan Rainville
2dd48ede77 make groups of dependencyCount to do async by group 2018-08-22 19:01:50 -04:00
Jonathan Rainville
fe63bd4515 remove log 2018-08-22 19:01:50 -04:00
Jonathan Rainville
6ea5d2a963 intercept logs by adding the name only 2018-08-22 19:01:49 -04:00
VoR0220
f738ece0f4 callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
d4fe3acffd more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
786260080b get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
bd5e9f0f71 get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
f6b8e70d66 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
2c3a142824 package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
a59f49243c temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
e3e9d2c962 starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
c872c36de8 package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
VoR0220
03f457f6e8 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
VoR0220
b8a9037224 add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
Iuri Matias
b4e118c85b update tests 2018-08-21 16:23:01 -04:00
Iuri Matias
8b97b4efb1 move back dev_funds file 2018-08-21 16:17:02 -04:00
Iuri Matias
792e7dff5b lint is king 2018-08-21 16:12:57 -04:00
Anthony Laibe
aa9717b62f [CHORES] Move name config to development 2018-08-21 16:11:07 -04:00
Iuri Matias
9d72030cff remove empty liens 2018-08-21 16:11:07 -04:00
Iuri Matias
5f6db0062d update tests 2018-08-21 16:11:07 -04:00
Iuri Matias
acc154bde6 update templates 2018-08-21 16:11:07 -04:00
Iuri Matias
86a715abf7 update tests 2018-08-21 16:11:07 -04:00
Iuri Matias
a55ff613bf fix config 2018-08-21 16:11:07 -04:00
Anthony Laibe
cc7dfbcc60 Remove ENS warning 2018-08-21 16:11:07 -04:00
Iuri Matias
6ae697f36a add solc options 2018-08-21 16:11:07 -04:00
hodlbank
cc39931852 [m] Simplified networkId check for simulator. 2018-08-21 16:11:07 -04:00
Jonathan Rainville
824a234d76 enable register in privatenet and patch weird errors 2018-08-21 16:11:07 -04:00
Anthony Laibe
ecf7bfad76 Do not exit 2018-08-21 16:11:07 -04:00
Anthony Laibe
b3ed3d0379 Do not hang if process crash 2018-08-21 16:11:07 -04:00
hodlbank
b9cd0cf74e [m] Setting up network id for simulator from blockchainConfig or options. 2018-08-21 16:11:07 -04:00
hodlbank
a834ca71de [m] Updated ganache-cli from broken 6.1.0 to 6.1.6 in order to fix simulatorBlocktime blockchain option. 2018-08-21 16:11:07 -04:00
Iuri Matias
407f78249b put common options in default 2018-08-21 16:11:07 -04:00
Jonathan Rainville
61d63e2f65 conflict in register 2018-08-21 16:11:07 -04:00
Jonathan Rainville
d4abed24eb linting 2018-08-21 16:11:07 -04:00
Jonathan Rainville
5f3dd25e06 disable preregister in privatenet and fix conditions 2018-08-21 16:11:07 -04:00