1955 Commits

Author SHA1 Message Date
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
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
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
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
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
Iuri Matias
9d72030cff remove empty liens 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
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
Jonathan Rainville
6589101deb fix sed issue in windows 2018-08-21 16:11:07 -04:00
Anthony Laibe
95c23f64b3 Update name 2018-08-21 16:11:06 -04:00
Jonathan Rainville
2fe1b05492 use embarkJS secureSend 2018-08-21 16:11:06 -04:00
Jonathan Rainville
c211430fbd use secureSend for deploy 2018-08-21 16:11:06 -04:00
Jonathan Rainville
d6b814dc3e add secureSend to get estimate gas and interval the transactions 2018-08-21 16:11:06 -04:00
Jonathan Rainville
083c936351 create separate function for secure send 2018-08-21 16:10:22 -04:00
Anthony Laibe
a7b0cea09b Console via IPC do not run on deploy 2018-08-21 16:10:22 -04:00
Anthony Laibe
a59cc29d39 IPC works with errors, console print errors 2018-08-21 16:10:22 -04:00
Anthony Laibe
dd8658a59a Reload config when a file is added/removed 2018-08-21 16:10:22 -04:00
Iuri Matias
f90132af1e remove line causing crash 2018-08-21 16:10:22 -04:00
Iuri Matias
6cf6bcfff5 add spanish locale 2018-08-21 16:10:22 -04:00
Jonathan Rainville
8f3a42b926 catch $accounts in contract config 2018-08-21 16:09:49 -04:00
Jonathan Rainville
0b171401c6 log vyper errors 2018-08-21 16:09:49 -04:00
Anthony Laibe
926ed7c258 Fix transaction logger 2018-08-21 16:09:49 -04:00